[Intel-gfx] [PATCH] Regard the screen pixmap as suitable for acceleration.
eric at anholt.net
Wed Feb 25 07:42:44 CET 2009
With UXA on the fake bufmgr, the screen pixmap doesn't have a BO and so
no acceleration was occurring.
src/i830_exa.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/i830_exa.c b/src/i830_exa.c
index d691f3d..20e7a13 100644
@@ -893,6 +893,12 @@ i830_uxa_block_handler (ScreenPtr screen)
+ ScreenPtr screen = pixmap->drawable.pScreen;
+ /* The front buffer is always in memory and pinned */
+ if (screen->GetScreenPixmap(screen) == pixmap)
+ return TRUE;
return i830_get_pixmap_bo (pixmap) != NULL;
More information about the Intel-gfx