Home | History | Annotate | Download | only in libgralloc-qsd8k

Lines Matching refs:info

86     m->info.reserved[0] = 0x54445055; // "UPDT";
87 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16);
88 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16);
112 0, 0, m->info.xres, m->info.yres, NULL);
115 m->info.activate = FB_ACTIVATE_VBL;
116 m->info.yoffset = offset / m->finfo.line_length;
117 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
130 0, 0, m->info.xres, m->info.yres,
135 0, 0, m->info.xres, m->info.yres,
138 //memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres);
142 m->info.xres, m->info.yres, m->fbFormat,
143 m->info.xoffset, m->info.yoffset,
144 m->info.width, m->info.height);
191 struct fb_var_screeninfo info;
192 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
195 info.reserved[0] = 0;
196 info.reserved[1] = 0;
197 info.reserved[2] = 0;
198 info.xoffset = 0;
199 info.yoffset = 0;
200 info.activate = FB_ACTIVATE_NOW;
212 info.bits_per_pixel = 32;
213 info.red.offset = 24;
214 info.red.length = 8;
215 info.green.offset = 16;
216 info.green.length = 8;
217 info.blue.offset = 8;
218 info.blue.length = 8;
219 info.transp.offset = 0;
220 info.transp.length = 0;
234 info.yres_virtual = info.yres * NUM_BUFFERS;
238 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
239 info.yres_virtual = info.yres;
244 if (info.yres_virtual < info.yres * 2) {
246 info.yres_virtual = info.yres;
249 info.yres_virtual, info.yres*2);
252 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
257 uint64_t( info.upper_margin + info.lower_margin + info.yres )
258 * ( info.left_margin + info.right_margin + info.xres )
259 * info.pixclock
263 // bleagh, bad info from the driver
267 if (int(info.width) <= 0 || int(info.height) <= 0) {
270 info.width = ((info.xres * 25.4f)/160.0f + 0.5f);
271 info.height = ((info.yres * 25.4f)/160.0f + 0.5f);
274 float xdpi = (info.xres * 25.4f) / info.width;
275 float ydpi = (info.yres * 25.4f) / info.height;
290 info.xres,
291 info.yres,
292 info.xres_virtual,
293 info.yres_virtual,
294 info.bits_per_pixel,
295 info.red.offset, info.red.length,
296 info.green.offset, info.green.length,
297 info.blue.offset, info.blue.length
303 info.width, xdpi,
304 info.height, ydpi,
317 module->info = info;
328 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual);
332 module->numBuffers = info.yres_virtual / info.yres;
391 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
393 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
394 const_cast<uint32_t&>(dev->device.height) = m->info.yres;