Home
last modified time | relevance | path

Searched refs:row_bytes (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp126 (bold ? font->cheight * font->texture->row_bytes : 0); in gr_text()
127 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_text()
129 text_blend(src_p, font->texture->row_bytes, in gr_text()
130 dst_p, gr_draw->row_bytes, in gr_text()
151 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; in gr_texticon()
153 text_blend(src_p, icon->row_bytes, in gr_texticon()
154 dst_p, gr_draw->row_bytes, in gr_texticon()
176 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); in gr_clear()
186 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); in gr_clear()
201 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes; in gr_fill()
[all …]
Dgraphics_fbdev.cpp134 gr_framebuffer[0].row_bytes = fi.line_length; in fbdev_init()
137 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); in fbdev_init()
145 gr_framebuffer[0].height * gr_framebuffer[0].row_bytes; in fbdev_init()
158 gr_draw->data = (unsigned char*) malloc(gr_draw->height * gr_draw->row_bytes); in fbdev_init()
165 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes); in fbdev_init()
187 gr_draw->height * gr_draw->row_bytes); in fbdev_flip()
Dresources.cpp147 surface->row_bytes = width * 4; in init_display_surface()
226 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width); in res_create_display_surface()
305 (y / *frames) * surface[frame]->row_bytes; in res_create_multi_display_surface()
351 surface->row_bytes = width; in res_create_alpha_surface()
361 p_row = surface->data + y * surface->row_bytes; in res_create_alpha_surface()
403 surface->row_bytes = 0; in res_create_localized_alpha_surface()
434 surface->row_bytes = w; in res_create_localized_alpha_surface()
Dminui.h31 int row_bytes; member
Dgraphics_drm.cpp93 surface->base.row_bytes * surface->base.height); in drm_destroy_surface()
193 surface->base.row_bytes = create_dumb.pitch; in drm_create_surface()
197 surface->base.height * surface->base.row_bytes, in drm_create_surface()
Dgraphics_adf.cpp63 surf->base.row_bytes = surf->pitch; in adf_surface_init()