jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c67db4c47b72098ed84318ebf39810ee3076793c

commit c67db4c47b72098ed84318ebf39810ee3076793c
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Apr 3 17:28:57 2014 +0900

    Evas gl: Fix dlsym usage for glCompressedTexImage2d
    
    This symbol should be part of the loaded libraries, can be found
    using dlsym, even if eglGetProcAddress() returns NULL.
    
    Add etc1 flag in the debug output.
---
 src/modules/evas/engines/gl_common/evas_gl_context.c | 3 +++
 1 file changed, 3 insertions(+)

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 7bee00c..7a0b215 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_context.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_context.c
@@ -216,6 +216,7 @@ gl_symbols(void)
    FINDSYM(secsym_eglGetImageAttribSEC, "eglGetImageAttribSEC", 
secsym_func_uint);
 #endif
    FINDSYM(glsym_glCompressedTexImage2d, "glCompressedTexImage2D", 
glsym_func_void);
+   FINDSYM2(glsym_glCompressedTexImage2d, "glCompressedTexImage2D", 
glsym_func_void);
 }
 
 static void shader_array_flush(Evas_Engine_GL_Context *gc);
@@ -730,6 +731,7 @@ evas_gl_common_context_new(void)
                    "non-power-2 tex %i\n"
                    "rect tex %i\n"
                    "bgra : %i\n"
+                   "etc1 : %i\n"
                    "max ansiotropic filtering: %3.3f\n"
                    "egl sec map image: %i\n"
                    "max vertex count: %i\n"
@@ -749,6 +751,7 @@ evas_gl_common_context_new(void)
                    (int)shared->info.tex_npo2,
                    (int)shared->info.tex_rect,
                    (int)shared->info.bgra,
+                   (int)shared->info.etc1,
                    (double)shared->info.anisotropic,
                    (int)shared->info.sec_image_map,
                    (int)shared->info.max_vertex_elements,

-- 


Reply via email to