Lines Matching refs:row_bytes
190 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text()
192 (bold ? font->char_height * font->texture->row_bytes : 0); in gr_text()
195 text_blend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text()
216 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon()
220 text_blend(src_p, icon->row_bytes, dst_p, row_pixels, icon->width, icon->height); in gr_texticon()
240 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
241 memset(gr_draw->data, gr_current & 0xff, gr_draw->height * gr_draw->row_bytes); in gr_clear()
245 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear()
268 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_fill()
301 int src_row_pixels = source->row_bytes / source->pixel_bytes; in gr_blit()
302 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_blit()
303 uint32_t* src_py = (uint32_t*)(source->data) + sy * source->row_bytes / 4 + sx; in gr_blit()
317 unsigned char* src_p = source->data + sy * source->row_bytes + sx * source->pixel_bytes; in gr_blit()
318 unsigned char* dst_p = gr_draw->data + dy * gr_draw->row_bytes + dx * gr_draw->pixel_bytes; in gr_blit()
323 src_p += source->row_bytes; in gr_blit()
324 dst_p += gr_draw->row_bytes; in gr_blit()
363 gr_font->texture->row_bytes = font.width; in gr_init_font()