Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp38 static GRFont* gr_font = NULL; variable
59 return gr_font; in gr_sys_font()
268 GRFont* font = reinterpret_cast<GRFont*>(calloc(1, sizeof(*gr_font))); in gr_init_font()
292 int res = gr_init_font("font", &gr_font); in gr_init_font()
301 gr_font = reinterpret_cast<GRFont*>(calloc(1, sizeof(*gr_font))); in gr_init_font()
302 gr_font->texture = reinterpret_cast<GRSurface*>(malloc(sizeof(*gr_font->texture))); in gr_init_font()
303 gr_font->texture->width = font.width; in gr_init_font()
304 gr_font->texture->height = font.height; in gr_init_font()
305 gr_font->texture->row_bytes = font.width; in gr_init_font()
306 gr_font->texture->pixel_bytes = 1; in gr_init_font()
[all …]