Home
last modified time | relevance | path

Searched refs:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c443 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
446 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
459 ahb_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
474 const uint64_t gpu_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in get_ahb_buffer_format_properties()
550 const uint64_t gpu_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in get_ahb_buffer_format_properties2()
/third_party/mesa3d/src/intel/vulkan/
Danv_android.c190 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in get_ahw_buffer_format_properties2()
352 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in anv_ahw_usage_from_vk_usage()
355 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in anv_ahw_usage_from_vk_usage()
368 ahw_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in anv_ahw_usage_from_vk_usage()
/third_party/skia/tests/
DGrAHardwareBufferTest.cpp128 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in basic_draw_test_helper()
238 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in surface_draw_test_helper()
DVkHardwareBufferTest.cpp643 REPORTER_ASSERT(reporter, SkToBool(AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE & in checkOptimalHardwareBuffer()
1144 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in run_test()
1148 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in run_test()
DMultiPictureDocumentTest.cpp244 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in makeAHardwareBufferTestImage()
/third_party/mesa3d/include/android_stub/android/
Dhardware_buffer.h204 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE = 1UL << 8, enumerator
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp105 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN; in GetAHBUsageFromVkImageFlags()
109 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN; in GetAHBUsageFromVkImageFlags()
DVkPhysicalDevice.cpp807 uint64_t ahbUsage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getProperties()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c343 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vn_android_get_ahb_usage()
357 ahb_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vn_android_get_ahb_usage()
388 *grallocProducerUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vn_GetSwapchainGrallocUsage2ANDROID()
903 if (!(desc.usage & (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in vn_android_get_ahb_format_properties()
/third_party/skia/third_party/externals/angle2/src/common/
Dandroid_util.cpp298 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in GetAHBUsage()
/third_party/vk-gl-cts/modules/egl/
DteglAndroidUtil.cpp213 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in AndroidNativeClientBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp83 if ((ahbDescription.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE) != 0) in AhbDescUsageToVkImageUsage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
DvktExternalMemoryUtil.cpp1621 return AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vkUsageToAhbUsage()
1623 return AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vkUsageToAhbUsage()
1669 return (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT); in mustSupportAhbUsageFlags()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp1621 return AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vkUsageToAhbUsage()
1623 return AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vkUsageToAhbUsage()
1669 return (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT); in mustSupportAhbUsageFlags()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp473 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in findOrCreateHwBuffer()
482 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in findOrCreateHwBuffer()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp658 bool isTextureable = SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE); in MakeFromAHardwareBuffer()
DSkImage_Gpu.cpp700 if (!SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE)) { in MakeFromAHardwareBufferWithData()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp586 aHardwareBufferDescription.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in createAndroidHardwareBuffer()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dmemory.txt1430 code:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE
3603 | code:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | ename:VK_IMAGE_USAGE_SAMPLED_BIT
3604 | code:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | ename:VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT
Dmemory.adoc1565 code:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE or
4269 | code:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | ename:VK_IMAGE_USAGE_SAMPLED_BIT
4270 | code:AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | ename:VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT