Lines Matching refs:row_bytes
179 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; 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()
204 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon()
207 TextBlend(src_p, icon->row_bytes, dst_p, row_pixels, icon->width, icon->height); in gr_texticon()
223 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
224 memset(gr_draw->data(), gr_current & 0xff, gr_draw->height * gr_draw->row_bytes); in gr_clear()
227 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear()
246 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_fill()
275 int src_row_pixels = source->row_bytes / source->pixel_bytes; in gr_blit()
276 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_blit()
278 reinterpret_cast<const uint32_t*>(source->data()) + sy * source->row_bytes / 4 + sx; in gr_blit()
292 const uint8_t* src_p = source->data() + sy * source->row_bytes + sx * source->pixel_bytes; in gr_blit()
293 uint8_t* dst_p = gr_draw->data() + dy * gr_draw->row_bytes + dx * gr_draw->pixel_bytes; in gr_blit()
297 src_p += source->row_bytes; in gr_blit()
298 dst_p += gr_draw->row_bytes; in gr_blit()