Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c498 p->formatFeatures = format_properties.formatProperties.linearTilingFeatures; in get_ahb_buffer_format_properties()
500 p->formatFeatures = format_properties.formatProperties.optimalTilingFeatures; in get_ahb_buffer_format_properties()
514 assert(p->formatFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT); in get_ahb_buffer_format_properties()
516 p->formatFeatures |= VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT; in get_ahb_buffer_format_properties()
574 p->formatFeatures = format_properties.formatProperties.linearTilingFeatures; in get_ahb_buffer_format_properties2()
576 p->formatFeatures = format_properties.formatProperties.optimalTilingFeatures; in get_ahb_buffer_format_properties2()
590 assert(p->formatFeatures & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT); in get_ahb_buffer_format_properties2()
592 p->formatFeatures |= VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT; in get_ahb_buffer_format_properties2()
/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/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/mesa3d/include/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2 formatFeatures; member
Dvulkan_fuchsia.h191 VkFormatFeatureFlags formatFeatures; member
/third_party/vulkan-headers/include/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2 formatFeatures; member
Dvulkan_ohos.h154 VkFormatFeatureFlags formatFeatures; member
Dvulkan_fuchsia.h191 VkFormatFeatureFlags formatFeatures; member
/third_party/vk-gl-cts/external/vulkan-docs/src/include/vulkan/
Dvulkan_android.h67 VkFormatFeatureFlags formatFeatures; member
98 VkFormatFeatureFlags2KHR formatFeatures; member
Dvulkan_fuchsia.h191 VkFormatFeatureFlags formatFeatures; member
/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/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/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/include/gpu/vk/
DGrVkTypes.h87 VkFormatFeatureFlags formatFeatures) in GrVkYcbcrConversionInfo()
96 , fFormatFeatures(formatFeatures) { in GrVkYcbcrConversionInfo()
/third_party/flutter/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h80 VkFormatFeatureFlags formatFeatures; member
/third_party/flutter/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h76 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) != 0; in isMinMaxFilteringSupported()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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) != 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/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1172 …const VkFormatFeatureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProper… in isImageSupported() local
1175 if (!isUsageMatchesFeatures(info.usage, formatFeatures)) in isImageSupported()
1883 …const VkFormatFeatureFlags formatFeatures = (info.tiling == VK_IMAGE_TILING_LINEAR ? formatProper… in isMultiplaneImageSupported() local
1886 if (!isUsageMatchesFeatures(info.usage, formatFeatures)) in isMultiplaneImageSupported()

12