Lines Matching refs:info

104 		m->info.activate = FB_ACTIVATE_VBL;  in fb_post()
105 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
149 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
157 for (i = 0; i < m->info.yres; i++) in fb_post()
206 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
208 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
213 info.reserved[0] = 0; in init_frame_buffer_locked()
214 info.reserved[1] = 0; in init_frame_buffer_locked()
215 info.reserved[2] = 0; in init_frame_buffer_locked()
216 info.xoffset = 0; in init_frame_buffer_locked()
217 info.yoffset = 0; in init_frame_buffer_locked()
218 info.activate = FB_ACTIVATE_NOW; in init_frame_buffer_locked()
224 info.bits_per_pixel = 16; in init_frame_buffer_locked()
225 info.red.offset = 11; in init_frame_buffer_locked()
226 info.red.length = 5; in init_frame_buffer_locked()
227 info.green.offset = 5; in init_frame_buffer_locked()
228 info.green.length = 6; in init_frame_buffer_locked()
229 info.blue.offset = 0; in init_frame_buffer_locked()
230 info.blue.length = 5; in init_frame_buffer_locked()
231 info.transp.offset = 0; in init_frame_buffer_locked()
232 info.transp.length = 0; in init_frame_buffer_locked()
237 info.bits_per_pixel = 32; in init_frame_buffer_locked()
238 info.red.offset = 16; in init_frame_buffer_locked()
239 info.red.length = 8; in init_frame_buffer_locked()
240 info.green.offset = 8; in init_frame_buffer_locked()
241 info.green.length = 8; in init_frame_buffer_locked()
242 info.blue.offset = 0; in init_frame_buffer_locked()
243 info.blue.length = 8; in init_frame_buffer_locked()
244 info.transp.offset = 0; in init_frame_buffer_locked()
245 info.transp.length = 0; in init_frame_buffer_locked()
251 info.yres_virtual = info.yres * NUM_BUFFERS; in init_frame_buffer_locked()
255 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
257 info.yres_virtual = info.yres; in init_frame_buffer_locked()
262 if (info.yres_virtual < info.yres * 2) in init_frame_buffer_locked()
265 info.yres_virtual = info.yres; in init_frame_buffer_locked()
267 …AWAR("page flipping not supported (yres_virtual=%d, requested=%d)", info.yres_virtual, info.yres *… in init_frame_buffer_locked()
270 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
277 if (info.pixclock > 0) in init_frame_buffer_locked()
280 …1000000000000000LLU / (uint64_t(info.upper_margin + info.lower_margin + info.yres + info.hsync_len… in init_frame_buffer_locked()
281 … (info.left_margin + info.right_margin + info.xres + info.vsync_len) * info.pixclock); in init_frame_buffer_locked()
293 if (int(info.width) <= 0 || int(info.height) <= 0) in init_frame_buffer_locked()
297 info.width = ((info.xres * 25.4f) / 160.0f + 0.5f); in init_frame_buffer_locked()
298 info.height = ((info.yres * 25.4f) / 160.0f + 0.5f); in init_frame_buffer_locked()
301 float xdpi = (info.xres * 25.4f) / info.width; in init_frame_buffer_locked()
302 float ydpi = (info.yres * 25.4f) / info.height; in init_frame_buffer_locked()
315 …fd, finfo.id, info.xres, info.yres, info.xres_virtual, info.yres_virtual, info.bits_per_pixel, inf… in init_frame_buffer_locked()
316 info.red.length, info.green.offset, info.green.length, info.blue.offset, info.blue.length); in init_frame_buffer_locked()
321 info.width, xdpi, info.height, ydpi, fps); in init_frame_buffer_locked()
351 module->info = info; in init_frame_buffer_locked()
361 size_t fbSize = round_up_to_page_size(finfo.line_length * info.yres_virtual); in init_frame_buffer_locked()
376 module->numBuffers = info.yres_virtual / info.yres; in init_frame_buffer_locked()
461 const size_t framebufferSize = m->finfo.line_length * m->info.yres; in fb_alloc_framebuffer_locked()
462 const size_t alignedFramebufferSize = GRALLOC_ALIGN(m->finfo.line_length, 64) * m->info.yres; in fb_alloc_framebuffer_locked()
464 *stride = m->info.xres; in fb_alloc_framebuffer_locked()
473 AWAR("fallback to single buffering. Virtual Y-res too small %d", m->info.yres); in fb_alloc_framebuffer_locked()
630 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in framebuffer_device_open()
632 const_cast<uint32_t &>(dev->width) = m->info.xres; in framebuffer_device_open()
633 const_cast<uint32_t &>(dev->height) = m->info.yres; in framebuffer_device_open()