forked from enlightenment/efl
evas: provide ector with a way to get GL symbol.
This commit is contained in:
parent
e3238c5620
commit
34a892dbab
|
@ -2667,6 +2667,9 @@ module_open(Evas_Module *em)
|
|||
return 0;
|
||||
}
|
||||
|
||||
ector_init();
|
||||
ector_glsym_set(dlsym, RTLD_DEFAULT);
|
||||
|
||||
/* store it for later use */
|
||||
func = pfunc;
|
||||
/* now to override methods */
|
||||
|
@ -2810,6 +2813,7 @@ module_open(Evas_Module *em)
|
|||
static void
|
||||
module_close(Evas_Module *em EINA_UNUSED)
|
||||
{
|
||||
ector_shutdown();
|
||||
eina_log_domain_unregister(_evas_engine_GL_log_dom);
|
||||
evas_gl_common_module_close();
|
||||
}
|
||||
|
|
|
@ -5269,7 +5269,9 @@ module_open(Evas_Module *em)
|
|||
eina_mempool_add("chained_mempool", "Evas_Thread_Command_Ector_Surface",
|
||||
NULL, sizeof(Evas_Thread_Command_Ector_Surface), 128);
|
||||
|
||||
ector_init();
|
||||
init_gl();
|
||||
ector_glsym_set(dlsym, RTLD_DEFAULT);
|
||||
evas_common_pipe_init();
|
||||
|
||||
em->functions = (void *)(&func);
|
||||
|
@ -5280,6 +5282,7 @@ module_open(Evas_Module *em)
|
|||
static void
|
||||
module_close(Evas_Module *em EINA_UNUSED)
|
||||
{
|
||||
ector_shutdown();
|
||||
eina_mempool_del(_mp_command_rect);
|
||||
eina_mempool_del(_mp_command_line);
|
||||
eina_mempool_del(_mp_command_polygon);
|
||||
|
|
Loading…
Reference in New Issue