summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2019-03-08 11:48:10 +0100
committerMichel Dänzer <michel@daenzer.net>2019-03-08 11:48:10 +0100
commitf6cd4a67d7de5d3ff1a6e58a8c83749fc8ffc310 (patch)
tree6468235b5b1d7baf11f2ea7fe56040992737c11c
parent0d132d99e0b750896a78f47d73a8639680495d8c (diff)
Revert "glamor: Avoid glamor_create_pixmap for pixmaps backing windows"
This reverts commit 274703087f80342f51fa69c935bb9a1cb0c4ae47. 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>
-rw-r--r--src/radeon_glamor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
index 3e676f2d..f1098381 100644
--- a/src/radeon_glamor.c
+++ b/src/radeon_glamor.c
@@ -238,7 +238,7 @@ radeon_glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
if (info->shadow_primary) {
if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP)
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);
if (pixmap)
return pixmap;