• Home
  • Raw
  • Download

Lines Matching refs:bufferFormatProperties

98     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
203 bufferFormatProperties.sType = in initImpl()
205 bufferFormatProperties.pNext = nullptr; in initImpl()
209 bufferProperties.pNext = &bufferFormatProperties; in initImpl()
232 if (bufferFormatProperties.format == VK_FORMAT_UNDEFINED) in initImpl()
234 ANGLE_VK_CHECK(displayVk, bufferFormatProperties.externalFormat != 0, VK_ERROR_UNKNOWN); in initImpl()
235 externalFormat.externalFormat = bufferFormatProperties.externalFormat; in initImpl()
264 bufferFormatProperties.format == VK_FORMAT_UNDEFINED ? externalVkFormat : vkFormat, 1, in initImpl()
285 if (bufferFormatProperties.format == VK_FORMAT_UNDEFINED) in initImpl()
297 yuvConversionInfo.xChromaOffset = bufferFormatProperties.suggestedXChromaOffset; in initImpl()
298 yuvConversionInfo.yChromaOffset = bufferFormatProperties.suggestedYChromaOffset; in initImpl()
299 yuvConversionInfo.ycbcrModel = bufferFormatProperties.suggestedYcbcrModel; in initImpl()
300 yuvConversionInfo.ycbcrRange = bufferFormatProperties.suggestedYcbcrRange; in initImpl()
302 yuvConversionInfo.components = bufferFormatProperties.samplerYcbcrConversionComponents; in initImpl()