Lines Matching full:info
88 0, 0, m->info.xres, m->info.yres, NULL);
92 m->info.activate = FB_ACTIVATE_VBL;
93 m->info.yoffset = offset / m->finfo.line_length;
97 if (ioctl(fbdev_fd, FBIOPAN_DISPLAY, &m->info) == -1)
104 if (ioctl(fbdev_fd, FBIOPUT_VSCREENINFO, &m->info) == -1)
125 0, 0, m->info.xres, m->info.yres, &fb_vaddr);
128 0, 0, m->info.xres, m->info.yres, &buffer_vaddr);
134 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres);
142 for (i = 0; i < m->info.yres; i++)
195 struct fb_var_screeninfo info;
196 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
201 info.reserved[0] = 0;
202 info.reserved[1] = 0;
203 info.reserved[2] = 0;
204 info.xoffset = 0;
205 info.yoffset = 0;
206 info.activate = FB_ACTIVATE_NOW;
212 info.bits_per_pixel = 16;
213 info.red.offset = 11;
214 info.red.length = 5;
215 info.green.offset = 5;
216 info.green.length = 6;
217 info.blue.offset = 0;
218 info.blue.length = 5;
219 info.transp.offset = 0;
220 info.transp.length = 0;
225 info.bits_per_pixel = 32;
226 info.red.offset = 16;
227 info.red.length = 8;
228 info.green.offset = 8;
229 info.green.length = 8;
230 info.blue.offset = 0;
231 info.blue.length = 8;
232 info.transp.offset = 0;
233 info.transp.length = 0;
239 info.yres_virtual = info.yres * NUM_BUFFERS;
242 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1)
244 info.yres_virtual = info.yres;
249 if (info.yres_virtual < info.yres * 2)
252 info.yres_virtual = info.yres;
254 AWAR( "page flipping not supported (yres_virtual=%d, requested=%d)", info.yres_virtual, info.yres*2 );
257 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
263 if ( info.pixclock > 0 )
267 uint64_t( info.upper_margin + info.lower_margin + info.yres + info.hsync_len )
268 * ( info.left_margin + info.right_margin + info.xres + info.vsync_len )
269 * info.pixclock
282 if (int(info.width) <= 0 || int(info.height) <= 0)
286 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
287 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
290 float xdpi = (info.xres * 25.4f) / info.width;
291 float ydpi = (info.yres * 25.4f) / info.height;
306 info.xres,
307 info.yres,
308 info.xres_virtual,
309 info.yres_virtual,
310 info.bits_per_pixel,
311 info.red.offset, info.red.length,
312 info.green.offset, info.green.length,
313 info.blue.offset, info.blue.length);
318 info.width, xdpi,
319 info.height, ydpi,
346 module->info = info;
356 size_t fbSize = round_up_to_page_size(finfo.line_length * info.yres_virtual);
371 module->numBuffers = info.yres_virtual / info.yres;
477 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
479 const_cast<uint32_t&>(dev->width) = m->info.xres;
480 const_cast<uint32_t&>(dev->height) = m->info.yres;