Eric Anholt
074dc9a023
Add an option to verify at the point of migration that pixmaps which aren't
...
marked dirty are in fact not dirty. This will hopefully help catch
issues like the previous commit. Leave it on in fakexa.
2006-04-25 16:47:23 +00:00
Eric Anholt
702d9226d5
Don't forget to mark the drawable as dirty in exaPutImage(). Fixes
...
corruption with drivers that have UTS. (Michel Dänzer)
2006-04-25 15:46:04 +00:00
Donnie Berkholz
39ca0867c7
Remove another reference to cfb16.
2006-04-24 05:44:06 +00:00
Donnie Berkholz
81f3c2937d
strlcpy() doesn't exist on Linux, so use the implementation in os/.
2006-04-24 05:39:47 +00:00
Matthieu Herrb
a715634d23
Don't access free memory after unloading a module. Bugzilla #4168 .
2006-04-23 13:14:50 +00:00
Benjamin Herrenschmidt
79dc689261
When reading the kernel keyboard mapping (readKernelMapping in
...
os-support/linux/lnx_KbdMap.c) we overrun the usefully-named global
array 'map', scribbling on other random static variables elsewhere.
This is fixed by changing the size of at2lnx. (David Woodhouse). Bug
#5169
2006-04-22 03:22:17 +00:00
Keith Packard
b37c515320
Add support for x4a4 format (depth 4 at 8bpp). Bug #6325 .
2006-04-19 21:56:13 +00:00
Eric Anholt
b17a4de83e
Add a new migration scheme, called "Smart" for 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-04-18 19:14:07 +00:00
Eric Anholt
771b366abe
Fix exaGetPixmapFirstPixel to migrate as unaccelerated. Also adds a bit of
...
fallback debugging info to PolyGlyphBlt.
2006-04-18 18:50:35 +00:00
Donnie Berkholz
782d61a031
Update all prefixes in config tools, so they mostly work again. Also, make
...
RgbPath commented out when using xorgconfig. Start using
/dev/input/mice as the default mouse location on Linux.
2006-04-18 17:28:44 +00:00
Donnie Berkholz
0f065059dc
Wrap a couple more SDK headers in if XORG, as per Dave Airlie's commit on
...
2006-01-18.
2006-04-17 07:27:43 +00:00
Donnie Berkholz
ba632f697a
Fix kdrive build by linking in libexa before KDRIVE_LIBS.
2006-04-17 07:10:31 +00:00
Adam Jackson
0e62d92d5b
Coverity #804 : Another leak on OOM path.
2006-04-14 23:43:32 +00:00
Adam Jackson
d61219aaad
Coverity #806 : Another memory leak on OOM path.
2006-04-14 23:38:11 +00:00
Adam Jackson
1b04e31392
Coverity #847 , #848 , #849 : Three more memory leaks.
2006-04-14 23:32:22 +00:00
Adam Jackson
6545051902
Coverity #1003 , #1004 : Two more useless null checks.
2006-04-14 23:10:59 +00:00
Adam Jackson
ab1d420022
Coverity #1005 : Avoid a null deref.
2006-04-14 23:09:38 +00:00
Adam Jackson
d01e0956a8
Coverity #1007 : Fix a silly null check.
2006-04-14 23:08:10 +00:00
Luc Verhaegen
6d29f65931
CVT means Coordinated Video Timing instead of Common.
2006-04-14 23:01:35 +00:00
Adam Jackson
82b6ea1a4b
Bug #6580 : Don't install xf86drm.h, that's libdrm's job.
2006-04-14 22:51:19 +00:00
Daniel Stone
c9f6e60d42
Coverity #826 : Fix potential memory leak.
2006-04-10 08:50:33 +00:00
Daniel Stone
1357af2474
Coverity #340 : Fix potential NULL dereference. Clean up proliferation of
...
'register int n' in loops of ProcXkbGetNames.
2006-04-09 17:39:10 +00:00
Daniel Stone
f324be00c5
Coverity #324 : Fix potential NULL dereference. (Alan Coopersmith)
2006-04-09 17:28:42 +00:00
Daniel Stone
7637aa17f2
Coverity #169 : Fix potential fgets() into NULL (?!?).
2006-04-09 17:26:17 +00:00
Daniel Stone
d5bc41b882
Coverity #323 , #445 , #446 , #447 : Fix potential NULL dereferences.
2006-04-09 17:15:51 +00:00
Aaron Plattner
2387bfa5ff
Bump the ABI versions. Due to Glyph privates and the XV update below, the
...
video driver ABI needs to be bumped to 1.0. The rest of the ABI minor
versions were bumped to include the LoaderGetABIVersion function.
Add a DrawblePtr argument to the XV hooks. This allows drivers to determine
that the target window is redirected and draw to the appropriate place.
2006-04-07 18:56:04 +00:00
Søren Sandmann Pedersen
dc43909219
Fri Apr 7 13:46:45 2006 Søren Sandmann <sandmann@redhat.com>
...
Use FreeResource instead of deleteCompOverlayClient()
2006-04-07 17:49:32 +00:00
Adam Jackson
94e7213d59
Remove libc wrapper types from Xisb interfaces.
2006-04-07 16:08:50 +00:00
Daniel Stone
47bdc9528c
Coverity #844 , #845 , #846 : Fix memory leaks.
2006-04-07 16:07:50 +00:00
Daniel Stone
2c90c3bfef
Coverity #987 : Avoid potential NULL dereference.
2006-04-07 15:57:17 +00:00
Daniel Stone
843146cfba
Coverity #1216 : Fix double-close of file on error.
2006-04-07 15:53:21 +00:00
Keith Packard
5dacc82232
Coverity #333 , #334 - eliminate unncessary test for always true condition
...
in fbEvenStipple.
2006-04-07 02:20:11 +00:00
Adam Jackson
75a9afdbf4
Coverity #488 : Avoid smashing an array on malformed config files.
2006-04-07 01:53:43 +00:00
Adam Jackson
20c1ef2cc3
Coverity #769 : Fix a potential memory leak for systems that allocate on
...
malloc(0)
2006-04-07 01:50:07 +00:00
Adam Jackson
5ef711032b
Coverity #838 : Plug two more memory leaks.
2006-04-07 01:41:00 +00:00
Adam Jackson
69477ea4b6
Coverity #837 : Fix another another memory leak.
2006-04-07 01:37:11 +00:00
Adam Jackson
b472ce7307
Coverity #836 : Fix another memory leak.
2006-04-07 01:35:43 +00:00
Adam Jackson
9c84ed5f8d
Coverity #835 : Plug memory leak in extension section parsing.
2006-04-07 01:34:29 +00:00
Adam Jackson
12924d0da3
Coverity #812 : Fix parser memory leak.
2006-04-07 01:29:39 +00:00
Adam Jackson
49abff7995
Coverity #818 : Avoid memory leak on error path.
2006-04-07 01:26:33 +00:00
Adam Jackson
bda292120f
Coverity #985 : Avoid segfault on malloc failure.
2006-04-07 01:23:50 +00:00
Adam Jackson
536628bb4b
Coverity #1037 : Sanity check idx before use.
2006-04-07 01:18:01 +00:00
Adam Jackson
4ae1263669
Remove cfb16, no longer used.
2006-04-06 18:59:11 +00:00
Fredrik Höglund
e1fc15a85f
Put the screensaver extension back in the Xext module.
...
Move the screenSaverSuspended variable to DIX globals.
Restore the old link order for the Xorg and Xdmx binaries.
2006-04-05 21:08:45 +00:00
Ian Romanick
383c2e1e9e
Include fbmmx.h in fb/fbwindow.c when USE_MMX is defined. Fixes build
...
problem on x86-64 resulting from fbHaveMMX being a macro instead of a
function on that platform.
2006-04-05 19:52:12 +00:00
Adam Jackson
83ea57bcc8
Bug #5729 : Convert xf8_16bpp to fb. chips(4) users please test.
2006-04-04 14:39:06 +00:00
Adam Jackson
4c7da86118
Bug #5300 : Fix missing spaces in the Build OS line in the log. (Egmont
...
Koblinger)
2006-04-04 14:17:04 +00:00
Adam Jackson
fb6f61b50f
Bug #4806 : Dump the raw EDID contents in hex to the log file for better
...
debugging. (Philip Prindeville)
2006-04-04 12:36:16 +00:00
Adam Jackson
14af50371c
Bug #2142 : Make font path logging more readable. (Eduard Fuchs)
2006-04-03 22:00:06 +00:00
Adam Jackson
373f9f9256
Bug #4766 : Convert all Xprint drivers to fb.
2006-04-03 21:45:54 +00:00
Adam Jackson
d9b8bfbfaf
Bug #5478 : More use of fbSOlidFillmmx. (Jim Huang)
2006-04-03 21:16:30 +00:00
Adam Jackson
b0e6778265
Bug #6346 : Build fix when using gcc -mno-sse. (Jonathan Adamczewski)
2006-04-03 19:50:15 +00:00
Daniel Stone
66500819b1
Bug #1358 : Make ISO_Prev_Group cycle/wrap as ISO_Next_Group does.
2006-04-03 11:37:30 +00:00
Adam Jackson
f6ca2b3ea9
Coverity #38 : Dead branch elimination.
2006-04-03 02:15:55 +00:00
Adam Jackson
9b9dd747d8
Coverity #75 : Dead variable elimination.
2006-04-03 02:13:47 +00:00
Adam Jackson
3f87aeefb4
Coverity #82 : Dead variable elimination.
2006-04-03 02:12:11 +00:00
Adam Jackson
61926dbe59
Coverity #271 : Fix an unbelievably boneheaded NULL chase.
2006-04-03 02:09:05 +00:00
Adam Jackson
7ef95da8a3
Coverity #616 : Fix a rare memory leak.
2006-04-03 01:51:54 +00:00
Adam Jackson
01ebd63301
Coverity #833 : Fix a rather nasty memory leak.
2006-04-03 01:43:33 +00:00
Adam Jackson
a01f17d6de
Coverity #983 : Move some risky debugging code inside #ifdef DEBUG.
2006-04-03 01:35:05 +00:00
Adam Jackson
c03cfca380
Coverity #986 : Prevent a NULL chase.
2006-04-03 01:31:59 +00:00
Adam Jackson
07ecf49521
Coverity #992 : Prevent a NULL chase.
2006-04-03 01:28:11 +00:00
Adam Jackson
c6b3b3354c
Bump to 1.1.99.1.
2006-04-02 22:51:42 +00:00
Kristian Høgsberg
7e085f52b6
Use xf86LoaderCheckSymbol to check for DRI symbols instead of dlsym,
...
avoiding RTLD_DEFAULT. (__glXDRIscreenProbe): Change GLX-DRI to AIGLX
in LogMessage for consitency.
2006-04-02 22:31:13 +00:00
Adam Jackson
b2097b99a2
../stub
2006-04-02 21:45:03 +00:00
Eric Anholt
4e3a4cfdd1
Use RTLD_DEFAULT, rather than relying on NULL happening to map to it as it
...
does on Linux.
2006-04-02 06:22:05 +00:00
Adam Jackson
323fec2029
Reorder link order for Xdmx to fix new screensaver variable reference
...
properly; remove previous awful hack.
2006-04-02 00:46:20 +00:00
Adam Jackson
a605b9ffd3
Fix some includes to point into X11/fonts/ properly.
2006-04-02 00:09:43 +00:00
Adam Jackson
e5b1d38e14
Disable Xprint freetype support momentarily. Needs ttf2pt1.c, which exists
...
in the monolith but has an advertising clause in the license.
2006-04-01 23:53:33 +00:00
Eric Anholt
ccca76b808
Clean up warnings and a debug printf.
2006-04-01 23:41:23 +00:00
Eric Anholt
6afa814ab1
Pull out fb's tile handling during fbValidateGC so we can do the necessary
...
exaPrepare/FinishAccess()es. Revealed by xtest with fakexa.
2006-04-01 23:28:17 +00:00
Adam Jackson
277f612d4e
Hack around the new screensaver variable for DMX, which is otherwise
...
blissfully ignorant of it.
2006-04-01 23:19:08 +00:00
Eric Anholt
5f95146fcf
Export exaPrepare/FinishGC to the rest of EXA, and use it in the ImageGlyph
...
implementation to avoid unprepared access to the tile. Also, relocate
the fbGetDrawable to avoid using a stale dest pointer after
exaSolidBoxClipped() may have migrated it. Revealed by xtest.
2006-04-01 22:35:16 +00:00
Eric Anholt
c720ffe875
Use fb's depth-to-planemask computation, which doesn't suffer from getting
...
a 1 planemask at depth 32. Fixes Get/PutImage xtest tests.
2006-04-01 22:17:44 +00:00
Daniel Stone
5c0a2088e2
Bug #6428 : Fix off-by-one error when walking off the end of the vmodmap
...
list.
2006-04-01 21:49:44 +00:00
Daniel Stone
1e764feab5
Bug #5801 : Check for MTRR support under Linux. Minor refactoring of MTRR
...
checks for other OSes.
2006-04-01 21:20:31 +00:00
Daniel Stone
978c7b14a1
Make Xprint AC_ARG_ENABLEs and AC_ARG_WITHs unconditional also.
2006-04-01 21:02:40 +00:00
Daniel Stone
71a6f2ef6c
Unconditionally run XP_USE_FREETYPE AM_CONDITIONAL, not only in the Xprint
...
path.
2006-04-01 20:58:42 +00:00
Eric Anholt
d1e90113fc
Don't attempt to Prepare/FinishAccess NULL pDrawables. Exposed by new
...
gradient testing in rendercheck.
2006-03-31 23:22:29 +00:00
Eric Anholt
2e38fedd29
Add an option to EXA for the DDX to request that EXA hide the pixmap's
...
devPrivate.ptr when pointing at offscreen memory, outside of
exaPrepare/FinishAccess(). This was used with fakexa to find (by NULL
dereference) many instances of un-Prepared CPU access to the
framebuffer:
- GC tiles used in several ops when fillStyle == FillTiled were never
Prepared.
- Migration could lead to un-Prepared access to mask data in render's
Trapezoids and Triangles
- PutImage's UploadToScreen failure fallback failed to Prepare.
2006-03-31 19:41:28 +00:00
Eric Anholt
1a8167c1ba
Correct a typo in debug-only offscreen validation code. (Wang Zhenyu)
2006-03-31 19:16:51 +00:00
Fredrik Höglund
7ea30b507f
Move the screensaver extension from module to builtins.
...
Add the server side implementation of the ScreenSaverSuspend request.
Require scrnsaverproto >= 1.1, and change the linking order of the Xorg
static libs.
2006-03-31 18:49:38 +00:00
Søren Sandmann Pedersen
acca49b1a5
Fri Mar 31 12:37:16 2006 Søren Sandmann <sandmann@redhat.com>
...
Fix copyright statement
2006-03-31 17:39:35 +00:00
Egbert Eich
b074ce2247
fixed typo.
2006-03-31 15:11:51 +00:00
Daniel Stone
710bb2e6c8
Reindent with -cbi0.
2006-03-31 14:52:57 +00:00
Daniel Stone
7c44bb8c49
Simplify XkbWriteXKBKeymapForNames a bit, and remove debug spew.
2006-03-31 07:33:34 +00:00
Daniel Stone
4c317bbc12
Add full FreeType support for Xprint. (Drew Parsons)
2006-03-31 07:21:41 +00:00
Eric Anholt
759033703c
Remove the exaAsyncPixmapGCOps mostly-unaccelerated ops vector, and always
...
plug in the accelerated one, even if the destination pixmap is
currently offscreen. This was a leftover from when kaa originally got
accelerated offscreen pixmap support, and its only concievable use was
to avoid a little overhead on ops to in-system pixmaps that weren't
going to get migrated. At this point, we probably care more about just
getting everything accelerated that we easily can, which should happen
with the new migration support.
2006-03-30 21:44:36 +00:00
Eric Anholt
b9203dc068
Don't do an extra fallback path for CopyWindow while swappedOut, since
...
exaCopyNtoN takes care of the fallback anyway, and we don't care about
the performance of this path.
2006-03-30 21:25:43 +00:00
Eric Anholt
5c04610f8a
Add a dependency on EXA, so it rebuilds when the library does. The manual
...
indicated I shouldn't do this, but experience indicates I should.
2006-03-30 21:21:59 +00:00
Kristian Høgsberg
8ec42a10ff
Mark the ARGB FBConfig as nonconforming to prevent drivers and apps from
...
falling over.
Add @GLX_DEFINES@ so GLcore gets compiled with TLS support if configured.
Only destroy the mesa buffer if it got initialized.
2006-03-30 20:08:44 +00:00
Egbert Eich
08e319091f
Added notice to last ChangeLog entry
...
Fixes for some vsw4 failures on 64bit BE platforms such as PPC64 and s390x.
Provided by Hong Bo Peng of IBM (slightly modified). Patches try to
resolve some of the careless mixtures of ulong and uint (which are
different size on
64bit). > This patch will break the driver ABI! < Bugzilla #6438 .
2006-03-30 18:53:41 +00:00
Egbert Eich
9da1d2257d
Fixes for some vsw4 failures on 64bit BE platforms such as PPC64 and s390x.
...
Provided by Hong Bo Peng of IBM (slightly modified). Patches try to
resolve some of the careless mixtures of ulong and uint (which are
different size on
64bit). Bugzilla #6438 .
2006-03-30 18:48:11 +00:00
Kristian Høgsberg
6d7ad353ba
Regenerate these files using updated scripts to avoid unused variable
...
warnings.
2006-03-30 18:29:53 +00:00
Eric Anholt
2153fa9748
Bug #2986 : Add PutImage acceleration for the ZPixmap, planeMask ~=
...
FB_ALLONES, bitsPerPixel >= 8, GXcopy cases. With the radeon driver on
my machine, this gives about 10% speedup in PutImage
10x10 and 500x500, and 40% speedup for 10x10 ShmPutImage, up to 65%
improvement in 500x500 ShmPutImage. Also fixes a crasher in GetImage
that slipped in at the last minute.
2006-03-30 05:24:27 +00:00
Eric Anholt
3cf46cc1e3
Add an UploadToScreen implementation, for testing PutImage support, and
...
make the DownloadFromScreen more robust.
2006-03-30 05:15:58 +00:00
Eric Anholt
e799dd68e2
Bug #2986 : Add acceleration of GetImage using DownloadFromScreen for the
...
ZPixmap, planeMask ~= FB_ALLONES, bitsPerPixel >= 8 case. I'm pretty
convinced that this is the only case that we care about at all. Tested
with xwd -root and xwd on a gnome-terminal, in a composited environment
or not.
2006-03-29 22:25:17 +00:00
Eric Anholt
4bb5ab0b44
Add a DownloadFromScreen implementation, used for testing GetImage
...
acceleration, and set the migration scheme to Always on init (since
this is all for testing, and Always should make migration happen more
frequently than Greedy).
2006-03-29 22:03:18 +00:00
Deron Johnson
e31e8ace10
Fix composite overlay window bug 6411
2006-03-29 17:51:54 +00:00
Adam Jackson
ff6f88348c
More warning cleanup.
2006-03-29 01:05:09 +00:00