glamor: Enable dma-buf on Zink
Zink badly needs dma-buf and modifiers as it can't handle BO import of tiled buffers without modifiers. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1857>
This commit is contained in:
parent
a4df686888
commit
376cef6710
|
@ -1218,6 +1218,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