Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp159 if (!font || !font->texture || (gr_current & alpha_mask) == 0) return; in gr_text()
161 if (font->texture->pixel_bytes != 1) { in gr_text()
166 bold = bold && (font->texture->height != font->char_height); in gr_text()
180 const uint8_t* src_p = font->texture->data() + ((ch - ' ') * font->char_width) + in gr_text()
181 (bold ? font->char_height * font->texture->row_bytes : 0); in gr_text()
184 TextBlend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text()
323 int res = res_create_alpha_surface(name, &(font->texture)); in gr_init_font()
332 font->char_width = font->texture->width / 96; in gr_init_font()
333 font->char_height = font->texture->height / 2; in gr_init_font()
/bootable/recovery/minui/include/minui/
Dminui.h87 GRSurface* texture; member