gl-renderer: Take direct-display into consideration
The buffer_init function added with commit 83b37c0a, "renderers: pull dmabuf initial setup out of attach", doesn't take into consideration the the buffer's direct-display property. Previously, gl_renderer_attach_dmabuf, wasn't being called when dmabuf's direct-display was turned on, but with commit 83b37c0a this has been changed. So with commit 83b37c0a, linux_dmabuf_buffer_get_user_data will never return a valid gb (gl buffer state), causing a crash using direct-display extension. This adds an explicit check to return early when this happens. Fixes: 83b37c0a, "renderers: pull dmabuf initial setup out of attach" Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
parent
dae61f33
Loading
Loading
Pipeline
#1321468
passed
with stages
in
5 minutes and 42 seconds
Loading
Please register or sign in to comment