Lines Matching refs:grallocUsage
354 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument
358 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage()
364 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage()
383 *grallocUsage |= GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_HW_COMPOSER | in setup_gralloc0_usage()
387 if (*grallocUsage == 0) in setup_gralloc0_usage()
397 int *grallocUsage) in tu_GetSwapchainGrallocUsageANDROID() argument
406 *grallocUsage = 0; in tu_GetSwapchainGrallocUsageANDROID()
407 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in tu_GetSwapchainGrallocUsageANDROID()
430 int32_t grallocUsage = 0; in tu_GetSwapchainGrallocUsage2ANDROID() local
431 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in tu_GetSwapchainGrallocUsage2ANDROID()
437 if (grallocUsage & GRALLOC_USAGE_HW_RENDER) { in tu_GetSwapchainGrallocUsage2ANDROID()
442 if (grallocUsage & GRALLOC_USAGE_HW_TEXTURE) { in tu_GetSwapchainGrallocUsage2ANDROID()
446 if (grallocUsage & (GRALLOC_USAGE_HW_FB | in tu_GetSwapchainGrallocUsage2ANDROID()