Lines Matching refs:data
125 unsigned char* src_p = font->texture->data + ((ch - ' ') * font->cwidth) + in gr_text()
127 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_text()
150 unsigned char* src_p = icon->data; in gr_texticon()
151 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_texticon()
176 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); in gr_clear()
178 unsigned char* px = gr_draw->data; in gr_clear()
201 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes; in gr_fill()
245 unsigned char* src_p = source->data + sy*source->row_bytes + sx*source->pixel_bytes; in gr_blit()
246 unsigned char* dst_p = gr_draw->data + dy*gr_draw->row_bytes + dx*gr_draw->pixel_bytes; in gr_blit()
292 gr_font->texture->data = reinterpret_cast<unsigned char*>(bits); in gr_init_font()
294 unsigned char data; in gr_init_font() local
296 while((data = *in++)) { in gr_init_font()
297 memset(bits, (data & 0x80) ? 255 : 0, data & 0x7f); in gr_init_font()
298 bits += (data & 0x7f); in gr_init_font()