Home | History | Annotate | Download | only in libgralloc

Lines Matching defs:module

69         dev->common.module);
80 reinterpret_cast<private_module_t*>(dev->common.module);
109 private_module_t* module =
110 reinterpret_cast<private_module_t*>(dev->common.module);
113 if (module->framebuffer) {
180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888;
183 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888;
185 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888;
199 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565;
308 module->flags = flags;
309 module->info = info;
310 module->finfo = finfo;
311 module->xdpi = xdpi;
312 module->ydpi = ydpi;
313 module->fps = fps;
314 module->swapInterval = 1;
322 module->numBuffers = info.yres_virtual / info.yres;
323 module->bufferMask = 0;
326 module->numBuffers;
353 module->framebuffer = new private_handle_t(fd, fbSize,
356 module->fbFormat, info.xres, info.yres);
357 module->framebuffer->base = uint64_t(vaddr);
372 private_module_t* module =
373 reinterpret_cast<private_module_t*>(dev->common.module);
374 pthread_mutex_lock(&module->lock);
376 pthread_mutex_unlock(&module->lock);
399 int fb_device_open(hw_module_t const* module, const char* name,
405 status = gralloc_open(module, &gralloc_device);
420 dev->device.common.module = const_cast<hw_module_t*>(module);
428 private_module_t* m = (private_module_t*)dev->device.common.module;
449 // Close the gralloc module