Searched refs:texture (Results 1 – 2 of 2) sorted by relevance
202 if (!font || !font->texture || (gr_current & get_alphamask()) == 0) return; in gr_text()204 if (font->texture->pixel_bytes != 1) { in gr_text()209 bold = bold && (font->texture->height != font->char_height); in gr_text()223 const uint8_t* src_p = font->texture->data() + ((ch - ' ') * font->char_width) + in gr_text()224 (bold ? font->char_height * font->texture->row_bytes : 0); in gr_text()227 TextBlend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text()368 int res = res_create_alpha_surface(name, &(font->texture)); in gr_init_font()377 font->char_width = font->texture->width / 96; in gr_init_font()378 font->char_height = font->texture->height / 2; in gr_init_font()
87 GRSurface* texture; member