Bugzilla #1032: Make rootless acceleration functions compatible with

Damage.
This commit is contained in:
Torrey Lyons 2004-09-18 00:38:30 +00:00
commit 6344bb51e2
8 changed files with 139 additions and 14 deletions

View file

@ -1,4 +1,4 @@
/* $XdotOrg: xc/programs/Xserver/hw/darwin/quartz/cr/crScreen.m,v 1.3 2004/07/30 19:12:18 torrey Exp $ */
/* $XdotOrg: xc/programs/Xserver/hw/darwin/quartz/cr/crScreen.m,v 1.4 2004/08/12 20:24:36 torrey Exp $ */
/*
* Cocoa rootless implementation initialization
*/
@ -261,6 +261,10 @@ CRSetupScreen(int index, ScreenPtr pScreen)
}
#endif /* RENDER */
// Initialize accelerated rootless drawing
// Note that this must be done before DamageSetup().
RootlessAccelInit(pScreen);
#ifdef DAMAGE
// The Damage extension needs to wrap underneath the
// generic rootless layer, so do it now.