Home
last modified time | relevance | path

Searched refs:ahbApi (Results 1 – 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbTests.cpp313 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in iterate() local
315 if (!ahbApi) in iterate()
320 …deUint64 requiredAhbUsage = ahbApi->vkUsageToAhbUsage(VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT… in iterate()
322 …pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(WIDTH, HEIGHT, targetImageCreateInfo.arrayLaye… in iterate()
333ahbApi->describe(nativeHandle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, D… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawAhbTests.cpp313 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in iterate() local
315 if (!ahbApi) in iterate()
320 …deUint64 requiredAhbUsage = ahbApi->vkUsageToAhbUsage(VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT… in iterate()
322 …pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(WIDTH, HEIGHT, targetImageCreateInfo.arrayLaye… in iterate()
333ahbApi->describe(nativeHandle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, D… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiImageCompressionControlTests.cpp224 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in checkAhbImageSupport() local
225 if (!ahbApi) in checkAhbImageSupport()
229 deUint64 ahbUsage = ahbApi->vkUsageToAhbUsage(vkUsage); in checkAhbImageSupport()
231 …pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(width,height, 1, ahbApi->vkFormatToAhbFormat(t… in checkAhbImageSupport()
DvktApiExternalMemoryTests.cpp4346 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in ValidateAHardwareBuffer() local
4348 if (!ahbApi) in ValidateAHardwareBuffer()
4359 …vk::pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(64u, 64u, layerCount, ahbApi->vkFormatToAh… in ValidateAHardwareBuffer()
4364 ahb = ahbApi->allocate(64u, 64u, 1u, ahbApi->vkFormatToAhbFormat(format), requiredAhbUsage); in ValidateAHardwareBuffer()
4424 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in testAndroidHardwareBufferImageFormat() local
4425 if (!ahbApi) in testAndroidHardwareBufferImageFormat()
4478 deUint64 mustSupportAhbUsageFlags = ahbApi->mustSupportAhbUsageFlags(); in testAndroidHardwareBufferImageFormat()
4496 requiredAhbUsage |= ahbApi->vkUsageToAhbUsage(usageFlags[usageNdx]); in testAndroidHardwareBufferImageFormat()
4508 requiredAhbUsage |= ahbApi->vkCreateToAhbUsage(createFlags[createFlagNdx]); in testAndroidHardwareBufferImageFormat()
4639ahbApi->describe(handle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, &anhUsa… in testAndroidHardwareBufferImageFormat()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageCompressionControlTests.cpp224 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in checkAhbImageSupport() local
225 if (!ahbApi) in checkAhbImageSupport()
229 deUint64 ahbUsage = ahbApi->vkUsageToAhbUsage(vkUsage); in checkAhbImageSupport()
231 …pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(width,height, 1, ahbApi->vkFormatToAhbFormat(t… in checkAhbImageSupport()
DvktApiExternalMemoryTests.cpp4346 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in ValidateAHardwareBuffer() local
4348 if (!ahbApi) in ValidateAHardwareBuffer()
4359 …vk::pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(64u, 64u, layerCount, ahbApi->vkFormatToAh… in ValidateAHardwareBuffer()
4364 ahb = ahbApi->allocate(64u, 64u, 1u, ahbApi->vkFormatToAhbFormat(format), requiredAhbUsage); in ValidateAHardwareBuffer()
4424 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in testAndroidHardwareBufferImageFormat() local
4425 if (!ahbApi) in testAndroidHardwareBufferImageFormat()
4478 deUint64 mustSupportAhbUsageFlags = ahbApi->mustSupportAhbUsageFlags(); in testAndroidHardwareBufferImageFormat()
4496 requiredAhbUsage |= ahbApi->vkUsageToAhbUsage(usageFlags[usageNdx]); in testAndroidHardwareBufferImageFormat()
4508 requiredAhbUsage |= ahbApi->vkCreateToAhbUsage(createFlags[createFlagNdx]); in testAndroidHardwareBufferImageFormat()
4639ahbApi->describe(handle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, &anhUsa… in testAndroidHardwareBufferImageFormat()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp141 if (AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance()) in NativeHandle() local
142 ahbApi->acquire(m_androidHardwareBuffer); in NativeHandle()
234 if (AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance()) in reset() local
235 ahbApi->release(m_androidHardwareBuffer); in reset()
1227 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in importMemory() local
1228 if (!ahbApi) in importMemory()
1234ahbApi->describe(handle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, DE_NULL… in importMemory()
1235 DE_ASSERT(ahbApi->ahbFormatIsBlob(ahbFormat) || image != 0); in importMemory()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
DvktExternalMemoryUtil.cpp141 if (AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance()) in NativeHandle() local
142 ahbApi->acquire(m_androidHardwareBuffer); in NativeHandle()
234 if (AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance()) in reset() local
235 ahbApi->release(m_androidHardwareBuffer); in reset()
1227 AndroidHardwareBufferExternalApi* ahbApi = AndroidHardwareBufferExternalApi::getInstance(); in importMemory() local
1228 if (!ahbApi) in importMemory()
1234ahbApi->describe(handle.getAndroidHardwareBuffer(), DE_NULL, DE_NULL, DE_NULL, &ahbFormat, DE_NULL… in importMemory()
1235 DE_ASSERT(ahbApi->ahbFormatIsBlob(ahbFormat) || image != 0); in importMemory()