glamor: Enable dmabuf_capable for Zink
This lets Zink take advantage of DRM modifiers on GPUs letting it properly handle tiled buffers. Signed-off-by: notbabaisyou <though-went-some-simple@proton.me>
This commit is contained in:
parent
461411c798
commit
7fb4ba10f2
|
@ -1192,6 +1192,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
|
|||
"dmabuf_capable");
|
||||
else if (strstr((const char *)renderer, "Intel"))
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else if (strstr((const char *)renderer, "zink"))
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else
|
||||
glamor_egl->dmabuf_capable = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue