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/managers/ProtocolManager.cpp | |
| 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/managers/ProtocolManager.cpp')
| -rw-r--r-- | src/managers/ProtocolManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 193b022c..eac6dee0 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -210,7 +210,7 @@ CProtocolManager::CProtocolManager() { else lease.reset(); - if (!PROTO::sync) + if (g_pHyprOpenGL->m_exts.EGL_ANDROID_native_fence_sync_ext && !PROTO::sync) PROTO::sync = makeUnique<CDRMSyncobjProtocol>(&wp_linux_drm_syncobj_manager_v1_interface, 1, "DRMSyncobj"); } |
