Lines Matching refs:gr_framebuffer
49 vi.yres_virtual = gr_framebuffer[0]->height * 2; in SetDisplayedFramebuffer()
50 vi.yoffset = n * gr_framebuffer[0]->height; in SetDisplayedFramebuffer()
51 vi.bits_per_pixel = gr_framebuffer[0]->pixel_bytes * 8; in SetDisplayedFramebuffer()
104 gr_framebuffer[0] = in Init()
106 gr_framebuffer[0]->buffer_ = static_cast<uint8_t*>(bits); in Init()
107 memset(gr_framebuffer[0]->buffer_, 0, gr_framebuffer[0]->height * gr_framebuffer[0]->row_bytes); in Init()
109 gr_framebuffer[1] = in Init()
110 GRSurfaceFbdev::Create(gr_framebuffer[0]->width, gr_framebuffer[0]->height, in Init()
111 gr_framebuffer[0]->row_bytes, gr_framebuffer[0]->pixel_bytes); in Init()
117 gr_framebuffer[1]->buffer_ = in Init()
118 gr_framebuffer[0]->buffer_ + gr_framebuffer[0]->height * gr_framebuffer[0]->row_bytes; in Init()
124 memory_buffer.resize(gr_framebuffer[1]->height * gr_framebuffer[1]->row_bytes); in Init()
125 gr_framebuffer[1]->buffer_ = memory_buffer.data(); in Init()
128 gr_draw = gr_framebuffer[1].get(); 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()