gl_drm: Properly disable EGL_EXT_buffer_age when we don't have it
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 17 Mar 2017 20:04:47 +0000 (15:04 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 17 Mar 2017 20:04:47 +0000 (15:04 -0500)
If we don't have EGL_EXT_buffer_age then we don't have buffer age - it's
a completely independent extension to KHR partial update.

This partially fixes partial update on recent mali drivers.

src/modules/evas/engines/gl_drm/evas_engine.c

index 1baa2d9..9af7e88 100644 (file)
@@ -230,10 +230,7 @@ gl_extn_veto(Render_Engine *re)
              glsym_eglSetDamageRegionKHR = NULL;
           }
         if (!strstr(str, "EGL_EXT_buffer_age"))
-          {
-             if (!strstr(str, "EGL_KHR_partial_update"))
-               _extn_have_buffer_age = 0;
-          }
+          _extn_have_buffer_age = 0;
 
         if (!strstr(str, "EGL_KHR_partial_update"))
           glsym_eglSetDamageRegionKHR = NULL;