Hi,
working on ffi-efl (https://github.com/jeremyz/ffi-efl),
regarding to what I seen in other evas engines,
Evas_Engine_buffer struct should be updated like this


--- src/modules/engines/buffer/Evas_Engine_Buffer.h.orig        2011-04-26 
13:45:19.060124298 +0200
+++ src/modules/engines/buffer/Evas_Engine_Buffer.h     2011-04-26 
13:44:16.013799291 +0200
@@ -26,11 +26,11 @@
       int   color_key_r;
       int   color_key_g;
       int   color_key_b;
-      struct {
+   } info;
+   struct {
         void * (*new_update_region) (int x, int y, int w, int h, int 
*row_bytes);
         void   (*free_update_region) (int x, int y, int w, int h, void *data);
-      } func;
-   } info;
+   } func;
 
    /* non-blocking or blocking mode */
    Evas_Engine_Render_Mode render_mode;


--- src/modules/engines/buffer/evas_engine.c.orig       2011-04-26 
13:45:19.076790859 +0200
+++ src/modules/engines/buffer/evas_engine.c    2011-04-26 13:44:10.613828629 
+0200
@@ -155,8 +155,8 @@
                      info->info.color_key_r,
                      info->info.color_key_g,
                      info->info.color_key_b,
-                     info->info.func.new_update_region,
-                     info->info.func.free_update_region);
+                     info->func.new_update_region,
+                     info->func.free_update_region);
    if (e->engine.data.output)
      eng_output_free(e->engine.data.output);
    e->engine.data.output = re;

regards
Jérémy

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to