Home | History | Annotate | Download | only in test

Lines Matching defs:frameSurface

98    GGLSurface frameSurface = {0};
102 frameSurface.data = PresentDrawingSurface();
105 frameSurface.data = (unsigned int *)malloc(width * height * 4);
108 frameSurface.format = GGL_PIXEL_FORMAT_RGBA_8888;
109 frameSurface.width = width;
110 frameSurface.height = height;
172 ggl->SetBuffer(ggl, GL_COLOR_BUFFER_BIT, &frameSurface);
336 //memcpy(((GGLContext *)ggl)->frameSurface.data, ((GGLContext *)ggl)->textureState.textures[0].levels[0], width * height * 4);
362 //// ((unsigned *)frameSurface.data)[index] = ((unsigned *)textureGGLContext->textureState.textures[0].levels[0])[index];
366 // ((unsigned *)frameSurface.data)[index] = color[0];
376 unsigned pixel = ((unsigned *)frameSurface.data)[y * width + x];
379 ((unsigned *)frameSurface.data)[(y * scale + yy) * width + x * scale + xx] = pixel;
383 frameSurface.data = PresentDrawingSurface();
384 ggl->SetBuffer(ggl, GL_COLOR_BUFFER_BIT, &frameSurface);
412 ((unsigned *)frameSurface.data)[y * width + x] = (a << 24) | (b << 16) | (g << 8) | r;
425 SaveBMP("/sdcard/mesa.bmp", (unsigned *)frameSurface.data, frameSurface.width, frameSurface.height);
427 SaveBMP("mesa.bmp", (unsigned *)frameSurface.data, frameSurface.width, frameSurface.height);
434 free(frameSurface.data);