Evas (wayland_egl): Update code to use more descriptive name for
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 23:28:39 +0000 (23:28 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 23:28:39 +0000 (23:28 +0000)
engine_info_structure.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67100 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/wayland_egl/evas_engine.c
src/modules/engines/wayland_egl/evas_engine.h
src/modules/engines/wayland_egl/evas_wl_main.c

index 70c8f9d..7b705f6 100644 (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));
index 9cd0474..4482e96 100644 (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
index 303397f..949f813 100644 (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;