Regard the screen pixmap as suitable for acceleration.
With UXA on the fake bufmgr, the screen pixmap doesn't have a BO and so no acceleration was occurring.
This commit is contained in:
parent
70e0261208
commit
635eaa511f
|
|
@ -893,6 +893,12 @@ i830_uxa_block_handler (ScreenPtr screen)
|
|||
static Bool
|
||||
i830_uxa_pixmap_is_offscreen(PixmapPtr pixmap)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue