Home
last modified time | relevance | path

Searched refs:grallocUsage (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_android.c329 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/
Dtu_android.c354 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/
Danv_android.c668 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/
Dvk_android_native_buffer.h97 …ocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
109 int* grallocUsage
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c221 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/
Dvulkan_ohos.h84 …UsageOHOS)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grallocUsage);
114 uint64_t* grallocUsage);
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DlibVulkan.cpp4275 …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/
Dvk_loader_extensions.c7492 uint64_t* grallocUsage) { in GetSwapchainGrallocUsageOHOS() argument
7500 return disp->GetSwapchainGrallocUsageOHOS(device, format, imageUsage, grallocUsage); in GetSwapchainGrallocUsageOHOS()
Dvk_dispatch_table_helper.h389 …vice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grallocUsage) { return VK_SU… in StubGetSwapchainGrallocUsageOHOS() argument