Lines Matching defs:gralloc
14 #include <hardware/gralloc.h>
56 static const gralloc_module_t *gralloc = NULL;
61 dlclose(gralloc->common.dso);
87 /* get gralloc module for gralloc buffer info query */
89 (const hw_module_t **)&gralloc);
92 vn_log(NULL, "failed to open gralloc module(ret=%d)", ret);
97 vn_log(NULL, "opened gralloc module name: %s", gralloc->common.name);
99 if (strcmp(gralloc->common.name, CROS_GRALLOC_MODULE_NAME) != 0 ||
100 !gralloc->perform) {
101 dlclose(gralloc->common.dso);
272 if (gralloc->perform(gralloc, CROS_GRALLOC_DRM_GET_BUFFER_INFO, handle,
419 * needs host storage info which can be queried from cros gralloc.
853 * maps all gralloc allocation failures to oom.