Enlightenment CVS committal Author : doursse Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_main.c Log Message: xcb port =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_main.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- evas_main.c 17 Aug 2004 06:03:38 -0000 1.16 +++ evas_main.c 20 Mar 2005 23:44:21 -0000 1.17 @@ -3,6 +3,9 @@ #ifdef BUILD_ENGINE_SOFTWARE_X11 #include "evas_engine_api_software_x11.h" #endif +#ifdef BUILD_ENGINE_SOFTWARE_XCB +#include "evas_engine_api_software_xcb.h" +#endif #ifdef BUILD_ENGINE_DIRECTFB #include "evas_engine_api_directfb.h" #endif @@ -222,6 +225,11 @@ e->engine.func = &evas_engine_software_x11_func; else #endif +#ifdef BUILD_ENGINE_SOFTWARE_XCB + if (e->output.render_method == RENDER_METHOD_SOFTWARE_XCB) + e->engine.func = &evas_engine_software_xcb_func; + else +#endif #ifdef BUILD_ENGINE_GL_X11 if (e->output.render_method == RENDER_METHOD_GL_X11) e->engine.func = &evas_engine_gl_x11_func; @@ -663,10 +671,13 @@ evas_render_method_lookup(const char *name) { if (!name) return RENDER_METHOD_INVALID; - + #ifdef BUILD_ENGINE_SOFTWARE_X11 if (!strcmp(name, "software_x11")) return RENDER_METHOD_SOFTWARE_X11; #endif +#ifdef BUILD_ENGINE_SOFTWARE_XCB + if (!strcmp(name, "software_xcb")) return RENDER_METHOD_SOFTWARE_XCB; +#endif #ifdef BUILD_ENGINE_GL_X11 if (!strcmp(name, "gl_x11")) return RENDER_METHOD_GL_X11; #endif @@ -733,6 +744,9 @@ #ifdef BUILD_ENGINE_SOFTWARE_X11 methods = evas_list_append(methods, strdup("software_x11")); +#endif +#ifdef BUILD_ENGINE_SOFTWARE_XCB + methods = evas_list_append(methods, strdup("software_xcb")); #endif #ifdef BUILD_ENGINE_GL_X11 methods = evas_list_append(methods, strdup("gl_x11")); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs