• Home
  • Raw
  • Download

Lines Matching refs:hwbFormatProps

178     VkAndroidHardwareBufferFormatPropertiesANDROID hwbFormatProps;  in make_vk_backend_texture()  local
179 hwbFormatProps.sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID; in make_vk_backend_texture()
180 hwbFormatProps.pNext = nullptr; in make_vk_backend_texture()
184 hwbProps.pNext = &hwbFormatProps; in make_vk_backend_texture()
201 if (hwbFormatProps.format != VK_FORMAT_UNDEFINED) { in make_vk_backend_texture()
204 SkASSERT(SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures) && in make_vk_backend_texture()
205 SkToBool(VK_FORMAT_FEATURE_TRANSFER_SRC_BIT & hwbFormatProps.formatFeatures) && in make_vk_backend_texture()
206 SkToBool(VK_FORMAT_FEATURE_TRANSFER_DST_BIT & hwbFormatProps.formatFeatures)); in make_vk_backend_texture()
211 SkASSERT(SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures)); in make_vk_backend_texture()
213 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat); in make_vk_backend_texture()
214 externalFormat.externalFormat = hwbFormatProps.externalFormat; in make_vk_backend_texture()
216 SkASSERT(format == hwbFormatProps.format); in make_vk_backend_texture()
495 VkAndroidHardwareBufferFormatPropertiesANDROID hwbFormatProps; in get_backend_format() local
496 hwbFormatProps.sType = in get_backend_format()
498 hwbFormatProps.pNext = nullptr; in get_backend_format()
502 hwbProps.pNext = &hwbFormatProps; in get_backend_format()
510 if (hwbFormatProps.format != VK_FORMAT_UNDEFINED) { in get_backend_format()
515 ycbcrConversion.fYcbcrModel = hwbFormatProps.suggestedYcbcrModel; in get_backend_format()
516 ycbcrConversion.fYcbcrRange = hwbFormatProps.suggestedYcbcrRange; in get_backend_format()
517 ycbcrConversion.fXChromaOffset = hwbFormatProps.suggestedXChromaOffset; in get_backend_format()
518 ycbcrConversion.fYChromaOffset = hwbFormatProps.suggestedYChromaOffset; in get_backend_format()
520 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat; in get_backend_format()
521 ycbcrConversion.fExternalFormatFeatures = hwbFormatProps.formatFeatures; in get_backend_format()
523 hwbFormatProps.formatFeatures) { in get_backend_format()