diff options
author | Simon Ser <contact@emersion.fr> | 2022-09-16 20:44:46 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-09-19 10:04:47 +0000 |
commit | 5206cea566953a81788627a6c01533d579edc71a (patch) | |
tree | 2b50cf53a9a101d5a81adc2f750b3403f7947375 /include | |
parent | 2ad25b1460400e66ea26bd6489b04072be7d9dbb (diff) |
render/egl: add support for EGL_KHR_display_reference
See the spec at [1]. tl;dr EGL has terrible defaults: eglTerminate()
may have side-effects on completely unrelated EGLDisplay objects.
This extension allows us to opt-in to get the sane behavior:
eglTerminate() only free's our own EGLDisplay without affecting
others.
[1]: https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_display_reference.txt
Diffstat (limited to 'include')
-rw-r--r-- | include/render/egl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/render/egl.h b/include/render/egl.h index f77e1147..36b70ae3 100644 --- a/include/render/egl.h +++ b/include/render/egl.h @@ -24,6 +24,7 @@ struct wlr_egl { bool EXT_device_query; bool KHR_platform_gbm; bool EXT_platform_device; + bool KHR_display_reference; } exts; struct { |