Home
last modified time | relevance | path

Searched refs:formatFeatures (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c622 p->formatFeatures = format_properties.formatProperties.linearTilingFeatures; in get_ahb_buffer_format_properties()
624 p->formatFeatures = format_properties.formatProperties.optimalTilingFeatures; in get_ahb_buffer_format_properties()
638 assert(p->formatFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT); in get_ahb_buffer_format_properties()
640 p->formatFeatures |= VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT; in get_ahb_buffer_format_properties()
698 p->formatFeatures = format_properties.formatProperties.linearTilingFeatures; in get_ahb_buffer_format_properties2()
700 p->formatFeatures = format_properties.formatProperties.optimalTilingFeatures; in get_ahb_buffer_format_properties2()
714 assert(p->formatFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT_KHR); in get_ahb_buffer_format_properties2()
716 p->formatFeatures |= VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT_KHR; in get_ahb_buffer_format_properties2()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp141 ycbcrConversion.fFormatFeatures = hwbFormatProps.formatFeatures; in GetBackendFormat()
143 hwbFormatProps.formatFeatures) { in GetBackendFormat()
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()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferUtils.cpp141 ycbcrConversion.fFormatFeatures = hwbFormatProps.formatFeatures; in GetBackendFormat()
143 hwbFormatProps.formatFeatures) { in GetBackendFormat()
353 SkASSERT(SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures) && in make_vk_backend_texture()
354 SkToBool(VK_FORMAT_FEATURE_TRANSFER_SRC_BIT & hwbFormatProps.formatFeatures) && in make_vk_backend_texture()
355 SkToBool(VK_FORMAT_FEATURE_TRANSFER_DST_BIT & hwbFormatProps.formatFeatures)); in make_vk_backend_texture()
360 SkASSERT(SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures)); in make_vk_backend_texture()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2KHR formatFeatures; member
Dvulkan_fuchsia.h191 VkFormatFeatureFlags formatFeatures; member
/third_party/vulkan-headers/include/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2KHR formatFeatures; member
Dvulkan_ohos.h65 VkFormatFeatureFlags formatFeatures; member
Dvulkan_fuchsia.h191 VkFormatFeatureFlags formatFeatures; member
/third_party/mesa3d/include/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2KHR formatFeatures; member
Dvulkan_fuchsia.h195 VkFormatFeatureFlags formatFeatures; member
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2KHR formatFeatures; member
Dvulkan_fuchsia.h191 VkFormatFeatureFlags formatFeatures; member
/third_party/flutter/skia/include/gpu/vk/
DGrVkTypes.h87 VkFormatFeatureFlags formatFeatures) in GrVkYcbcrConversionInfo()
96 , fFormatFeatures(formatFeatures) { in GrVkYcbcrConversionInfo()
/third_party/mesa3d/src/intel/vulkan/
Danv_android.c216 p->formatFeatures = in get_ahw_buffer_format_properties2()
232 p->formatFeatures |= in get_ahw_buffer_format_properties2()
276 format_prop->formatFeatures = in anv_GetAndroidHardwareBufferPropertiesANDROID()
277 features2_to_features(format_prop2.formatFeatures); in anv_GetAndroidHardwareBufferPropertiesANDROID()
/third_party/flutter/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h76 VkFormatFeatureFlags formatFeatures; member
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h80 VkFormatFeatureFlags formatFeatures; member
/third_party/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
/third_party/flutter/skia/tests/
DVkHardwareBufferTest.cpp667 SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures) && in importHardwareBuffer()
668 SkToBool(VK_FORMAT_FEATURE_TRANSFER_SRC_BIT & hwbFormatProps.formatFeatures) && in importHardwareBuffer()
669 SkToBool(VK_FORMAT_FEATURE_TRANSFER_DST_BIT & hwbFormatProps.formatFeatures)); in importHardwareBuffer()
672 SkToBool(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT & hwbFormatProps.formatFeatures)); in importHardwareBuffer()
/third_party/skia/tests/
DVkHardwareBufferTest.cpp671 SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & hwbFormatProps.formatFeatures) && in importHardwareBuffer()
672 SkToBool(VK_FORMAT_FEATURE_TRANSFER_SRC_BIT & hwbFormatProps.formatFeatures) && in importHardwareBuffer()
673 SkToBool(VK_FORMAT_FEATURE_TRANSFER_DST_BIT & hwbFormatProps.formatFeatures)); in importHardwareBuffer()
676 SkToBool(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT & hwbFormatProps.formatFeatures)); in importHardwareBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp111 const VkFormatFeatureFlags formatFeatures = tiling == VK_IMAGE_TILING_LINEAR in isLinearFilteringSupported() local
115 return (formatFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT) != 0; in isLinearFilteringSupported()
121 const VkFormatFeatureFlags formatFeatures = tiling == VK_IMAGE_TILING_LINEAR in isMinMaxFilteringSupported() local
125 return (formatFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT) != 0; in isMinMaxFilteringSupported()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp153 if (!(bufferFormatProperties.formatFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) in ValidateHardwareBuffer()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp395 pFormat->formatFeatures = GetVkFormatFeaturesFromAHBFormat(ahbDesc.format); in GetAndroidHardwareBufferFormatProperties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1161 …const VkFormatFeatureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProper… in isImageSupported() local
1164 if (!isUsageMatchesFeatures(info.usage, formatFeatures)) in isImageSupported()
1866 …const VkFormatFeatureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProper… in isMultiplaneImageSupported() local
1869 if (!isUsageMatchesFeatures(info.usage, formatFeatures)) in isMultiplaneImageSupported()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c778 .formatFeatures = format_features, in vn_android_get_ahb_format_properties()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkStructTypes.inl5928 VkFormatFeatureFlags formatFeatures; member
5963 VkFormatFeatureFlags2KHR formatFeatures; member
7400 VkFormatFeatureFlags formatFeatures; member

12