Searched refs:gModule (Results 1 – 1 of 1) sorted by relevance
31 static hw_module_t const *gModule = NULL; variable37 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &gModule); in gfx_init()43 gAllocMod = (gralloc_module_t *)gModule; in gfx_init()54 if (!gModule) { in gfx_alloc()61 err = gralloc_open(gModule, &gAllocDev); in gfx_alloc()82 if (!gModule) { in gfx_free()89 err = gralloc_open(gModule, &gAllocDev); in gfx_free()162 IMG_gralloc_module_public_t* GrallocMod = (IMG_gralloc_module_public_t*)gModule; in gfx_Blit()