Mercurial > MadButterfly
comparison include/mb_graph_engine_openvg.h @ 1080:394d7d4c0673 openvg
Fix issue that tank does not update window with OpenVG.
It was caused by
- invalid attribute list,
- invalid config for the context, and
- forget to call eglSwapBuffers().
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 02 Dec 2010 12:22:55 +0800 |
parents | e224f496e6b8 |
children | af74a96e6624 |
comparison
equal
deleted
inserted
replaced
1079:c5255cc77143 | 1080:394d7d4c0673 |
---|---|
110 void *surface; | 110 void *surface; |
111 mbe_t *asso_mbe; /* There is a association between | 111 mbe_t *asso_mbe; /* There is a association between |
112 * surface and mbe */ | 112 * surface and mbe */ |
113 _ge_openvg_img_t *asso_img; | 113 _ge_openvg_img_t *asso_img; |
114 int w, h; | 114 int w, h; |
115 mb_img_fmt_t fmt; | |
115 }; | 116 }; |
116 | 117 |
117 struct _ge_openvg_pattern { | 118 struct _ge_openvg_pattern { |
118 _ge_openvg_img_t *asso_img; | 119 _ge_openvg_img_t *asso_img; |
119 VGfloat mtx[9]; | 120 VGfloat mtx[9]; |