summaryrefslogtreecommitdiff
path: root/hw/darwin
diff options
context:
space:
mode:
authorTorrey Lyons <torrey@mrcla.com>2004-09-18 00:38:30 +0000
committerTorrey Lyons <torrey@mrcla.com>2004-09-18 00:38:30 +0000
commit6344bb51e2a97d9678cec2ec1dab19abfe9d9e8d (patch)
treedac967ce48b061b2d8e64d7c0b7f1beed42f9dd9 /hw/darwin
parentcedb9a8d62df3391fd89a8b05a2dd64bd098a7df (diff)
Bugzilla #1032: Make rootless acceleration functions compatible with
Damage.
Diffstat (limited to 'hw/darwin')
-rw-r--r--hw/darwin/quartz/cr/crScreen.m6
-rw-r--r--hw/darwin/quartz/xpr/xprScreen.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/hw/darwin/quartz/cr/crScreen.m b/hw/darwin/quartz/cr/crScreen.m
index cba92f185..21a79e006 100644
--- a/hw/darwin/quartz/cr/crScreen.m
+++ b/hw/darwin/quartz/cr/crScreen.m
@@ -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.
diff --git a/hw/darwin/quartz/xpr/xprScreen.c b/hw/darwin/quartz/xpr/xprScreen.c
index 27ddef05d..f178dec8a 100644
--- a/hw/darwin/quartz/xpr/xprScreen.c
+++ b/hw/darwin/quartz/xpr/xprScreen.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xc/programs/Xserver/hw/darwin/quartz/xpr/xprScreen.c,v 1.3 2004/07/30 19:12:18 torrey Exp $ */
+/* $XdotOrg: xc/programs/Xserver/hw/darwin/quartz/xpr/xprScreen.c,v 1.4 2004/08/12 20:24:36 torrey Exp $ */
/*
* Xplugin rootless implementation screen functions
*/
@@ -325,6 +325,10 @@ xprSetupScreen(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.