Searched refs:texture (Results 1 – 2 of 2) sorted by relevance
158 if (!font || !font->texture || (gr_current & alpha_mask) == 0) return; in gr_text()160 if (font->texture->pixel_bytes != 1) { in gr_text()165 bold = bold && (font->texture->height != font->char_height); in gr_text()179 const uint8_t* src_p = font->texture->data() + ((ch - ' ') * font->char_width) + in gr_text()180 (bold ? font->char_height * font->texture->row_bytes : 0); in gr_text()183 TextBlend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text()322 int res = res_create_alpha_surface(name, &(font->texture)); in gr_init_font()331 font->char_width = font->texture->width / 96; in gr_init_font()332 font->char_height = font->texture->height / 2; in gr_init_font()
87 GRSurface* texture; member