Home | History | Annotate | Download | only in libgralloc

Lines Matching refs:device

60     framebuffer_device_t  device;
355 hw_device_t** device)
369 dev->device.common.tag = HARDWARE_DEVICE_TAG;
370 dev->device.common.version = 0;
371 dev->device.common.module = const_cast<hw_module_t*>(module);
372 dev->device.common.close = fb_close;
373 dev->device.setSwapInterval = fb_setSwapInterval;
374 dev->device.post = fb_post;
375 dev->device.setUpdateRect = 0;
376 dev->device.compositionComplete = fb_compositionComplete;
382 const_cast<uint32_t&>(dev->device.flags) = 0;
383 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
384 const_cast<uint32_t&>(dev->device.height) = m->info.yres;
385 const_cast<int&>(dev->device.stride) = stride;
386 const_cast<int&>(dev->device.format) = m->fbFormat;
387 const_cast<float&>(dev->device.xdpi) = m->xdpi;
388 const_cast<float&>(dev->device.ydpi) = m->ydpi;
389 const_cast<float&>(dev->device.fps) = m->fps;
390 const_cast<int&>(dev->device.minSwapInterval) =
392 const_cast<int&>(dev->device.maxSwapInterval) =
394 const_cast<int&>(dev->device.numFramebuffers) = m->numBuffers;
395 dev->device.setUpdateRect = 0;
397 *device = &dev->device.common;