mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Revert "glamor: Avoid glamor_create_pixmap for pixmaps backing windows"
This reverts commit 274703087f.
Reports of visual corruption were bisected to this, e.g.
https://bugs.archlinux.org/task/61941 . I can reproduce this with Turks,
but not with Bonaire. I assume it's a Mesa/glamor bug, but let's revert
for now.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
0d132d99e0
commit
f6cd4a67d7
@@ -238,7 +238,7 @@ radeon_glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
|
|||||||
if (info->shadow_primary) {
|
if (info->shadow_primary) {
|
||||||
if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP)
|
if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP)
|
||||||
return fbCreatePixmap(screen, w, h, depth, usage);
|
return fbCreatePixmap(screen, w, h, depth, usage);
|
||||||
} else if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP) {
|
} else {
|
||||||
pixmap = glamor_create_pixmap(screen, w, h, depth, usage);
|
pixmap = glamor_create_pixmap(screen, w, h, depth, usage);
|
||||||
if (pixmap)
|
if (pixmap)
|
||||||
return pixmap;
|
return pixmap;
|
||||||
|
|||||||
Reference in New Issue
Block a user