Home
last modified time | relevance | path

Searched refs:gr_draw (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp42 static GRSurface* gr_draw = nullptr; variable
48 return x < 0 || x >= (swapped ? gr_draw->height : gr_draw->width) || y < 0 || in outside()
49 y >= (swapped ? gr_draw->width : gr_draw->height); in outside()
178 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text()
181 uint32_t* dst_p = PixelAt(gr_draw, x, y, row_pixels); in gr_text()
203 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon()
205 uint32_t* dst_p = PixelAt(gr_draw, x, y, row_pixels); in gr_texticon()
222 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
223 memset(gr_draw->data(), gr_current & 0xff, gr_draw->height * gr_draw->row_bytes); in gr_clear()
225 uint32_t* px = reinterpret_cast<uint32_t*>(gr_draw->data()); in gr_clear()
[all …]
Dgraphics_fbdev.cpp128 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()
Dgraphics_fbdev.h65 GRSurfaceFbdev* gr_draw{ nullptr };