Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/minui/
Dresources.c48 GGLSurface* surface = NULL; in res_create_surface() local
112 surface = malloc(sizeof(GGLSurface) + pixelSize); in res_create_surface()
113 if (surface == NULL) { in res_create_surface()
117 unsigned char* pData = (unsigned char*) (surface + 1); in res_create_surface()
118 surface->version = sizeof(GGLSurface); in res_create_surface()
119 surface->width = width; in res_create_surface()
120 surface->height = height; in res_create_surface()
121 surface->stride = width; /* Yes, pixels, not bytes */ in res_create_surface()
122 surface->data = pData; in res_create_surface()
123 surface->format = (channels == 3) ? in res_create_surface()
[all …]
Dminui.h46 unsigned int gr_get_width(gr_surface surface);
47 unsigned int gr_get_height(gr_surface surface);
76 void res_free_surface(gr_surface surface);
Dgraphics.c288 unsigned int gr_get_width(gr_surface surface) { in gr_get_width() argument
289 if (surface == NULL) { in gr_get_width()
292 return ((GGLSurface*) surface)->width; in gr_get_width()
295 unsigned int gr_get_height(gr_surface surface) { in gr_get_height() argument
296 if (surface == NULL) { in gr_get_height()
299 return ((GGLSurface*) surface)->height; in gr_get_height()
/bootable/recovery/
Dscreen_ui.cpp96 gr_surface surface = installationOverlay[frame]; in draw_install_overlay_locked() local
97 int iconWidth = gr_get_width(surface); in draw_install_overlay_locked()
98 int iconHeight = gr_get_height(surface); in draw_install_overlay_locked()
99 gr_blit(surface, 0, 0, iconWidth, iconHeight, in draw_install_overlay_locked()
112 gr_surface surface = backgroundIcon[icon]; in draw_background_locked() local
115 int iconWidth = gr_get_width(surface); in draw_background_locked()
116 int iconHeight = gr_get_height(surface); in draw_background_locked()
126 gr_blit(surface, 0, 0, iconWidth, iconHeight, iconX, iconY); in draw_background_locked()
312 void ScreenRecoveryUI::LoadBitmap(const char* filename, gr_surface* surface) { in LoadBitmap() argument
313 int result = res_create_surface(filename, surface); in LoadBitmap()
[all …]
Dscreen_ui.h110 void LoadBitmap(const char* filename, gr_surface* surface);
111 void LoadLocalizedBitmap(const char* filename, gr_surface* surface);