comparison 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
comparison
equal deleted inserted replaced
629:608f58b9b84d 630:bd18951b51d5
466 466
467 xmb_rt->w = w; 467 xmb_rt->w = w;
468 xmb_rt->h = h; 468 xmb_rt->h = h;
469 X_init_connection(display_name, w, h, &xmb_rt->display, 469 X_init_connection(display_name, w, h, &xmb_rt->display,
470 &xmb_rt->visual, &xmb_rt->win); 470 &xmb_rt->visual, &xmb_rt->win);
471 #ifdef OPENVG_GRAPH_ENGINE
472 _ge_openvg_disp_id = xmb_rt->display;
473 #endif
474
475 mbe_init();
471 476
472 xmb_rt->surface = 477 xmb_rt->surface =
473 mbe_image_surface_create(MB_IFMT_ARGB32, w, h); 478 mbe_image_surface_create(MB_IFMT_ARGB32, w, h);
474 479
475 xmb_rt->surface_ptn = 480 xmb_rt->surface_ptn =