#include "eglcommon.h" #include #include #include #include const VGfloat white_color[4] = {1.0, 1.0, 1.0, 1.0}; const VGfloat color[4] = {1.0, 1.0, 1.0, 0.5}; VGfloat clearColor[] = {1.0f, 0.0f, 0.0f, 1.0f};/* red color */ VGImage parent; VGPaint fill; static void init(void) { VGImage child1, child2; VGubyte *data; VGuint LUT[256]; VGint i; data = (VGubyte *)malloc(sizeof(VGubyte)*window_width()*window_height()); for (i=0;i