Lines Matching full:info
84 m->info.reserved[0] = 0x54445055; // "UPDT";
85 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16);
86 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16);
103 m->info.activate = FB_ACTIVATE_VBL;
104 m->info.yoffset = offset / m->finfo.line_length;
105 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
121 0, 0, m->info.xres, m->info.yres,
126 0, 0, m->info.xres, m->info.yres,
129 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres);
168 struct fb_var_screeninfo info;
169 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
172 info.reserved[0] = 0;
173 info.reserved[1] = 0;
174 info.reserved[2] = 0;
175 info.xoffset = 0;
176 info.yoffset = 0;
177 info.activate = FB_ACTIVATE_NOW;
182 info.bits_per_pixel = 16;
183 info.red.offset = 11;
184 info.red.length = 5;
185 info.green.offset = 5;
186 info.green.length = 6;
187 info.blue.offset = 0;
188 info.blue.length = 5;
189 info.transp.offset = 0;
190 info.transp.length = 0;
195 info.yres_virtual = info.yres * NUM_BUFFERS;
199 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
200 info.yres_virtual = info.yres;
205 if (info.yres_virtual < info.yres * 2) {
207 info.yres_virtual = info.yres;
210 info.yres_virtual, info.yres*2);
213 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
218 uint64_t( info.upper_margin + info.lower_margin + info.yres )
219 * ( info.left_margin + info.right_margin + info.xres )
220 * info.pixclock
224 // bleagh, bad info from the driver
228 if (int(info.width) <= 0 || int(info.height) <= 0) {
231 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
232 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
235 float xdpi = (info.xres * 25.4f) / info.width;
236 float ydpi = (info.yres * 25.4f) / info.height;
251 info.xres,
252 info.yres,
253 info.xres_virtual,
254 info.yres_virtual,
255 info.bits_per_pixel,
256 info.red.offset, info.red.length,
257 info.green.offset, info.green.length,
258 info.blue.offset, info.blue.length
264 info.width, xdpi,
265 info.height, ydpi,
278 module->info = info;
289 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual);
292 module->numBuffers = info.yres_virtual / info.yres;
350 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
352 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
353 const_cast<uint32_t&>(dev->device.height) = m->info.yres;