• Home
  • Raw
  • Download

Lines Matching refs:hwbFormatProps

114                     VkAndroidHardwareBufferFormatPropertiesANDROID hwbFormatProps;  in GetBackendFormat()  local
115 hwbFormatProps.sType = in GetBackendFormat()
117 hwbFormatProps.pNext = nullptr; in GetBackendFormat()
121 hwbProps.pNext = &hwbFormatProps; in GetBackendFormat()
130 if (hwbFormatProps.format != VK_FORMAT_UNDEFINED) { in GetBackendFormat()
135 ycbcrConversion.fYcbcrModel = hwbFormatProps.suggestedYcbcrModel; in GetBackendFormat()
136 ycbcrConversion.fYcbcrRange = hwbFormatProps.suggestedYcbcrRange; in GetBackendFormat()
137 ycbcrConversion.fXChromaOffset = hwbFormatProps.suggestedXChromaOffset; in GetBackendFormat()
138 ycbcrConversion.fYChromaOffset = hwbFormatProps.suggestedYChromaOffset; in GetBackendFormat()
140 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat; in GetBackendFormat()
141 ycbcrConversion.fFormatFeatures = hwbFormatProps.formatFeatures; in GetBackendFormat()
143 hwbFormatProps.formatFeatures) { in GetBackendFormat()
329 VkAndroidHardwareBufferFormatPropertiesANDROID hwbFormatProps; in make_vk_backend_texture() local
330 hwbFormatProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID; in make_vk_backend_texture()
331 hwbFormatProps.pNext = nullptr; in make_vk_backend_texture()
335 hwbProps.pNext = &hwbFormatProps; in make_vk_backend_texture()
352 if (hwbFormatProps.format != VK_FORMAT_UNDEFINED) { in make_vk_backend_texture()
355 SkASSERT(SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures) && in make_vk_backend_texture()
356 SkToBool(VK_FORMAT_FEATURE_TRANSFER_SRC_BIT & hwbFormatProps.formatFeatures) && in make_vk_backend_texture()
357 SkToBool(VK_FORMAT_FEATURE_TRANSFER_DST_BIT & hwbFormatProps.formatFeatures)); in make_vk_backend_texture()
362 SkASSERT(SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures)); in make_vk_backend_texture()
364 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat); in make_vk_backend_texture()
365 externalFormat.externalFormat = hwbFormatProps.externalFormat; in make_vk_backend_texture()
367 SkASSERT(format == hwbFormatProps.format); in make_vk_backend_texture()