From 93899429ef02a04326821948ce6aa94615986d9c Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 19 Dec 2016 14:06:51 -0600 Subject: [PATCH] gl_common: fix eglCreateImageKHR query There are surprisingly few GL extensions that start with GL_EGL... This is apparently more widely deployed than OES, so let's bump its priority too. --- src/modules/evas/engines/gl_common/evas_gl_context.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c index f11d748..e0cd1f7 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_context.c +++ b/src/modules/evas/engines/gl_common/evas_gl_context.c @@ -268,16 +268,16 @@ evas_gl_symbols(void *(*GetProcAddress)(const char *name)) // stuff. this is generic zero-copy textures for gl FINDSYM(secsym_eglCreateImage, "eglCreateImage", NULL, secsym_func_void_ptr); + FINDSYM(secsym_eglCreateImage, "eglCreateImageKHR", "EGL_KHR_image_base", secsym_func_void_ptr); + FINDSYM(secsym_eglCreateImage, "eglCreateImageKHR", "EGL_KHR_image", secsym_func_void_ptr); FINDSYM(secsym_eglCreateImage, "eglCreateImageOES", "GL_OES_EGL_image_base", secsym_func_void_ptr); FINDSYM(secsym_eglCreateImage, "eglCreateImageOES", "GL_OES_EGL_image", secsym_func_void_ptr); - FINDSYM(secsym_eglCreateImage, "eglCreateImageKHR", "GL_EGL_KHR_image_base", secsym_func_void_ptr); - FINDSYM(secsym_eglCreateImage, "eglCreateImageKHR", "GL_EGL_KHR_image", secsym_func_void_ptr); FINDSYM(secsym_eglDestroyImage, "eglDestroyImage", NULL, secsym_func_uint); + FINDSYM(secsym_eglDestroyImage, "eglDestroyImageKHR", "EGL_KHR_image_base", secsym_func_uint); + FINDSYM(secsym_eglDestroyImage, "eglDestroyImageKHR", "EGL_KHR_image", secsym_func_uint); FINDSYM(secsym_eglDestroyImage, "eglDestroyImageOES", "GL_OES_EGL_image_base", secsym_func_uint); FINDSYM(secsym_eglDestroyImage, "eglDestroyImageOES", "GL_OES_EGL_image", secsym_func_uint); - FINDSYM(secsym_eglDestroyImage, "eglDestroyImageKHR", "GL_EGL_KHR_image_base", secsym_func_uint); - FINDSYM(secsym_eglDestroyImage, "eglDestroyImageKHR", "GL_EGL_KHR_image", secsym_func_uint); FINDSYM(glsym_glProgramParameteri, "glProgramParameteri", NULL, glsym_func_void); FINDSYM(glsym_glProgramParameteri, "glProgramParameteriEXT", "GL_EXT_geometry_shader4", glsym_func_void); -- 2.7.4