Searched refs:gr_draw (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/minui/ |
D | graphics.cpp | 43 static GRSurface* gr_draw = nullptr; variable 49 return x < 0 || x >= (swapped ? gr_draw->height : gr_draw->width) || y < 0 || in outside() 50 y >= (swapped ? gr_draw->width : gr_draw->height); in outside() 179 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text() 182 uint32_t* dst_p = PixelAt(gr_draw, x, y, row_pixels); in gr_text() 204 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon() 206 uint32_t* dst_p = PixelAt(gr_draw, x, y, row_pixels); 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() 226 uint32_t* px = reinterpret_cast<uint32_t*>(gr_draw->data()); in gr_clear() [all …]
|
D | graphics_fbdev.cpp | 128 gr_draw = gr_framebuffer[1].get(); in Init() 129 memset(gr_draw->buffer_, 0, gr_draw->height * gr_draw->row_bytes); in Init() 133 printf("framebuffer: %d (%zu x %zu)\n", fb_fd.get(), gr_draw->width, gr_draw->height); in Init() 138 return gr_draw; in Init() 145 gr_draw = gr_framebuffer[displayed_buffer].get(); in Flip() 149 memcpy(gr_framebuffer[0]->buffer_, gr_draw->buffer_, gr_draw->height * gr_draw->row_bytes); in Flip() 151 return gr_draw; in Flip()
|
D | graphics_fbdev.h | 65 GRSurfaceFbdev* gr_draw{ nullptr };
|