Home | History | Annotate | Download | only in gralloc

Lines Matching refs:device

62     framebuffer_device_t  device;
323 hw_device_t** device)
332 dev->device.common.tag = HARDWARE_DEVICE_TAG;
333 dev->device.common.version = 0;
334 dev->device.common.module = const_cast<hw_module_t*>(module);
335 dev->device.common.close = fb_close;
336 dev->device.setSwapInterval = fb_setSwapInterval;
337 dev->device.post = fb_post;
338 dev->device.setUpdateRect = 0;
347 const_cast<uint32_t&>(dev->device.flags) = 0;
348 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
349 const_cast<uint32_t&>(dev->device.height) = m->info.yres;
350 const_cast<int&>(dev->device.stride) = stride;
351 const_cast<int&>(dev->device.format) = format;
352 const_cast<float&>(dev->device.xdpi) = m->xdpi;
353 const_cast<float&>(dev->device.ydpi) = m->ydpi;
354 const_cast<float&>(dev->device.fps) = m->fps;
355 const_cast<int&>(dev->device.minSwapInterval) = 1;
356 const_cast<int&>(dev->device.maxSwapInterval) = 1;
357 *device = &dev->device.common;