Skip to content
Commit 7ceda8cb authored by Marius Vlad's avatar Marius Vlad
Browse files

gl-renderer: Ensure gl_buffer_state is present for direct-display



This patch makes sure we have a gl_buffer_state present when using
direct-display protocol extensions (which forbids any GL imports, and
assumes a direct path with the display unit to perform a KMS import).

Without this patch we would basically have no gl_buffer_state at repaint
time because we never manged to create one, as direct-display code path
will return much early.

Partially fixes gitlab.freedesktop.org/wayland/weston/-/issues/621.

Suggested-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 0c5860fa
Loading
Loading
Loading
Pipeline #603467 passed with stages
in 4 minutes and 30 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment