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
Kristian Høgsberg
52d9ce7f4f
Fix another typo.
2006-03-28 21:45:14 +00:00
Kristian Høgsberg
7df64898ea
Fix a couple of typos.
2006-03-28 07:46:04 +00:00
Aaron Plattner
bd283c2464
Add a new export, LoaderGetABIVersion. This function allows modules to
...
query the versions directly instead of having to guess. Bug #6416 : Add
LoaderGetABIVersion.
2006-03-28 07:21:50 +00:00
Kristian Høgsberg
a06342eccc
Add --enable-glx-tls ./configure option to enable use of TLS for storing
...
current GL context. Use this option to let AIGLX load DRI drivers
compiled for TLS.
2006-03-28 02:57:07 +00:00
Adam Jackson
77531dfb9f
Silence some editorializing in the configure help text.
2006-03-28 01:22:01 +00:00
Adam Jackson
7deaaa797c
Big old pile of warning fixes.
2006-03-28 01:21:00 +00:00
Adam Jackson
7342dbe4b2
Remove long-dead screen region code.
2006-03-28 00:18:31 +00:00
Daniel Stone
0e88cefbfe
Prune XKB code to only what we need to run the server. Remove dead
...
!XKB_IN_SERVER codepaths. Remove HAVE_CONFIG_H codepaths.
2006-03-27 23:03:47 +00:00
Daniel Stone
5be8a66d32
Fix remnants of previous busted _XkbStrCaseCmp commit.
2006-03-27 22:28:32 +00:00
Daniel Stone
9e202dfe40
Remove remnants of XkbCF code.
2006-03-27 22:25:56 +00:00
Daniel Stone
7257590651
Move XFree86 DDX XKB actions into dixmods.
2006-03-27 21:15:06 +00:00
Daniel Stone
d7b9e2b0e9
Bug #3819 : Remove open-coding of strcasecmp.
2006-03-25 23:09:50 +00:00
Daniel Stone
b3570dd94a
Remove INITARGS braindamage, change to void; add XkbExtensionInit prototype
...
to xkb.h. Explicitly initialise nTypes in xkb.c.
2006-03-25 22:37:58 +00:00
Daniel Stone
ec10f70b21
Remove XkbCF DDX configuration code.
2006-03-25 21:52:49 +00:00
Daniel Stone
aae4238360
Fix two glaring unconditional-NULL-dereferences.
2006-03-25 20:17:58 +00:00
Adam Jackson
a68c11bb1d
Mark everything in xf86sym.c as _X_EXPORT.
2006-03-25 19:52:05 +00:00
Fredrik Höglund
ae935832fa
Refactored the screensaver and DPMS timer code to use the screensaver timer
...
for both screensaver and DPMS. Removed the SetDPMSTimers() and
FreeDPMSTimers() functions.
2006-03-24 20:50:13 +00:00
Kristian Høgsberg
d1746ec0f0
Make sure DRI module is loaded before calling DRI functions.
2006-03-24 17:58:39 +00:00
Alan Coopersmith
f1616508c9
Add ast driver/pci id (Carl Switzky, Sun Microsystems)
2006-03-23 23:54:08 +00:00
Kristian Høgsberg
6d2896b384
Improve error logging.
2006-03-22 22:49:52 +00:00
Søren Sandmann Pedersen
5449634e3c
Wed Mar 22 16:28:46 2006 Søren Sandmann <sandmann@redhat.com>
...
Use inline assembly for copy area, since gcc doesn't generate movq
instructions.
2006-03-22 21:37:49 +00:00
Søren Sandmann Pedersen
5b3084c64f
Wed Mar 22 16:05:09 2006 Søren Sandmann <sandmann@redhat.com>
...
Use inline assembly for solid fills, since gcc doesn't use the movq
instructions.
2006-03-22 21:13:08 +00:00
Søren Sandmann Pedersen
a08e5e0c68
Wed Mar 22 13:42:44 2006 Søren Sandmann <sandmann@redhat.com>
...
Patch by Keith Packard to make sure redirected windows don't get considered
"FullyObscured".
2006-03-22 18:44:26 +00:00
Kristian Høgsberg
966d93ef6d
Make the server distcheck and tag 1.0.99.1 snapshot.
...
Bump CVS version to 1.0.99.1.
Distcheck fixes.
2006-03-21 22:54:38 +00:00
Kristian Høgsberg
8e3ad87d01
#include indirect_dispatch to get prototypes for FBO functions.
...
Fix a couple of warnings.
2006-03-21 22:32:13 +00:00
Donnie Berkholz
dcc43d57cb
Finish glx_ansic.h wrapper changes to make Xvfb and Xnest link again.
2006-03-20 20:10:29 +00:00
Adam Jackson
61a020265c
Bug #5549 : Fix build for sparc64. (Matthieu Herrb)
2006-03-20 18:43:18 +00:00
Adam Jackson
6eb4e2303a
Bug #6213 : Check geteuid's return value, not its address, otherwise
...
unprivileged users can set the modulepath and run arbitrary code. Patch
from Matthieu Herrb. (CVE-2006-0745, Coverity #4 )
2006-03-20 14:01:05 +00:00
Kristian Høgsberg
2d2d38d17c
Check for glproto when building GLX and make sure we have at least 1.4.6.
...
Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs
directly.
2006-03-17 01:47:25 +00:00
Kristian Høgsberg
2c11cde336
More patches from David Reveman:
...
Add GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object and
GL_NV_texture_env_combine4 extensions.
Add __GLXcontext destructor and flush context cache there and on
loseCurrent.
Chain back to new __GLXcontext destructor. (__glXMesaContextForceCurrent):
Set render table on forceCurrent. (init_screen_visuals): Index pVis
array correctly. (GlxGetMesaProvider): Add this.
Hook up FBO marshalling.
2006-03-17 00:35:18 +00:00
Eric Anholt
14aafc258c
Change EXA so that exaMoveOutPixmap() retains the framebuffer copy of the
...
pixmap, and damage is tracked so that a later exaMoveInPixmap won't
result in an upload if no upload is necessary. This will likely improve
the performance of the "Always" migration scheme significantly, and is
a step in the path to more exact damage tracking between framebuffer
and system memory.
2006-03-16 18:43:55 +00:00