@ -3221,9 +3221,6 @@ gl_renderer_setup_egl_extensions(struct weston_compositor *ec)
gr - > has_dmabuf_import_modifiers = 1 ;
gr - > has_dmabuf_import_modifiers = 1 ;
}
}
if ( weston_check_egl_extension ( extensions , " GL_EXT_texture_rg " ) )
gr - > has_gl_texture_rg = 1 ;
if ( weston_check_egl_extension ( extensions , " EGL_KHR_fence_sync " ) & &
if ( weston_check_egl_extension ( extensions , " EGL_KHR_fence_sync " ) & &
weston_check_egl_extension ( extensions , " EGL_ANDROID_native_fence_sync " ) ) {
weston_check_egl_extension ( extensions , " EGL_ANDROID_native_fence_sync " ) ) {
gr - > create_sync =
gr - > create_sync =
@ -3691,6 +3688,9 @@ gl_renderer_setup(struct weston_compositor *ec, EGLSurface egl_surface)
if ( weston_check_egl_extension ( extensions , " GL_EXT_unpack_subimage " ) )
if ( weston_check_egl_extension ( extensions , " GL_EXT_unpack_subimage " ) )
gr - > has_unpack_subimage = 1 ;
gr - > has_unpack_subimage = 1 ;
if ( weston_check_egl_extension ( extensions , " GL_EXT_texture_rg " ) )
gr - > has_gl_texture_rg = 1 ;
if ( weston_check_egl_extension ( extensions , " GL_OES_EGL_image_external " ) )
if ( weston_check_egl_extension ( extensions , " GL_OES_EGL_image_external " ) )
gr - > has_egl_image_external = 1 ;
gr - > has_egl_image_external = 1 ;