Home
last modified time | relevance | path

Searched refs:ahbDesc (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp253 AHardwareBuffer_describe(ahb, &ahbDesc); in importAndroidHardwareBuffer()
267 ahbDesc.width = extent.width; in allocateAndroidHardwareBuffer()
268 ahbDesc.height = extent.height; in allocateAndroidHardwareBuffer()
269 ahbDesc.layers = image->getArrayLayers(); in allocateAndroidHardwareBuffer()
270 ahbDesc.format = GetAHBFormatFromVkFormat(image->getFormat()); in allocateAndroidHardwareBuffer()
271 ahbDesc.usage = GetAHBUsageFromVkImageFlags(image->getFlags(), image->getUsage()); in allocateAndroidHardwareBuffer()
277 ahbDesc.width = static_cast<uint32_t>(buffer->getSize()); in allocateAndroidHardwareBuffer()
278 ahbDesc.height = 1; in allocateAndroidHardwareBuffer()
279 ahbDesc.layers = 1; in allocateAndroidHardwareBuffer()
280 ahbDesc.format = AHARDWAREBUFFER_FORMAT_BLOB; in allocateAndroidHardwareBuffer()
[all …]
DVkDeviceMemoryExternalAndroid.hpp67 …static VkResult GetAndroidHardwareBufferFormatProperties(const AHardwareBuffer_Desc &ahbDesc, VkAn…
89 AHardwareBuffer_Desc ahbDesc = {}; member in AHardwareBufferExternalMemory
/external/vulkan-validation-layers/layers/
Dandroid_ndk_types.h99 static inline int AHardwareBuffer_allocate(const AHardwareBuffer_Desc *ahbDesc, AHardwareBuffer **b… in AHardwareBuffer_allocate() argument
100 size_t size = ahbDesc->height * ahbDesc->width * 8; // Alloc for largest (64 bpp) format in AHardwareBuffer_allocate()
103 memcpy((void *)(*buffer), (void *)ahbDesc, sizeof(AHardwareBuffer_Desc)); in AHardwareBuffer_allocate()