summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2012-10-10 01:23:27 +0000
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2012-10-10 01:23:27 +0000
commit9937b9d336150e7a5c461ccd9f316e5298a5eb2d (patch)
tree75cf1868a429364b74fcd7de201fb81d3bc57a17 /legacy/evas/src/modules/engines
parenta13620d1e725b3f4f69c75e753984dd4e5528374 (diff)
To fix directfb engine compilation.
Thanks to Jeremy Zurcher for this patch. Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com> SVN revision: 77685
Diffstat (limited to 'legacy/evas/src/modules/engines')
-rw-r--r--legacy/evas/src/modules/engines/directfb/evas_engine.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/legacy/evas/src/modules/engines/directfb/evas_engine.c b/legacy/evas/src/modules/engines/directfb/evas_engine.c
index a6dce6af19..ec4cc6583d 100644
--- a/legacy/evas/src/modules/engines/directfb/evas_engine.c
+++ b/legacy/evas/src/modules/engines/directfb/evas_engine.c
@@ -531,7 +531,7 @@ evas_cache_image_dfb_dirty(Engine_Image_Entry *dst, const Engine_Image_Entry *sr
531} 531}
532 532
533static void 533static void
534evas_cache_image_dfb_dirty_region(Engine_Image_Entry *eim, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__) 534evas_cache_image_dfb_dirty_region(Engine_Image_Entry *eim, unsigned int x __UNUSED__, unsigned int y __UNUSED__, unsigned int w __UNUSED__, unsigned int h __UNUSED__)
535{ 535{
536 RGBA_Image *im; 536 RGBA_Image *im;
537 537
@@ -832,8 +832,9 @@ _dfb_output_setup(int w, int h, const struct Evas_Engine_DirectFB_Spec *spec)
832} 832}
833 833
834static int 834static int
835evas_engine_dfb_setup(Evas *e, void *in) 835evas_engine_dfb_setup(Evas *eo_e, void *in)
836{ 836{
837 Evas_Public_Data *e = eo_data_get(eo_e, EVAS_CLASS);
837 Evas_Engine_Info_DirectFB *info = in; 838 Evas_Engine_Info_DirectFB *info = in;
838 839
839 if (!e->engine.data.output) 840 if (!e->engine.data.output)
@@ -1036,7 +1037,7 @@ evas_engine_dfb_output_idle_flush(void *data)
1036 * memory. 1037 * memory.
1037 */ 1038 */
1038static void 1039static void
1039evas_engine_dfb_font_draw(void *data, void *context, void *surface, void *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, Evas_Text_Props *intl_props) 1040evas_engine_dfb_font_draw(void *data, void *context, void *surface, Evas_Font_Set *font __UNUSED__, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, Evas_Text_Props *intl_props)
1040{ 1041{
1041 DirectFB_Engine_Image_Entry *eim = surface; 1042 DirectFB_Engine_Image_Entry *eim = surface;
1042 IDirectFBSurface *screen; 1043 IDirectFBSurface *screen;
@@ -1269,7 +1270,7 @@ evas_engine_dfb_image_dirty_region(void *data __UNUSED__, void *image, int x, in
1269} 1270}
1270 1271
1271static void * 1272static void *
1272evas_engine_dfb_image_data_get(void *data __UNUSED__, void *image, int to_write, DATA32** image_data) 1273evas_engine_dfb_image_data_get(void *data __UNUSED__, void *image, int to_write, DATA32** image_data, int *err __UNUSED__)
1273{ 1274{
1274 DirectFB_Engine_Image_Entry *deie = image; 1275 DirectFB_Engine_Image_Entry *deie = image;
1275 Engine_Image_Entry *ce; 1276 Engine_Image_Entry *ce;