summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-03-17 15:04:47 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-03-17 15:04:47 -0500
commit3b50c86985207a4a486860db35079d69911a1e73 (patch)
treefa29519a52d7dbfef018312ac11f666324d829f3
parent833444ac2a62ac2fdc2e10601e7d1495e8b12f10 (diff)
gl_drm: Properly disable EGL_EXT_buffer_age when we don't have it
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.
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 1baa2d92a0..9af7e8844e 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -230,10 +230,7 @@ gl_extn_veto(Render_Engine *re)
230 glsym_eglSetDamageRegionKHR = NULL; 230 glsym_eglSetDamageRegionKHR = NULL;
231 } 231 }
232 if (!strstr(str, "EGL_EXT_buffer_age")) 232 if (!strstr(str, "EGL_EXT_buffer_age"))
233 { 233 _extn_have_buffer_age = 0;
234 if (!strstr(str, "EGL_KHR_partial_update"))
235 _extn_have_buffer_age = 0;
236 }
237 234
238 if (!strstr(str, "EGL_KHR_partial_update")) 235 if (!strstr(str, "EGL_KHR_partial_update"))
239 glsym_eglSetDamageRegionKHR = NULL; 236 glsym_eglSetDamageRegionKHR = NULL;