Home
last modified time | relevance | path

Searched refs:GRSurface (Results 1 – 9 of 9) sorted by relevance

/bootable/recovery/minui/
Dminui.h28 struct GRSurface { struct
49 void gr_texticon(int x, int y, GRSurface* icon); argument
53 void gr_blit(GRSurface* source, int sx, int sy, int w, int h, int dx, int dy);
54 unsigned int gr_get_width(GRSurface* surface);
55 unsigned int gr_get_height(GRSurface* surface);
98 int res_create_display_surface(const char* name, GRSurface** pSurface);
105 int* frames, GRSurface*** pSurface);
108 int res_create_alpha_surface(const char* name, GRSurface** pSurface);
117 GRSurface** pSurface);
121 void res_free_surface(GRSurface* surface);
Dresources.cpp39 static GRSurface* malloc_surface(size_t data_size) { in malloc_surface()
40 size_t size = sizeof(GRSurface) + data_size + SURFACE_DATA_ALIGNMENT; in malloc_surface()
43 GRSurface* surface = reinterpret_cast<GRSurface*>(temp); in malloc_surface()
44 surface->data = temp + sizeof(GRSurface) + in malloc_surface()
45 (SURFACE_DATA_ALIGNMENT - (sizeof(GRSurface) % SURFACE_DATA_ALIGNMENT)); in malloc_surface()
143 static GRSurface* init_display_surface(png_uint_32 width, png_uint_32 height) { in init_display_surface()
144 GRSurface* surface = malloc_surface(width * height * 4); in init_display_surface()
200 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface()
201 GRSurface* surface = NULL; in res_create_display_surface()
240 int res_create_multi_display_surface(const char* name, int* frames, GRSurface*** pSurface) { in res_create_multi_display_surface()
[all …]
Dgraphics_fbdev.cpp36 static GRSurface* fbdev_init(minui_backend*);
37 static GRSurface* fbdev_flip(minui_backend*);
41 static GRSurface gr_framebuffer[2];
43 static GRSurface* gr_draw = NULL;
82 static GRSurface* fbdev_init(minui_backend* backend) { in fbdev_init()
143 memcpy(gr_framebuffer+1, gr_framebuffer, sizeof(GRSurface)); in fbdev_init()
156 gr_draw = (GRSurface*) malloc(sizeof(GRSurface)); in fbdev_init()
157 memcpy(gr_draw, gr_framebuffer, sizeof(GRSurface)); in fbdev_init()
177 static GRSurface* fbdev_flip(minui_backend* backend __unused) { in fbdev_flip()
Dgraphics.h25 GRSurface* (*init)(minui_backend*);
30 GRSurface* (*flip)(minui_backend*);
Dgraphics.cpp39 GRSurface* texture;
56 static GRSurface* gr_draw = NULL;
137 void gr_texticon(int x, int y, GRSurface* icon) { in gr_texticon()
232 void gr_blit(GRSurface* source, int sx, int sy, int w, int h, int dx, int dy) { in gr_blit()
256 unsigned int gr_get_width(GRSurface* surface) { in gr_get_width()
263 unsigned int gr_get_height(GRSurface* surface) { in gr_get_height()
285 gr_font->texture = reinterpret_cast<GRSurface*>(malloc(sizeof(*gr_font->texture))); in gr_init_font()
309 GRSurface** images;
329 GRSurface* frame = images[x%frames];
Dgraphics_adf.cpp33 GRSurface base;
50 static GRSurface* adf_flip(minui_backend *backend);
137 static GRSurface* adf_init(minui_backend *backend) in adf_init()
142 GRSurface* ret; in adf_init()
196 static GRSurface* adf_flip(minui_backend *backend) in adf_flip()
Dgraphics_drm.cpp37 GRSurface base;
349 static GRSurface* drm_init(minui_backend* backend __unused) { in drm_init()
444 static GRSurface* drm_flip(minui_backend* backend __unused) { in drm_flip()
/bootable/recovery/
Dscreen_ui.h76 GRSurface* backgroundIcon[5];
77 GRSurface* backgroundText[5];
78 GRSurface** installation;
79 GRSurface* progressBarEmpty;
80 GRSurface* progressBarFill;
81 GRSurface* stageMarkerEmpty;
82 GRSurface* stageMarkerFill;
135 void LoadBitmap(const char* filename, GRSurface** surface);
136 void LoadBitmapArray(const char* filename, int* frames, GRSurface*** surface);
137 void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
Dscreen_ui.cpp93 GRSurface* surface = backgroundIcon[icon]; in draw_background_locked()
97 GRSurface* text_surface = backgroundText[icon]; in draw_background_locked()
136 GRSurface* icon = installation[installingFrame]; in draw_progress_locked()
361 void ScreenRecoveryUI::LoadBitmap(const char* filename, GRSurface** surface) { in LoadBitmap()
368 void ScreenRecoveryUI::LoadBitmapArray(const char* filename, int* frames, GRSurface*** surface) { in LoadBitmapArray()
375 void ScreenRecoveryUI::LoadLocalizedBitmap(const char* filename, GRSurface** surface) { in LoadLocalizedBitmap()