Commit Graph

8 Commits

Author SHA1 Message Date
Eric Anholt
e4d11e58ce Remove the PaintWindow optimization.
This was an attempt to avoid scratch gc creation and validation for paintwin
because that was expensive.  This is not the case in current servers, and the
danger of failure to implement it correctly (as seen in all previous
implementations) is high enough to justify removing it.  No performance
difference detected with x11perf -create -move -resize -circulate on Xvfb.
Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-09-13 00:08:53 +00:00
Adam Jackson
ae7f71a8b3 Implement core protocol backing store exclusively in terms of Composite.
Composite's automatic redirection is a more general mechanism than the
ad-hoc BS machinery, so it's much prettier to implement the one in terms
of the other.  Composite now wraps ChangeWindowAttributes and activates
automatic redirection for windows with backing store requested.  The old
backing store infrastructure is completely gutted: ABI-visible structures
retain the function pointers, but they never get called, and all the
open-coded conditionals throughout the DIX layer to implement BS are gone.

Note that this is still not a strictly complete implementation of backing
store, since Composite will throw the bits away on unmap and therefore
WhenMapped and Always hints are equivalent.
2007-08-25 15:08:20 -04:00
Matthieu Herrb
4335868476 Fix build with non GNU make. 2006-03-05 16:13:21 +00:00
Adam Jackson
7fc9bc44e0 Compile fix, again, stupid non-clean builds 2006-01-07 01:29:05 +00:00
Adam Jackson
7f46aba35e Compile fix 2006-01-06 23:52:23 +00:00
Adam Jackson
13c9e0c094 Bug #5525: Build a working Xprt. (Drew Parsons) 2006-01-06 23:06:15 +00:00
Adam Jackson
00bd8968b2 Bug #4257: Move cfbcmap.c to cfb_common_sources. 2005-09-21 00:24:10 +00:00
Daniel Stone
a822df1cc1 Adding initial build system. 2005-07-01 20:49:35 +00:00