Searched refs:GRSurface (Results 1 – 11 of 11) sorted by relevance
/bootable/recovery/ |
D | screen_ui.h | 83 GRSurface* error_icon; 85 GRSurface* erasing_text; 86 GRSurface* error_text; 87 GRSurface* installing_text; 88 GRSurface* no_command_text; 90 GRSurface** introFrames; 91 GRSurface** loopFrames; 93 GRSurface* progressBarEmpty; 94 GRSurface* progressBarFill; 95 GRSurface* stageMarkerEmpty; [all …]
|
D | wear_ui.h | 84 GRSurface* backgroundIcon[5]; 85 GRSurface* *introFrames; 86 GRSurface* *loopFrames;
|
D | screen_ui.cpp | 85 GRSurface* ScreenRecoveryUI::GetCurrentFrame() { in GetCurrentFrame() 92 GRSurface* ScreenRecoveryUI::GetCurrentText() { in GetCurrentText() 147 GRSurface* stage_surface = (i < stage) ? stageMarkerFill : stageMarkerEmpty; in draw_background_locked() 153 GRSurface* text_surface = GetCurrentText(); in draw_background_locked() 166 GRSurface* frame = GetCurrentFrame(); in draw_foreground_locked() 405 void ScreenRecoveryUI::LoadBitmap(const char* filename, GRSurface** surface) { in LoadBitmap() 412 void ScreenRecoveryUI::LoadLocalizedBitmap(const char* filename, GRSurface** surface) { in LoadLocalizedBitmap() 496 introFrames = new GRSurface*[intro_frames]; in LoadAnimation() 502 loopFrames = new GRSurface*[loop_frames]; in LoadAnimation()
|
D | wear_ui.cpp | 91 GRSurface* surface; in draw_background_locked() 304 introFrames = (GRSurface**)malloc(intro_frames * sizeof(GRSurface*)); in Init() 311 loopFrames = (GRSurface**)malloc(loop_frames * sizeof(GRSurface*)); in Init()
|
/bootable/recovery/minui/ |
D | minui.h | 28 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); 100 int res_create_display_surface(const char* name, GRSurface** pSurface); 107 int* fps, GRSurface*** pSurface); 110 int res_create_alpha_surface(const char* name, GRSurface** pSurface); 119 GRSurface** pSurface); 123 void res_free_surface(GRSurface* surface);
|
D | graphics_fbdev.cpp | 36 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()
|
D | resources.cpp | 37 static GRSurface* malloc_surface(size_t data_size) { in malloc_surface() 38 size_t size = sizeof(GRSurface) + data_size + SURFACE_DATA_ALIGNMENT; in malloc_surface() 41 GRSurface* surface = reinterpret_cast<GRSurface*>(temp); in malloc_surface() 42 surface->data = temp + sizeof(GRSurface) + in malloc_surface() 43 (SURFACE_DATA_ALIGNMENT - (sizeof(GRSurface) % SURFACE_DATA_ALIGNMENT)); in malloc_surface() 141 static GRSurface* init_display_surface(png_uint_32 width, png_uint_32 height) { in init_display_surface() 142 GRSurface* surface = malloc_surface(width * height * 4); in init_display_surface() 198 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface() 199 GRSurface* surface = NULL; in res_create_display_surface() 239 GRSurface*** pSurface) { in res_create_multi_display_surface() [all …]
|
D | graphics.h | 25 GRSurface* (*init)(minui_backend*); 30 GRSurface* (*flip)(minui_backend*);
|
D | graphics.cpp | 39 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];
|
D | graphics_adf.cpp | 33 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()
|
D | graphics_drm.cpp | 37 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()
|