Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.c50 GGLSurface* texture; member
232 if (!font->texture) return x; in gr_text()
234 bold = bold && (font->texture->height != font->cheight); in gr_text()
239 gl->bindTexture(gl, font->texture); in gr_text()
329 int res = res_create_surface("font", (void**)&(gr_font->texture)); in gr_init_font()
334 gr_font->cwidth = gr_font->texture->width / 96; in gr_init_font()
335 gr_font->cheight = gr_font->texture->height / 2; in gr_init_font()
340 gr_font->texture = malloc(sizeof(*gr_font->texture)); in gr_init_font()
341 gr_font->texture->width = font.width; in gr_init_font()
342 gr_font->texture->height = font.height; in gr_init_font()
[all …]