mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
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:
parent
736c0f3f25
commit
4f395a7148
2 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue