summaryrefslogtreecommitdiff
path: root/hw/xfree86/exa/examodule.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Fix UTF-8 encodingMatěj Cepl1-1/+1
Report to find out all non-UTF-8 files created by cat extensions |xargs -I XXXX find . -name \*.XXXX |while read FILE ; do if ( iconv -f utf8 -t ucs2 $FILE >/dev/null 2>/dev/null ) ; then /bin/true else echo $FILE fi done >>report Signed-off-by: Matěj Cepl <mcepl@redhat.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> [Daniel: git am failed for me, so I redid it. The method listed in the commit message also failed, so I just used file/grep/iconv. The results are the same though.] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-05Change the devPrivates API to require dixRegisterPrivateKeyKeith Packard1-2/+5
This patch only changes the API, not the implementation of the devPrivates infrastructure. This will permit a new devPrivates implementation to be layed into the server without requiring simultaneous changes in every devPrivates user. Signed-off-by: Keith Packard <keithp@keithp.com> Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-05-13Replace X-allocation functions with their C89 counterpartsMikhail Gusarov1-3/+3
The only remaining X-functions used in server are XNF*, the rest is converted to plain alloc/calloc/realloc/free/strdup. X* functions are still exported from server and x* macros are still defined in header file, so both ABI and API are not affected by this change. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-12-28EXA: Allow optimized migration to be enabled with mixed pixmaps.Michel Dänzer1-18/+19
This was always the intention, I only recently realized it wasn't the case yet... Signed-off-by: Michel Dänzer <daenzer@vmware.com> Acked-by: Maarten Maathuis <madman2003@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
2008-08-28Prepare for array-index based devPrivates.Tomas Carnecky1-1/+2
TODO: static indices can be made just an int; some indices can be combined.
2008-07-04Remove unused function and variables.Tiago Vignatti1-7/+0
2008-05-24EXA: Only record damage generated by rendering operations.Michel Dänzer1-1/+1
Recording damage from other operations (e.g. creating a client damage record) may confuse the migration code resulting in corruption. Option "EXAOptimizeMigration" appears safe now, so enable it by default. Also remove it from the manpage, as it should only be necessary on request in the course of bug report diagnostics anymore.
2008-03-22exa: use xf86ReturnOptValBool instead of xf86IsOptionSetJulien Cristau1-6/+7
The latter doesn't give you the option's value, it just tells you if it's present in the configuration. So using Option "EXANoComposite" "false" disabled composite acceleration.
2008-02-14Friends don't let friends call xf86AddModuleInfo.Adam Jackson1-25/+1
That code only existed to leak memory. It can go now, thanks.
2007-11-14Merge branch 'master' into XACE-SELINUXEamon Walsh1-0/+8
Conflicts: Xext/xace.c Xext/xace.h
2007-11-07EXA: Disable problematic optimization of dest pixmap migration by default.Michel Dänzer1-0/+8
Also add some code comments about these optimizations.
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh1-12/+6
over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates.
2006-06-18Add options to disable EXA acceleration for Composite/UTS/DFS, and always printEric Anholt1-2/+33
out how much memory EXA is managing for offscreen pixmaps.
2006-06-05Ensure all *ModuleData symbols are marked _X_EXPORT. Start removingAdam Jackson1-5/+2
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO ifdefs surrounding a call to a function added in XFree86 4.1 (!). Miscellaneous static markings.
2006-04-18Missed in previous commit: Add a new migration scheme, called "Smart" forEric Anholt1-0/+2
lack of a better name. This one behaves somewhat between Greedy and Always. It moves in if we can accelerate, unless the destination is clean and shouldn't be kept in framebuffer according to the score, in which case we migrate out (and force-migrate anything where migration is free). This should help fix lack of acceleration for drivers without UTS since removing exaAsyncPixmapGCOps, and has removed one performance trap with Radeon I'd noticed. It is the new default.
2006-03-15Add a new migration scheme, "always", which will move pixmaps to theirEric Anholt1-5/+38
desired location always (unless they don't fit in FB, in which case they all get moved out for software rendering). The default remains as before, but can be controlled by the MigrationHeuristic xorg.conf option (which is intentionally not documented, as it may be short-lived). This is part of the exa-damagetrack work, which appears stable in testing with fakexa, unlike the work as a whole.
2006-03-09Rearrange EXA driver structures so that there's a hope of maintaining ABIEric Anholt1-1/+1
when extending the driver interface. The card and accel structures are merged into the ExaDriverRec, which is to be allocated using exaDriverAlloc(). The driver structure also grows exa_major and exa_minor, which drivers fill in and have checked by EXA (double-checking that the driver really did check that the EXA version was correct). Removes exaInitCard(), which is replaced by the driver filling in the rec by hand, and the exaGetVersion() and related EXA_*VERSION which are replaced by always using the XFree86 loadable module versioning.
2006-02-16Move EXA implementation up to the top level and remove its XFree86Eric Anholt1-0/+161
dependencies. It was nearly abstract enough already to be used by multiple DDXes. This will be useful for EXA development through providing a fake acceleration implementation within Xephyr, so that testing can be done on new EXA code without worrying about buggy drivers.