Define which functions this engine will override from the
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:15:05 +0000 (09:15 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:15:05 +0000 (09:15 +0000)
software_generic functions.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83228

src/modules/evas/engines/wayland_shm/evas_engine.c

index 552a66a..7d06d37 100644 (file)
@@ -159,6 +159,22 @@ module_open(Evas_Module *em)
    /* copy base functions from the software_generic engine */
    func = pfunc;
 
+   /* override any engine specific functions that we provide */
+#define ORD(f) EVAS_API_OVERRIDE(f, &func, eng_)
+   ORD(info);
+   ORD(info_free);
+   ORD(setup);
+   ORD(output_free);
+   ORD(output_resize);
+   ORD(output_tile_size_set);
+   ORD(output_redraws_rect_add);
+   ORD(output_redraws_rect_del);
+   ORD(output_redraws_clear);
+   ORD(output_redraws_next_update_get);
+   ORD(output_redraws_next_update_push);
+   ORD(output_flush);
+   ORD(output_idle_flush);
+
    return 0;
 }