mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
cogl: GLES3 has sync objects
https://gitlab.gnome.org/GNOME/mutter/merge_requests/882
This commit is contained in:
parent
445af61a68
commit
41992757e0
@ -366,6 +366,9 @@ _cogl_driver_update_features (CoglContext *context,
|
||||
_cogl_check_extension ("GL_OES_egl_sync", gl_extensions))
|
||||
COGL_FLAGS_SET (private_features, COGL_PRIVATE_FEATURE_OES_EGL_SYNC, TRUE);
|
||||
|
||||
if (context->glFenceSync)
|
||||
COGL_FLAGS_SET (context->features, COGL_FEATURE_ID_FENCE, TRUE);
|
||||
|
||||
if (_cogl_check_extension ("GL_EXT_texture_rg", gl_extensions))
|
||||
COGL_FLAGS_SET (context->features,
|
||||
COGL_FEATURE_ID_TEXTURE_RG,
|
||||
|
@ -212,7 +212,7 @@ COGL_EXT_END ()
|
||||
|
||||
#ifdef GL_ARB_sync
|
||||
COGL_EXT_BEGIN (sync, 3, 2,
|
||||
0, /* not in either GLES */
|
||||
COGL_EXT_IN_GLES3,
|
||||
"ARB:\0",
|
||||
"sync\0")
|
||||
COGL_EXT_FUNCTION (GLsync, glFenceSync,
|
||||
|
Loading…
Reference in New Issue
Block a user