forked from enlightenment/efl
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.
This commit is contained in:
parent
018e2d33b2
commit
c67db4c47b
|
@ -216,6 +216,7 @@ gl_symbols(void)
|
||||||
FINDSYM(secsym_eglGetImageAttribSEC, "eglGetImageAttribSEC", secsym_func_uint);
|
FINDSYM(secsym_eglGetImageAttribSEC, "eglGetImageAttribSEC", secsym_func_uint);
|
||||||
#endif
|
#endif
|
||||||
FINDSYM(glsym_glCompressedTexImage2d, "glCompressedTexImage2D", glsym_func_void);
|
FINDSYM(glsym_glCompressedTexImage2d, "glCompressedTexImage2D", glsym_func_void);
|
||||||
|
FINDSYM2(glsym_glCompressedTexImage2d, "glCompressedTexImage2D", glsym_func_void);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void shader_array_flush(Evas_Engine_GL_Context *gc);
|
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"
|
"non-power-2 tex %i\n"
|
||||||
"rect tex %i\n"
|
"rect tex %i\n"
|
||||||
"bgra : %i\n"
|
"bgra : %i\n"
|
||||||
|
"etc1 : %i\n"
|
||||||
"max ansiotropic filtering: %3.3f\n"
|
"max ansiotropic filtering: %3.3f\n"
|
||||||
"egl sec map image: %i\n"
|
"egl sec map image: %i\n"
|
||||||
"max vertex count: %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_npo2,
|
||||||
(int)shared->info.tex_rect,
|
(int)shared->info.tex_rect,
|
||||||
(int)shared->info.bgra,
|
(int)shared->info.bgra,
|
||||||
|
(int)shared->info.etc1,
|
||||||
(double)shared->info.anisotropic,
|
(double)shared->info.anisotropic,
|
||||||
(int)shared->info.sec_image_map,
|
(int)shared->info.sec_image_map,
|
||||||
(int)shared->info.max_vertex_elements,
|
(int)shared->info.max_vertex_elements,
|
||||||
|
|
Loading…
Reference in New Issue