From d84699d8e5e984422da37595ee41fc0d8d93fef5 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 19 Jul 2025 12:38:41 +0200 Subject: 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 --- src/render/OpenGL.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/OpenGL.hpp') 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 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 m_screencopyDeniedTexture; -- cgit v1.2.3