/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_android.c | 329 int *grallocUsage) in setup_gralloc0_usage() argument 333 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage() 339 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage() 355 *grallocUsage |= GRALLOC_USAGE_HW_COMPOSER; in setup_gralloc0_usage() 357 if (*grallocUsage == 0) in setup_gralloc0_usage() 367 int *grallocUsage) in v3dv_GetSwapchainGrallocUsageANDROID() argument 376 *grallocUsage = 0; in v3dv_GetSwapchainGrallocUsageANDROID() 377 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in v3dv_GetSwapchainGrallocUsageANDROID() 401 int32_t grallocUsage = 0; in v3dv_GetSwapchainGrallocUsage2ANDROID() local 402 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in v3dv_GetSwapchainGrallocUsage2ANDROID() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_android.c | 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() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_android.c | 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() [all …]
|
/third_party/mesa3d/include/vulkan/ |
D | vk_android_native_buffer.h | 97 …ocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 109 int* grallocUsage
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 221 VkImageUsageFlags imageUsage, int *grallocUsage) in radv_GetSwapchainGrallocUsageANDROID() argument 228 *grallocUsage = 0; in radv_GetSwapchainGrallocUsageANDROID() 266 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in radv_GetSwapchainGrallocUsageANDROID() 270 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in radv_GetSwapchainGrallocUsageANDROID() 288 *grallocUsage |= in radv_GetSwapchainGrallocUsageANDROID() 292 if (*grallocUsage == 0) in radv_GetSwapchainGrallocUsageANDROID()
|
/third_party/vulkan-headers/include/vulkan/ |
D | vulkan_ohos.h | 84 …UsageOHOS)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grallocUsage); 114 uint64_t* grallocUsage);
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | libVulkan.cpp | 4275 …llocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) in vkGetSwapchainGrallocUsageANDROID() argument 4278 device, format, imageUsage, grallocUsage); in vkGetSwapchainGrallocUsageANDROID() 4280 *grallocUsage = GRALLOC_USAGE_SW_WRITE_OFTEN; in vkGetSwapchainGrallocUsageANDROID()
|
/third_party/vulkan-loader/loader/generated/ |
D | vk_loader_extensions.c | 7492 uint64_t* grallocUsage) { in GetSwapchainGrallocUsageOHOS() argument 7500 return disp->GetSwapchainGrallocUsageOHOS(device, format, imageUsage, grallocUsage); in GetSwapchainGrallocUsageOHOS()
|
D | vk_dispatch_table_helper.h | 389 …vice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grallocUsage) { return VK_SU… in StubGetSwapchainGrallocUsageOHOS() argument
|