Evas (wayland_egl): Update code to use more descriptive name for

engine_info_structure.



SVN revision: 67100
This commit is contained in:
Christopher Michael 2012-01-11 23:28:39 +00:00
parent 17b8c59425
commit 42e82f9092
3 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@ typedef struct _Extension_Entry Extension_Entry;
struct _Render_Engine
{
Evas_GL_Wl_Window *win;
Evas_Engine_Info_GL_Wl *info;
Evas_Engine_Info_Wayland_Egl *info;
Evas *evas;
Tilebuf *tb;
int end;
@ -478,7 +478,7 @@ eng_info(Evas *e)
{
Evas_Engine_Info_GL_Wl *info;
info = calloc(1, sizeof(Evas_Engine_Info_GL_Wl));
info = calloc(1, sizeof(Evas_Engine_Info_Wayland_Egl));
info->magic.magic = rand();
info->func.best_depth_get = eng_best_depth_get;
info->render_mode = EVAS_RENDER_MODE_BLOCKING;
@ -489,10 +489,10 @@ eng_info(Evas *e)
static void
eng_info_free(Evas *e __UNUSED__, void *info)
{
Evas_Engine_Info_GL_Wl *in;
Evas_Engine_Info_Wayland_Egl *in;
// dont free! why bother? its not worth it
// eina_log_domain_unregister(_evas_engine_GL_X11_log_dom);
in = (Evas_Engine_Info_GL_Wl *)info;
in = (Evas_Engine_Info_Wayland_Egl *)info;
free(in);
}
@ -599,9 +599,9 @@ static int
eng_setup(Evas *e, void *in)
{
Render_Engine *re;
Evas_Engine_Info_GL_Wl *info;
Evas_Engine_Info_Wayland_Egl *info;
info = (Evas_Engine_Info_GL_Wl *)in;
info = (Evas_Engine_Info_Wayland_Egl *)in;
if (!e->engine.data.output)
{
re = calloc(1, sizeof(Render_Engine));

View File

@ -76,6 +76,6 @@ void eng_window_use(Evas_GL_Wl_Window *gw);
void eng_window_unsurf(Evas_GL_Wl_Window *gw);
void eng_window_resurf(Evas_GL_Wl_Window *gw);
int eng_best_depth_get(Evas_Engine_Info_GL_Wl *einfo);
int eng_best_depth_get(Evas_Engine_Info_Wayland_Egl *einfo);
#endif

View File

@ -309,7 +309,7 @@ eng_window_resurf(Evas_GL_Wl_Window *gw)
}
int
eng_best_depth_get(Evas_Engine_Info_GL_Wl *einfo)
eng_best_depth_get(Evas_Engine_Info_Wayland_Egl *einfo)
{
if (!einfo) return 0;
if (!einfo->info.display) return 0;