Lines Matching refs:m
78 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local
82 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
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()
87 m->base.unlock(&m->base, buffer); in fb_post()
90 m->currentBuffer = buffer; in fb_post()
99 m->base.lock(&m->base, m->framebuffer, in fb_post()
101 0, 0, m->info.xres, m->info.yres, in fb_post()
104 m->base.lock(&m->base, buffer, 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()
111 m->base.unlock(&m->base, buffer); in fb_post()
112 m->base.unlock(&m->base, m->framebuffer); in fb_post()
332 private_module_t* m = (private_module_t*)module; local
333 status = mapFrameBuffer(m);
335 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
336 int format = (m->info.bits_per_pixel == 32)
337 … ? (m->info.red.offset ? HAL_PIXEL_FORMAT_BGRA_8888 : HAL_PIXEL_FORMAT_RGBX_8888)
340 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
341 const_cast<uint32_t&>(dev->device.height) = m->info.yres;
344 const_cast<float&>(dev->device.xdpi) = m->xdpi;
345 const_cast<float&>(dev->device.ydpi) = m->ydpi;
346 const_cast<float&>(dev->device.fps) = m->fps;