Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Danv_android.c121 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in get_ahw_buffer_format_properties()
263 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in anv_ahw_usage_from_vk_usage()
266 ahw_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in anv_ahw_usage_from_vk_usage()
279 ahw_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in anv_ahw_usage_from_vk_usage()
/external/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()
/external/libchrome/base/android/
Dandroid_hardware_buffer_abi.h51 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE = 1UL << 8, enumerator
/external/mesa3d/src/amd/vulkan/
Dradv_android.c537 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
540 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
553 ahb_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
571 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in get_ahb_buffer_format_properties()
/external/vulkan-validation-layers/layers/
Dandroid_ndk_types.h79 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE = 0x100, enumerator
Dcore_validation.cpp3405 …{ (uint64_t)AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE, (VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USA…
3417 { VK_IMAGE_USAGE_SAMPLED_BIT, (uint64_t)AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE },
3418 { VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, (uint64_t)AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE },
3438 …uint32_t required_flags = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GPU_COLO… in PreCallValidateGetAndroidHardwareBufferPropertiesANDROID()
3517 …uint64_t ahb_equiv_usage_bits = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GP… in ValidateAllocateMemoryANDROID()
3533 if (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE & ahb_desc.usage) { in ValidateAllocateMemoryANDROID()
3534 pdebi.usage |= ahb_usage_map_a2v[AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE]; in ValidateAllocateMemoryANDROID()
3554 if (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE & ahb_desc.usage) { in ValidateAllocateMemoryANDROID()
3555 pdifi2.usage |= ahb_usage_map_a2v[AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE]; in ValidateAllocateMemoryANDROID()
3637 …b_desc.usage & (AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT | AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE))… in ValidateAllocateMemoryANDROID()
/external/mesa3d/include/android_stub/android/
Dhardware_buffer.h204 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE = 1UL << 8, enumerator
/external/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.cpp752 uint64_t ahbUsage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in getProperties()
/external/angle/src/common/
Dandroid_util.cpp298 ahbUsage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in GetAHBUsage()
/external/skqp/tests/
DGrAHardwareBufferTest.cpp127 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in basic_draw_test_helper()
DVkHardwareBufferTest.cpp633 REPORTER_ASSERT(reporter, SkToBool(AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE & in checkOptimalHardwareBuffer()
1133 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in run_test()
1137 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in run_test()
/external/deqp/modules/egl/
DteglAndroidUtil.cpp210 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in AndroidNativeClientBuffer()
/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp152 if ((ahbDescription.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE) != 0) in AhbDescUsageToVkImageUsage()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp1471 return AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vkUsageToAhbUsage()
1473 return AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in vkUsageToAhbUsage()
1519 return (AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT); in mustSupportAhbUsageFlags()
/external/vulkan-validation-layers/tests/
Dvklayertests_others.cpp3144 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3357 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3449 …ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GPU_MIPMAP_COMPLE… in TEST_F()
3471 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3481 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3526 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3625 ahbu.androidHardwareBufferUsage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3674 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
3698 ahb_desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in TEST_F()
/external/skia/src/image/
DSkSurface_Gpu.cpp675 bool isTextureable = SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE); in MakeFromAHardwareBuffer()
DSkImage_Gpu.cpp703 if (!SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE)) { in MakeFromAHardwareBufferWithData()
/external/deqp/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp459 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in findOrCreateHwBuffer()
468 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in findOrCreateHwBuffer()
/external/angle/src/tests/gl_tests/
DImageTest.cpp573 AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in createAndroidHardwareBuffer()