mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
glamor: Set RADEON_CREATE_PIXMAP_DRI2 for DRI3 pixmaps
Not doing this resulted in falling back to software for DRI3 client presentation operations with ShadowPrimary. (Ported from amdgpu commit 2989d40ef74d9966e8e8df2ef7727b2cc48d4960) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -169,6 +169,7 @@ static PixmapPtr radeon_dri3_pixmap_from_fd(ScreenPtr screen,
|
||||
|
||||
if (priv) {
|
||||
radeon_set_pixmap_private(pixmap, priv);
|
||||
pixmap->usage_hint |= RADEON_CREATE_PIXMAP_DRI2;
|
||||
return pixmap;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user