render/egl: disable implicit flush on context change

By default, switching the EGL context performs an implicit flush.
We may switch contexts quite often in multi-GPU scenarii. Avoid
any unintended flush.

See https://registry.khronos.org/OpenGL/extensions/KHR/KHR_context_flush_control.txt
This commit is contained in:
Simon Ser 2026-03-18 23:38:06 +01:00
parent 736c0f3f25
commit 4f395a7148
2 changed files with 9 additions and 1 deletions

View file

@ -16,6 +16,7 @@ struct wlr_egl {
bool EXT_image_dma_buf_import_modifiers;
bool IMG_context_priority;
bool EXT_create_context_robustness;
bool KHR_context_flush_control;
// Device extensions
bool EXT_device_drm;