Searched refs:gr_draw (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/minui/ |
D | graphics.cpp | 41 static GRSurface* gr_draw = nullptr; variable 50 return x < 0 || x >= (swapped ? gr_draw->height : gr_draw->width) || y < 0 || in outside() 51 y >= (swapped ? gr_draw->width : gr_draw->height); in outside() 222 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text() 225 uint32_t* dst_p = PixelAt(gr_draw, x, y, row_pixels); in gr_text() 247 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon() 249 uint32_t* dst_p = PixelAt(gr_draw, x, y, row_pixels); in gr_texticon() 268 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear() 269 memset(gr_draw->data(), gr_current & 0xff, gr_draw->height * gr_draw->row_bytes); in gr_clear() 271 uint32_t* px = reinterpret_cast<uint32_t*>(gr_draw->data()); in gr_clear() [all …]
|
D | graphics_fbdev.cpp | 141 gr_draw = gr_framebuffer[1].get(); in Init() 142 memset(gr_draw->buffer_, 0, gr_draw->height * gr_draw->row_bytes); in Init() 146 printf("framebuffer: %d (%zu x %zu)\n", fb_fd.get(), gr_draw->width, gr_draw->height); in Init() 149 return gr_draw; in Init() 156 gr_draw = gr_framebuffer[displayed_buffer].get(); in Flip() 160 memcpy(gr_framebuffer[0]->buffer_, gr_draw->buffer_, gr_draw->height * gr_draw->row_bytes); in Flip() 162 return gr_draw; in Flip()
|
D | graphics_fbdev.h | 67 GRSurfaceFbdev* gr_draw{ nullptr };
|