Lines Matching refs:grallocUsage
668 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument
685 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage()
691 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage()
714 *grallocUsage |= GRALLOC_USAGE_HW_FB | in setup_gralloc0_usage()
722 if (*grallocUsage == 0) in setup_gralloc0_usage()
748 int32_t grallocUsage = 0; in anv_GetSwapchainGrallocUsage2ANDROID() local
749 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in anv_GetSwapchainGrallocUsage2ANDROID()
755 if (grallocUsage & GRALLOC_USAGE_HW_RENDER) { in anv_GetSwapchainGrallocUsage2ANDROID()
760 if (grallocUsage & GRALLOC_USAGE_HW_TEXTURE) { in anv_GetSwapchainGrallocUsage2ANDROID()
764 if (grallocUsage & (GRALLOC_USAGE_HW_FB | in anv_GetSwapchainGrallocUsage2ANDROID()
779 int* grallocUsage) in anv_GetSwapchainGrallocUsageANDROID() argument
784 *grallocUsage = 0; in anv_GetSwapchainGrallocUsageANDROID()
791 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in anv_GetSwapchainGrallocUsageANDROID()