Jeremy Huddleston
b7cc6ca22a
miext/rootless: Silence some warnings by using proper C prototypes.
...
(cherry picked from commit 050e46e09e
)
2008-10-23 16:33:11 -07:00
George Peter Staplin
b397cc7277
miext/rootless: Fix the usage of DeleteProperty so that this builds again.
...
(cherry picked from commit 3de250e28a
)
2008-10-23 16:31:44 -07:00
Jeremy Huddleston
8b3c278fe7
Rootless: Properly typed expose_1
...
(cherry picked from commit 78e874fe17
)
2008-10-23 14:17:28 -07:00
Adam Jackson
aab73d719a
Fix previous cherry pick for API changes
2008-10-23 13:20:59 -04:00
Keith Packard
8767fc8d47
Wrap AddTraps in exa and damage.
...
This fine (and unused) function wasn't ever wrapped which made it not work
under exa.
(cherry picked from commit 06e7e1d048
)
2008-10-23 09:56:45 -04:00
Jeremy Huddleston
d13c3cbd43
XQuartz: Some motion made towards supporting fullscreen.
...
(cherry picked from commit 99be3d68b6
)
2008-10-08 18:45:17 -07:00
Adam Jackson
f836e1f11b
Unifdef ISC
2008-10-02 17:03:54 -04:00
Jeremy Huddleston
6548a55ebd
XQuartz: 256 color support
...
(cherry picked from commit 8dd6d5c825
)
2008-09-12 15:26:13 -07:00
Jeremy Huddleston
c661c6ae7a
XQuartz: Remove decls of crashtracer strings that we don't use anymore in here
...
(cherry picked from commit 4a653c6bfd
)
2008-09-12 15:22:11 -07:00
Jeremy Huddleston
54162aca40
XQuartz: Fixed a crash in RootlessNativeWindowMoved
...
(cherry picked from commit a16048cec0
)
2008-09-12 15:22:06 -07:00
Maarten Maathuis
f4e9a1a98f
damage: choose less ambiguous function names
2008-08-31 17:46:26 +02:00
Jeremy Huddleston
8abcc12fdd
XQuartz: Added debugging output to the crash log to help track down two crashes, since people don't often report their system.log spew.
...
(cherry picked from commit aaf0f71db1
)
2008-08-29 20:55:25 -07:00
Maarten Maathuis
974db58f5b
damage: initial attempt at a damage marker mechanism
...
- This should allow drivers to recieve post submission events for X<->opengl synchronisation.
- Lacking a testcase, i'm open to suggestion how to do it better.
- The idea is:
- driver recieves event
- driver creates personal identification and inserts marker into X fifo.
- when something wants to use an X pixmap, it checks if something is pending.
- If so, it synchronizes the 2nd fifo using the initial identification.
- Driver is not required to use interrupt based systems (price too high).
- Lower latency is ofcource better.
- If this is somehow unusable for you, then come up with improvements.
- For that reason i wouldn't consider the api fixed for the moment.
2008-08-30 00:37:11 +02:00
Maarten Maathuis
454cb0802e
damage: DamageReportRawRegion should set pDamage->damage
...
- I found no evidence in the protocol, that it should be differently from all the other modes.
- It seems to have been like this from day 1.
- If anyone has evidence to the contrary, please enlighten me.
2008-08-29 22:28:02 +02:00
Maarten Maathuis
ae6ca43410
damage: internal functions start with a non-capital letter
2008-08-29 22:21:54 +02:00
Maarten Maathuis
1861250cd7
{damage,exa}: sanitise damage
...
- Redo damage naming for more consistency.
- Call post submission functions only where appropriate.
- EXA can now live without it's odd damage workarounds.
2008-08-29 22:15:23 +02:00
Tomas Carnecky
ebea78cdba
Prepare for array-index based devPrivates.
...
TODO: static indices can be made just an int; some indices
can be combined.
2008-08-28 18:05:40 -04:00
Adam Jackson
d6228cb22a
Shape extension is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Jeremy Huddleston
6acc2acd0d
Rootless: mi doesn't let us resize root, so we need to do it ourselves...
...
(cherry picked from commit c1ec36e28c
)
2008-05-05 15:34:10 -07:00
Jeremy Huddleston
ba87c25321
Make rootless use dixLookupClient rather than deprecated LookupClient.
...
(cherry picked from commit 582b5b01f9
)
2008-04-21 20:09:30 -07:00
Ben Byer
5ffb6a2fe8
Nuke a call to deprecated LookupClient, and hopefully prevent a
...
null-pointer dereference, too!
(cherry picked from commit 3d28e9f953
)
2008-04-21 19:58:03 -07:00
Jeremy Huddleston
587c010a1c
Rootless: Kill off rlAccel
2008-04-19 09:27:21 -07:00
Ben Byer
edd3fb784b
random flailing
...
(cherry picked from commit 7fb9b2dc61
)
2008-04-18 20:07:41 -07:00
Jeremy Huddleston
8716d081fd
XQuartz: Don't enable rootless accelerated functionality... crashy...
...
(cherry picked from commit cdb4c291d8
)
2008-04-16 23:14:06 -07:00
Jeremy Huddleston
3f51f493b6
XQuartz: Fix issue where clicking on an X11 window might send that event to an X11 window in another space.
...
(cherry picked from commit df21312c8b
)
(cherry picked from commit 2d4194a8d1
)
2008-04-08 17:03:18 -07:00
Jeremy Huddleston
4c76607b69
Rootless: Removed safeAlphaXXXX() in favor of using fb/pixman
...
(cherry picked from commit f03202ad15
)
2008-03-21 19:33:21 -07:00
Eamon Walsh
ef60632e20
dix: Modify callers of property and selection API to use new interfaces.
2008-02-29 18:01:37 -05:00
Jeremy Huddleston
4fc2d3cef8
Rootless: RootlessEnsureFrame: Added check for !IsRoot
...
This was causing an issue with Apple-DRI and was reported here:
http://trac.macosforge.org/projects/xquartz/ticket/51
(cherry picked from commit 116800279d
)
2008-01-28 12:25:29 -08:00
Colin Harrison
9dbb73033a
Rootless: Fix lvalue error from devPrivates change
...
Instead of trying to use an invalid expression as an lvalue, use the function
call instead.
2007-12-29 00:02:16 +02:00
Eamon Walsh
c8feb73f58
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
Xext/EVI.c
Xext/bigreq.c
Xext/cup.c
Xext/dpms.c
Xext/fontcache.c
Xext/mitmisc.c
Xext/xcmisc.c
Xext/xf86bigfont.c
Xext/xtest.c
configure.ac
dbe/dbe.c
hw/darwin/darwin.h
hw/darwin/darwinEvents.c
hw/darwin/iokit/xfIOKit.h
hw/darwin/iokit/xfIOKitCursor.c
hw/darwin/quartz/fullscreen/fullscreen.c
hw/darwin/quartz/fullscreen/quartzCursor.c
hw/darwin/quartz/quartz.c
hw/darwin/quartz/quartzCommon.h
hw/darwin/quartz/quartzCursor.c
hw/darwin/quartz/xpr/dri.c
hw/darwin/quartz/xpr/dristruct.h
hw/darwin/quartz/xpr/xprCursor.c
hw/darwin/quartz/xpr/xprFrame.c
hw/xfree86/modes/xf86RandR12.c
include/cursor.h
miext/rootless/rootlessCommon.h
miext/rootless/rootlessScreen.c
miext/rootless/rootlessWindow.c
render/picturestr.h
Trying to pick up the pieces from the darwin churn here...
2007-12-13 18:38:25 -05:00
Ben Byer
1157cfcc5a
Just a couple of small uninitialized pointer fixes
...
(cherry picked from commit d12b650362
)
2007-12-07 22:40:00 -08:00
Jeremy Huddleston
0ad1c359c5
Darwin: Use __APPLE__ instead of __DARWIN__
...
(cherry picked from commit 54654815fa
)
2007-12-07 18:54:58 -08:00
Adam Jackson
fa47910045
Clean up many #if 0.
2007-12-02 12:40:25 -05:00
Jeremy Huddleston
601307615e
Darwin,Rootless: Makefile cleanup
...
(cherry picked from commit 9c6d8a035b
)
2007-11-26 14:49:32 -08:00
Jeremy Huddleston
2082e7aa87
Rootless: Remove the PaintWindow optimization which snuck back in.
2007-11-22 17:18:48 -08:00
Jeremy Huddleston
a751bc12be
Rootless: Imported changes made in xorg-server-1.2-apple branch
2007-11-22 13:53:00 -08:00
Jeremy Huddleston
4e18c62635
Rootless: Pulled in changes from fb{Blt,Fill} into rl{Blt,Fill}
...
(cherry picked from commit 3f857e129d
)
(cherry picked from commit 70374a5893
)
2007-11-22 12:21:59 -08:00
Ben Byer
74214a9f42
Darwin: Patch to avert (some) damage / rootless crashes, courtesy of Ken Thomases
...
(cherry picked from commit 148a87ff20
)
2007-11-21 23:18:34 -08:00
Ben Byer
f5f833b806
Darwin: These changes are necessary, yet not sufficient, to get 8-bit indexed
...
color mode working in Xquartz.
(cherry picked from commit a415f62f52
)
2007-11-21 23:18:13 -08:00
Jeremy Huddleston
bcbaf2a0ce
Darwin: Dead code removal, Code cleanup, Added launcher
...
Imported changes from xorg-server-1.2-apple to make master more current wrt
file layout, build system changes, and dead code removal.
2007-11-21 19:52:11 -08:00
Eamon Walsh
1603130236
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
Xext/xace.c
Xext/xace.h
2007-11-14 13:35:50 -05:00
Ben Byer
f2a3728868
Patch to rootless code that should fix many crashes. Credit to Ken Thomases
...
at CodeWeavers for the patch. From his description:
Fix a display bug with the X server. The Generic Rootless extension
installs overrides for certain GC (graphics context) operations. Within
these overrides, they temporarily uninstall themselves, perform their work,
and then reinstall themselves. Except sometimes they would return early
and wouldn't reinstall themselves when they should. Now they do in all cases.
Fix a bug in RootlessCopyWindow where early returns could leave the screen's
dispatch table entry for CopyWindow unwrapped. We think that this is
another case (hopefully the last) of the rootless drawing bug.
2007-11-08 20:42:01 -08:00
Ben Byer
50dac9b2cb
Fixed Spaces issue, correctly -- dragging an X window from one
...
Space to another in Expose mode now works.
2007-11-08 20:11:34 -08:00
Eamon Walsh
a52c9b2a59
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
dix/dispatch.c
dix/property.c
hw/xfree86/common/xf86VidMode.c
include/xkbsrv.h
render/glyph.c
xkb/xkbActions.c
2007-11-05 19:08:36 -05:00
Daniel Stone
3633ae6efb
Damage: Remove usage of alloca
...
Replace with heap allocations.
2007-11-05 14:34:41 +00:00
Ben Byer
b1764ddf13
pulling more patches over from xorg-xserver-1.2-apple branch
2007-11-05 05:45:21 -08:00
Aaron Plattner
f2e310132f
Add CreatePixmap allocation hints.
...
These hints allow an acceleration architecture to optimize allocation of certain
types of pixmaps, such as pixmaps that will serve as backing pixmaps for
redirected windows.
2007-11-04 16:11:28 -08:00
Ben Byer
181468db92
add missing null-pointer checks
2007-11-04 04:50:26 -08:00
Eamon Walsh
b633d54b94
Merge branch 'master' into XACE-SELINUX
...
Conflicts:
GL/glx/glxscreens.c
hw/xnest/Screen.c
render/glyph.c
render/glyphstr.h
render/render.c
2007-10-25 12:19:30 -04:00
Eric Anholt
4b14c9a9cd
Replace calls to Glyphs screen hook with CompositeGlyphs and remove dead code.
...
Not all of the DDX/miext Glyphs hook implementations have been removed, but
they should be.
2007-10-19 16:34:54 -07:00