diff src/X_supp.c @ 630:bd18951b51d5 openvg

Add initial code for graphic engines
author Thinker K.F. Li <thinker@branda.to>
date Mon, 19 Jul 2010 15:44:49 +0800
parents e4138c12fa8c
children 7b4e80ab671a
line wrap: on
line diff
--- a/src/X_supp.c	Sat Jul 17 21:44:23 2010 +0800
+++ b/src/X_supp.c	Mon Jul 19 15:44:49 2010 +0800
@@ -468,6 +468,11 @@
     xmb_rt->h = h;
     X_init_connection(display_name, w, h, &xmb_rt->display,
 		      &xmb_rt->visual, &xmb_rt->win);
+#ifdef OPENVG_GRAPH_ENGINE
+    _ge_openvg_disp_id = xmb_rt->display;
+#endif
+
+    mbe_init();
 
     xmb_rt->surface =
 	mbe_image_surface_create(MB_IFMT_ARGB32, w, h);