summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-02-27 15:49:19 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-02-28 11:14:56 +0000
commitb9049925f3ba86f1eb90427861d703c5dd44b6b3 (patch)
treefbb4597a8a505135be1f0df4cd83a95072d313a1
parent73cbc48669d20db2903d36bc028eda2a6bd64247 (diff)
evas gl - swap with damage - look for KHR extn string too
as per shortlog - look for KHR in addition to EXT for swap with damage region extn detection.
-rw-r--r--src/modules/evas/engines/eglfs/evas_engine.c3
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c3
-rw-r--r--src/modules/evas/engines/gl_x11/evas_engine.c3
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/src/modules/evas/engines/eglfs/evas_engine.c b/src/modules/evas/engines/eglfs/evas_engine.c
index 0574127..84d043b 100644
--- a/src/modules/evas/engines/eglfs/evas_engine.c
+++ b/src/modules/evas/engines/eglfs/evas_engine.c
@@ -233,7 +233,8 @@ gl_extn_veto(Render_Engine *re)
233 glsym_eglSwapBuffersWithDamage = NULL; 233 glsym_eglSwapBuffersWithDamage = NULL;
234 } 234 }
235 if (!strstr(str, "EGL_EXT_buffer_age")) _extn_have_buffer_age = 0; 235 if (!strstr(str, "EGL_EXT_buffer_age")) _extn_have_buffer_age = 0;
236 if (!strstr(str, "EGL_EXT_swap_buffers_with_damage")) 236 if ((!strstr(str, "EGL_EXT_swap_buffers_with_damage")) &&
237 (!strstr(str, "EGL_KHR_swap_buffers_with_damage")))
237 glsym_eglSwapBuffersWithDamage = NULL; 238 glsym_eglSwapBuffersWithDamage = NULL;
238 } 239 }
239 else 240 else
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 6333aaf..4f168df 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -269,7 +269,8 @@ gl_extn_veto(Render_Engine *re)
269 if (!_ckext(str, "EGL_KHR_partial_update")) 269 if (!_ckext(str, "EGL_KHR_partial_update"))
270 glsym_eglSetDamageRegionKHR = NULL; 270 glsym_eglSetDamageRegionKHR = NULL;
271 271
272 if (!_ckext(str, "EGL_EXT_swap_buffers_with_damage")) 272 if ((!_ckext(str, "EGL_EXT_swap_buffers_with_damage")) &&
273 (!_ckext(str, "EGL_KHR_swap_buffers_with_damage")))
273 glsym_eglSwapBuffersWithDamage = NULL; 274 glsym_eglSwapBuffersWithDamage = NULL;
274 if (_ckext(str, "EGL_EXT_image_dma_buf_import")) 275 if (_ckext(str, "EGL_EXT_image_dma_buf_import"))
275 dmabuf_present = EINA_TRUE; 276 dmabuf_present = EINA_TRUE;
diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c
index 82e2517..1d63eaa 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -1476,7 +1476,8 @@ gl_extn_veto(Render_Engine *re)
1476 ) 1476 )
1477 extn_have_y_inverted = 0; 1477 extn_have_y_inverted = 0;
1478 } 1478 }
1479 if (!strstr(str, "EGL_EXT_swap_buffers_with_damage")) 1479 if ((!strstr(str, "EGL_EXT_swap_buffers_with_damage")) &&
1480 (!strstr(str, "EGL_KHR_swap_buffers_with_damage")))
1480 { 1481 {
1481 glsym_eglSwapBuffersWithDamage = NULL; 1482 glsym_eglSwapBuffersWithDamage = NULL;
1482 } 1483 }
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 9e8b6ea..024e794 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -223,7 +223,8 @@ gl_extn_veto(Render_Engine *re)
223 ) 223 )
224 extn_have_y_inverted = EINA_FALSE; 224 extn_have_y_inverted = EINA_FALSE;
225 } 225 }
226 if (!strstr(str, "EGL_EXT_swap_buffers_with_damage")) 226 if ((!strstr(str, "EGL_EXT_swap_buffers_with_damage")) &&
227 (!strstr(str, "EGL_KHR_swap_buffers_with_damage")))
227 { 228 {
228 glsym_eglSwapBuffersWithDamage = NULL; 229 glsym_eglSwapBuffersWithDamage = NULL;
229 } 230 }