Searched refs:gr_framebuffer (Results 1 – 2 of 2) sorted by relevance
41 vi.yres_virtual = gr_framebuffer[0].height * 2; in SetDisplayedFramebuffer()42 vi.yoffset = n * gr_framebuffer[0].height; in SetDisplayedFramebuffer()43 vi.bits_per_pixel = gr_framebuffer[0].pixel_bytes * 8; in SetDisplayedFramebuffer()99 gr_framebuffer[0].width = vi.xres; in Init()100 gr_framebuffer[0].height = vi.yres; in Init()101 gr_framebuffer[0].row_bytes = fi.line_length; in Init()102 gr_framebuffer[0].pixel_bytes = vi.bits_per_pixel / 8; in Init()103 gr_framebuffer[0].data = static_cast<uint8_t*>(bits); in Init()104 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); in Init()110 memcpy(gr_framebuffer + 1, gr_framebuffer, sizeof(GRSurface)); in Init()[all …]
36 GRSurface gr_framebuffer[2]; variable