forked from enlightenment/efl
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.
This commit is contained in:
parent
73cbc48669
commit
b9049925f3
|
@ -233,7 +233,8 @@ gl_extn_veto(Render_Engine *re)
|
||||||
glsym_eglSwapBuffersWithDamage = NULL;
|
glsym_eglSwapBuffersWithDamage = NULL;
|
||||||
}
|
}
|
||||||
if (!strstr(str, "EGL_EXT_buffer_age")) _extn_have_buffer_age = 0;
|
if (!strstr(str, "EGL_EXT_buffer_age")) _extn_have_buffer_age = 0;
|
||||||
if (!strstr(str, "EGL_EXT_swap_buffers_with_damage"))
|
if ((!strstr(str, "EGL_EXT_swap_buffers_with_damage")) &&
|
||||||
|
(!strstr(str, "EGL_KHR_swap_buffers_with_damage")))
|
||||||
glsym_eglSwapBuffersWithDamage = NULL;
|
glsym_eglSwapBuffersWithDamage = NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -269,7 +269,8 @@ gl_extn_veto(Render_Engine *re)
|
||||||
if (!_ckext(str, "EGL_KHR_partial_update"))
|
if (!_ckext(str, "EGL_KHR_partial_update"))
|
||||||
glsym_eglSetDamageRegionKHR = NULL;
|
glsym_eglSetDamageRegionKHR = NULL;
|
||||||
|
|
||||||
if (!_ckext(str, "EGL_EXT_swap_buffers_with_damage"))
|
if ((!_ckext(str, "EGL_EXT_swap_buffers_with_damage")) &&
|
||||||
|
(!_ckext(str, "EGL_KHR_swap_buffers_with_damage")))
|
||||||
glsym_eglSwapBuffersWithDamage = NULL;
|
glsym_eglSwapBuffersWithDamage = NULL;
|
||||||
if (_ckext(str, "EGL_EXT_image_dma_buf_import"))
|
if (_ckext(str, "EGL_EXT_image_dma_buf_import"))
|
||||||
dmabuf_present = EINA_TRUE;
|
dmabuf_present = EINA_TRUE;
|
||||||
|
|
|
@ -1476,7 +1476,8 @@ gl_extn_veto(Render_Engine *re)
|
||||||
)
|
)
|
||||||
extn_have_y_inverted = 0;
|
extn_have_y_inverted = 0;
|
||||||
}
|
}
|
||||||
if (!strstr(str, "EGL_EXT_swap_buffers_with_damage"))
|
if ((!strstr(str, "EGL_EXT_swap_buffers_with_damage")) &&
|
||||||
|
(!strstr(str, "EGL_KHR_swap_buffers_with_damage")))
|
||||||
{
|
{
|
||||||
glsym_eglSwapBuffersWithDamage = NULL;
|
glsym_eglSwapBuffersWithDamage = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -223,7 +223,8 @@ gl_extn_veto(Render_Engine *re)
|
||||||
)
|
)
|
||||||
extn_have_y_inverted = EINA_FALSE;
|
extn_have_y_inverted = EINA_FALSE;
|
||||||
}
|
}
|
||||||
if (!strstr(str, "EGL_EXT_swap_buffers_with_damage"))
|
if ((!strstr(str, "EGL_EXT_swap_buffers_with_damage")) &&
|
||||||
|
(!strstr(str, "EGL_KHR_swap_buffers_with_damage")))
|
||||||
{
|
{
|
||||||
glsym_eglSwapBuffersWithDamage = NULL;
|
glsym_eglSwapBuffersWithDamage = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue