• Home
  • Raw
  • Download

Lines Matching refs:info

83         m->info.activate = FB_ACTIVATE_VBL;  in fb_post()
84 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
85 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
101 0, 0, m->info.xres, m->info.yres, in fb_post()
106 0, 0, m->info.xres, m->info.yres, in fb_post()
109 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
148 struct fb_var_screeninfo info; local
149 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
152 info.reserved[0] = 0;
153 info.reserved[1] = 0;
154 info.reserved[2] = 0;
155 info.xoffset = 0;
156 info.yoffset = 0;
157 info.activate = FB_ACTIVATE_NOW;
162 info.yres_virtual = info.yres * NUM_BUFFERS;
167 if (ioctl(fd, FBIOPAN_DISPLAY, &info) == -1) {
170 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
173 info.yres_virtual = info.yres;
177 if (info.yres_virtual < info.yres * 2) {
179 info.yres_virtual = info.yres;
182 info.yres_virtual, info.yres*2);
185 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
190 uint64_t( info.upper_margin + info.lower_margin + info.yres )
191 * ( info.left_margin + info.right_margin + info.xres )
192 * info.pixclock
204 if (int(info.width) <= 0 || int(info.height) <= 0) {
207 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
208 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
211 float xdpi = (info.xres * 25.4f) / info.width;
212 float ydpi = (info.yres * 25.4f) / info.height;
227 info.xres,
228 info.yres,
229 info.xres_virtual,
230 info.yres_virtual,
231 info.bits_per_pixel,
232 info.red.offset, info.red.length,
233 info.green.offset, info.green.length,
234 info.blue.offset, info.blue.length
240 info.width, xdpi,
241 info.height, ydpi,
254 module->info = info;
264 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual);
267 module->numBuffers = info.yres_virtual / info.yres;
320 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
321 int format = (m->info.bits_per_pixel == 32)
322 … ? (m->info.red.offset ? HAL_PIXEL_FORMAT_BGRA_8888 : HAL_PIXEL_FORMAT_RGBX_8888)
325 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
326 const_cast<uint32_t&>(dev->device.height) = m->info.yres;