aboutsummaryrefslogtreecommitdiffstats
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
parenttheme: remove event gaps in enlightenment window frames (diff)
downloadefl-3b50c86985207a4a486860db35079d69911a1e73.tar.gz
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)
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;