Lines Matching refs:grallocUsage
576 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument
593 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage()
599 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage()
622 *grallocUsage |= GRALLOC_USAGE_HW_FB | in setup_gralloc0_usage()
630 if (*grallocUsage == 0) in setup_gralloc0_usage()
656 int32_t grallocUsage = 0; in anv_GetSwapchainGrallocUsage2ANDROID() local
657 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in anv_GetSwapchainGrallocUsage2ANDROID()
663 if (grallocUsage & GRALLOC_USAGE_HW_RENDER) { in anv_GetSwapchainGrallocUsage2ANDROID()
668 if (grallocUsage & GRALLOC_USAGE_HW_TEXTURE) { in anv_GetSwapchainGrallocUsage2ANDROID()
672 if (grallocUsage & (GRALLOC_USAGE_HW_FB | in anv_GetSwapchainGrallocUsage2ANDROID()
687 int* grallocUsage) in anv_GetSwapchainGrallocUsageANDROID() argument
692 *grallocUsage = 0; in anv_GetSwapchainGrallocUsageANDROID()
699 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in anv_GetSwapchainGrallocUsageANDROID()