diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-07-19 12:38:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-19 12:38:41 +0200 |
| commit | d84699d8e5e984422da37595ee41fc0d8d93fef5 (patch) | |
| tree | b3ed5c1f47d25e961c53c823ead9d0000141a138 /src/render/OpenGL.hpp | |
| parent | ae3cc48f223386b057137400354ed0ca1f7a8b1a (diff) | |
opengl: detect android fence support and disable explicit if it's missing (#11077)
Checks for explicit sync support via the android fences, and falls back to implicit sync if it isn't
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 4c6f55f9..c5040e0e 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -253,6 +253,8 @@ class CHyprOpenGLImpl { void ensureLockTexturesRendered(bool load); + bool explicitSyncSupported(); + bool m_shadersInitialized = false; SP<SPreparedShaders> m_shaders; @@ -297,6 +299,7 @@ class CHyprOpenGLImpl { bool KHR_display_reference = false; bool IMG_context_priority = false; bool EXT_create_context_robustness = false; + bool EGL_ANDROID_native_fence_sync_ext = false; } m_exts; SP<CTexture> m_screencopyDeniedTexture; |
