Lines Matching refs:grallocUsage
287 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument
291 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage()
297 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage()
316 *grallocUsage |= GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_HW_COMPOSER | in setup_gralloc0_usage()
320 if (*grallocUsage == 0) in setup_gralloc0_usage()
330 int *grallocUsage) in tu_GetSwapchainGrallocUsageANDROID() argument
339 *grallocUsage = 0; in tu_GetSwapchainGrallocUsageANDROID()
340 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in tu_GetSwapchainGrallocUsageANDROID()
363 int32_t grallocUsage = 0; in tu_GetSwapchainGrallocUsage2ANDROID() local
364 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in tu_GetSwapchainGrallocUsage2ANDROID()
370 if (grallocUsage & GRALLOC_USAGE_HW_RENDER) { in tu_GetSwapchainGrallocUsage2ANDROID()
375 if (grallocUsage & GRALLOC_USAGE_HW_TEXTURE) { in tu_GetSwapchainGrallocUsage2ANDROID()
379 if (grallocUsage & (GRALLOC_USAGE_HW_FB | in tu_GetSwapchainGrallocUsage2ANDROID()