Home
last modified time | relevance | path

Searched refs:bufferFormatProperties (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp98 VkAndroidHardwareBufferFormatPropertiesANDROID bufferFormatProperties = {}; in ValidateHardwareBuffer() local
99 bufferFormatProperties.sType = in ValidateHardwareBuffer()
101 bufferFormatProperties.pNext = nullptr; in ValidateHardwareBuffer()
105 bufferProperties.pNext = &bufferFormatProperties; in ValidateHardwareBuffer()
115 if (bufferFormatProperties.format == VK_FORMAT_UNDEFINED) in ValidateHardwareBuffer()
117 ASSERT(bufferFormatProperties.externalFormat != 0); in ValidateHardwareBuffer()
119 if (!(bufferFormatProperties.formatFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) in ValidateHardwareBuffer()
123 << bufferFormatProperties.externalFormat << " is unsupported "; in ValidateHardwareBuffer()
128 angle::FormatID formatID = vk::GetFormatIDFromVkFormat(bufferFormatProperties.format); in ValidateHardwareBuffer()
202 VkAndroidHardwareBufferFormatPropertiesANDROID bufferFormatProperties; in initImpl() local
[all …]
Dvk_android_utils.cpp35 VkAndroidHardwareBufferFormatPropertiesANDROID bufferFormatProperties = {}; in GetClientBufferMemoryRequirements() local
36 bufferFormatProperties.sType = in GetClientBufferMemoryRequirements()
41 bufferProperties.pNext = &bufferFormatProperties; in GetClientBufferMemoryRequirements()