diff options
author | Eric Anholt <eric@anholt.net> | 2007-03-27 17:31:28 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-03-27 17:31:28 -0700 |
commit | 6ed08949af4f7ac09170d3d9581e4092b24a84ee (patch) | |
tree | ff55cb5dab8f0585ffe53cc6fac5e987c0db883e /miext/damage | |
parent | e76b6349516d5d1c8f7167d6f5419e0d06a546c3 (diff) |
Move libcw setup to the only renderer requiring it (XAA).
Additionally, protect libcw setup behind checks for Render, to avoid
segfaulting if Render isn't available (xnest).
The previous setup was an ABI-preserving dance, which is better nuked now.
Now, anything that needs libcw must explicitly initialize it, and
miDisableCompositeWrapper (previously only called by EXA and presumably binary
drivers) is gone.
Diffstat (limited to 'miext/damage')
-rwxr-xr-x | miext/damage/damage.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/miext/damage/damage.c b/miext/damage/damage.c index 6f1ee2894..d93074758 100755 --- a/miext/damage/damage.c +++ b/miext/damage/damage.c @@ -1831,16 +1831,6 @@ DamageSetup (ScreenPtr pScreen) if (!pScrPriv) return FALSE; -#ifdef COMPOSITE - /* This is a kludge to ensure wrapping order with the composite wrapper. - * If it's done from compinit.c, then DamageSetup may be called before the - * extension init phase, so that cw will be higher in the wrapping chain and - * rewrite drawables before damage gets to it, causing confusion. - */ - if (!noCompositeExtension) - miInitializeCompositeWrapper (pScreen); -#endif - pScrPriv->internalLevel = 0; pScrPriv->pScreenDamage = 0; |