Lines Matching refs:height
35 std::unique_ptr<GRSurfaceFbdev> GRSurfaceFbdev::Create(size_t width, size_t height, in Create() argument
38 return std::unique_ptr<GRSurfaceFbdev>(new GRSurfaceFbdev(width, height, row_bytes, pixel_bytes)); in Create()
49 vi.yres_virtual = gr_framebuffer[0]->height * 2; in SetDisplayedFramebuffer()
50 vi.yoffset = n * gr_framebuffer[0]->height; in SetDisplayedFramebuffer()
107 memset(gr_framebuffer[0]->buffer_, 0, gr_framebuffer[0]->height * gr_framebuffer[0]->row_bytes); in Init()
110 GRSurfaceFbdev::Create(gr_framebuffer[0]->width, gr_framebuffer[0]->height, 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()
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()
149 memcpy(gr_framebuffer[0]->buffer_, gr_draw->buffer_, gr_draw->height * gr_draw->row_bytes); in Flip()