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
1ef60ce8eb
Really remove all DDX pre-config code.
2006-03-25 22:35:48 +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
9509c6799e
dead file removal
2006-03-20 19:32:18 +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
Daniel Stone
8c1bb37d06
Typo fix, reindent.
2006-03-17 08:55:07 +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
Daniel Stone
d0d336efd5
Add support for ZX2 PCI-E local bus adaptors. (Alex Williamson, HP)
...
Use soft timeout register to avoid MCAs when probing for non-existent local
bus adaptors on ZX2. (Alex Williamson, HP)
2006-03-16 16:29:17 +00:00
Adam Jackson
175980580e
Bump to requiring fixesproto >= 4.0 and compositeproto >= 0.3.
2006-03-15 23:05:53 +00:00
Matthieu Herrb
6fe377af5a
- OpenBSD needs -Wl,-export-dynamic to export symbols from main executable
...
to modules.
- Probe for OpenBSD aperture driver and define HAS_APERTURE_DRV
accordingly.
2006-03-15 21:25:38 +00:00
Felix Kuehling
21f7f2fb11
Enable correct handling of the BTS instruction (opcode 0f ab) The code was
...
there but #ifdefed out. Insead of BTS, BT was executed. This patch
enables the BTS function and hooks it up the the correct opcode. (ATI
Technologies Inc.)
2006-03-15 18:43:32 +00:00
Felix Kuehling
b726aa502a
Update to build against Mesa CVS HEAD.
2006-03-15 18:37:44 +00:00
Eric Anholt
c74464d92c
Don't let pinned pixmaps get migrated in when using the "Always" migration
...
scheme. This notably keeps the visible screen from getting migrated in
to a new location in framebuffer.
Reported by: Michel Dänzer.
2006-03-15 16:59:45 +00:00
Adam Jackson
b9c43cde1e
Coverity #1042 , 1043: Nuke some dead variables.
2006-03-15 16:56:10 +00:00
Adam Jackson
5e106a71b9
Coverity #807 : Fix a memory leak in XFixesExpandRegion.
2006-03-15 16:49:04 +00:00
Adam Jackson
a3ef63696c
Coverity #490 : Fix a range check in xf86vidmode extension.
2006-03-15 16:36:31 +00:00
Adam Jackson
152090ce44
Coverity #487 : Check version number correctly.
2006-03-15 16:33:12 +00:00