Searched defs:surface (Results 1 - 3 of 3) sorted by relevance

/bootable/recovery/minui/
H A Dresources.c41 gr_surface surface = (gr_surface) temp;
42 surface->data = temp + sizeof(GRSurface) +
44 return surface;
141 gr_surface surface; local
143 surface = malloc_surface(width * height * 4);
144 if (surface == NULL) return NULL;
146 surface->width = width;
147 surface->height = height;
148 surface->row_bytes = width * 4;
149 surface
200 gr_surface surface = NULL; local
235 gr_surface* surface = NULL; local
309 gr_surface surface = NULL; local
371 gr_surface surface = NULL; local
441 res_free_surface(gr_surface surface) argument
[all...]
H A Dgraphics.c254 unsigned int gr_get_width(GRSurface* surface) { argument
255 if (surface == NULL) {
258 return surface->width;
261 unsigned int gr_get_height(GRSurface* surface) { argument
262 if (surface == NULL) {
265 return surface->height;
311 printf("create surface %d\n", result);
/bootable/recovery/
H A Dscreen_ui.cpp96 gr_surface surface = backgroundIcon[icon]; local
98 surface = installation[installingFrame];
102 int iconWidth = gr_get_width(surface);
103 int iconHeight = gr_get_height(surface);
116 gr_blit(surface, 0, 0, iconWidth, iconHeight, iconX, iconY);
327 void ScreenRecoveryUI::LoadBitmap(const char* filename, gr_surface* surface) { argument
328 int result = res_create_display_surface(filename, surface);
334 void ScreenRecoveryUI::LoadBitmapArray(const char* filename, int* frames, gr_surface** surface) { argument
335 int result = res_create_multi_display_surface(filename, frames, surface);
341 void ScreenRecoveryUI::LoadLocalizedBitmap(const char* filename, gr_surface* surface) { argument
[all...]

Completed in 706 milliseconds