Commit bf326f2e authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

glamor: Avoid glamor_create_pixmap for pixmaps backing windows

If the compositing manager uses direct rendering (as is usually the case
these days), the storage of a pixmap allocated by glamor_create_pixmap
needs to be reallocated for sharing it with the compositing manager.
Instead, allocate pixmap storage which can be shared directly.
Acked-by: default avatarAlex Deucher <>
parent ebd32b1c
Pipeline #15223 passed with stages
in 1 minute and 14 seconds
......@@ -215,7 +215,7 @@ amdgpu_glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
} else {
pixmap = glamor_create_pixmap(screen, w, h, depth, usage);
if (pixmap)
return pixmap;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment