Home
last modified time | relevance | path

Searched refs:formatProperties (Results 1 – 25 of 27) sorted by relevance

12

/hardware/google/gfxstream/host/vulkan/
DDisplayVk.cpp575 VkFormatProperties formatProperties; in getFormatFeatures() local
576 m_vk.vkGetPhysicalDeviceFormatProperties(m_vkPhysicalDevice, format, &formatProperties); in getFormatFeatures()
577 i = m_vkFormatProperties.emplace(format, formatProperties).first; in getFormatFeatures()
579 const VkFormatProperties& formatProperties = i->second; in getFormatFeatures() local
582 formatFeatures = formatProperties.linearTilingFeatures; in getFormatFeatures()
584 formatFeatures = formatProperties.optimalTilingFeatures; in getFormatFeatures()
DSwapChainStateVk.cpp220 VkFormatProperties formatProperties = {}; in createSwapChainCi() local
221 vk.vkGetPhysicalDeviceFormatProperties(physicalDevice, k_vkFormat, &formatProperties); in createSwapChainCi()
224 VkFormatFeatureFlags formatFeatures = formatProperties.optimalTilingFeatures; in createSwapChainCi()
DCompositorVk.cpp863 VkFormatProperties formatProperties; in getFormatFeatures() local
864 m_vk.vkGetPhysicalDeviceFormatProperties(m_vkPhysicalDevice, format, &formatProperties); in getFormatFeatures()
865 i = m_vkFormatProperties.emplace(format, formatProperties).first; in getFormatFeatures()
867 const VkFormatProperties& formatProperties = i->second; in getFormatFeatures() local
870 formatFeatures = formatProperties.linearTilingFeatures; in getFormatFeatures()
872 formatFeatures = formatProperties.optimalTilingFeatures; in getFormatFeatures()
DVkCommonOperations.cpp1843 const VkFormatProperties& formatProperties = imageSupportInfo.formatProps2.formatProperties; in generateColorBufferVkImageCreateInfo_locked() local
1854 ? formatProperties.optimalTilingFeatures in generateColorBufferVkImageCreateInfo_locked()
1855 : formatProperties.linearTilingFeatures; in generateColorBufferVkImageCreateInfo_locked()
DVkDecoderGlobalState.cpp1450 vk, physicalDevice, format, &pFormatProperties->formatProperties); in on_vkGetPhysicalDeviceFormatProperties2()
7113 pFormatProp->formatProperties.linearTilingFeatures &= kEmulatedTextureBufferFeatureMask; in maskFormatPropertiesForEmulatedTextures()
7114 pFormatProp->formatProperties.optimalTilingFeatures &= kEmulatedTextureOptimalTilingMask; in maskFormatPropertiesForEmulatedTextures()
7115 pFormatProp->formatProperties.bufferFeatures &= kEmulatedTextureBufferFeatureMask; in maskFormatPropertiesForEmulatedTextures()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_physical_device.c201 *pFormatProperties = props2.formatProperties; in vk_common_GetPhysicalDeviceFormatProperties()
/hardware/google/gfxstream/host/tests/
DCompositorVk_unittest.cpp352 VkFormatProperties formatProperties = {}; in supportsFeatures() local
353 k_vk->vkGetPhysicalDeviceFormatProperties(m_vkPhysicalDevice, format, &formatProperties); in supportsFeatures()
354 return (formatProperties.optimalTilingFeatures & features) == features; in supportsFeatures()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_multisampled_render_to_single_sampled.adoc188 VkFormatProperties2 formatProperties = {
193 vkGetPhysicalDeviceFormatProperties2(device, format, &formatProperties);
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp582 VkFormatProperties formatProperties; in addImageBufferCollectionConstraintsFUCHSIA() local
584 &formatProperties, true /* do lock */); in addImageBufferCollectionConstraintsFUCHSIA()
587 ? formatProperties.linearTilingFeatures in addImageBufferCollectionConstraintsFUCHSIA()
588 : formatProperties.optimalTilingFeatures; in addImageBufferCollectionConstraintsFUCHSIA()
2849 VkFormatProperties formatProperties; in on_vkGetBufferCollectionPropertiesFUCHSIA() local
2850 enc->vkGetPhysicalDeviceFormatProperties(physicalDevice, vkFormat, &formatProperties, in on_vkGetBufferCollectionPropertiesFUCHSIA()
2853 pProperties->formatFeatures = formatProperties.optimalTilingFeatures; in on_vkGetBufferCollectionPropertiesFUCHSIA()
2856 pProperties->formatFeatures = formatProperties.linearTilingFeatures; in on_vkGetBufferCollectionPropertiesFUCHSIA()
Dgoldfish_vk_transform_guest.cpp857 resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties)); in transform_tohost_VkSparseImageMemoryRequirements()
865 resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties)); in transform_fromhost_VkSparseImageMemoryRequirements()
2828 (VkFormatProperties*)(&toTransform->formatProperties)); in transform_tohost_VkFormatProperties2()
2839 (VkFormatProperties*)(&toTransform->formatProperties)); in transform_fromhost_VkFormatProperties2()
Dgoldfish_vk_deepcopy_guest.cpp767 deepcopy_VkSparseImageFormatProperties(alloc, rootType, &from->formatProperties, in deepcopy_VkSparseImageMemoryRequirements()
768 (VkSparseImageFormatProperties*)(&to->formatProperties)); in deepcopy_VkSparseImageMemoryRequirements()
2780 deepcopy_VkFormatProperties(alloc, rootType, &from->formatProperties, in deepcopy_VkFormatProperties2()
2781 (VkFormatProperties*)(&to->formatProperties)); in deepcopy_VkFormatProperties2()
Dgoldfish_vk_counting_guest.cpp954 featureBits, rootType, (VkSparseImageFormatProperties*)(&toCount->formatProperties), count); in count_VkSparseImageMemoryRequirements()
2756 (VkFormatProperties*)(&toCount->formatProperties), count); in count_VkFormatProperties2()
Dgoldfish_vk_marshaling_guest.cpp1705 vkStream, rootType, (VkSparseImageFormatProperties*)(&forMarshaling->formatProperties)); in marshal_VkSparseImageMemoryRequirements()
1717 vkStream, rootType, (VkSparseImageFormatProperties*)(&forUnmarshaling->formatProperties)); in unmarshal_VkSparseImageMemoryRequirements()
5118 (VkFormatProperties*)(&forMarshaling->formatProperties)); in marshal_VkFormatProperties2()
5130 (VkFormatProperties*)(&forUnmarshaling->formatProperties)); in unmarshal_VkFormatProperties2()
Dgoldfish_vk_reserved_marshaling_guest.cpp1365 vkStream, rootType, (VkSparseImageFormatProperties*)(&forMarshaling->formatProperties), in reservedmarshal_VkSparseImageMemoryRequirements()
3553 vkStream, rootType, (VkFormatProperties*)(&forMarshaling->formatProperties), ptr); in reservedmarshal_VkFormatProperties2()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dsparsemem.adoc1154 * pname:formatProperties is a slink:VkSparseImageFormatProperties
1160 If pname:formatProperties.flags contains
1169 mip tail, if pname:formatProperties.flags does not contain
1379 If pname:formatProperties.flags contains
1384 If pname:formatProperties.flags does not contain
1438 sname:VkSparseImageMemoryRequirements::pname:formatProperties.flags contains
Dformats.adoc2130 * pname:formatProperties is a slink:VkFormatProperties structure
2356 corresponding fields of sname:VkFormatProperties2::pname:formatProperties.
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_raii.hpp6002 VULKAN_HPP_NAMESPACE::FormatProperties formatProperties; in getFormatProperties() local
6003 … ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties *>( &formatProperties ) ); in getFormatProperties()
6006 return formatProperties; in getFormatProperties()
7482 VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; in getFormatProperties2() local
7483 …), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2()
7486 return formatProperties; in getFormatProperties2()
7496 …VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = structureChain.template get<VULKAN_HP… in getFormatProperties2() local
7497 …), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2()
Dvulkansc_funcs.hpp184 VULKAN_HPP_NAMESPACE::FormatProperties formatProperties; in getFormatProperties() local
185 …ce, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties *>( &formatProperties ) ); in getFormatProperties()
188 return formatProperties; in getFormatProperties()
4023 VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; in getFormatProperties2() local
4024 …e, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2()
4027 return formatProperties; in getFormatProperties2()
4037 …VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = structureChain.template get<VULKAN_HP… in getFormatProperties2() local
4038 …e, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2()
Dvulkan_raii.hpp10728 VULKAN_HPP_NAMESPACE::FormatProperties formatProperties; in getFormatProperties() local
10729 … ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties *>( &formatProperties ) ); in getFormatProperties()
10732 return formatProperties; in getFormatProperties()
12332 VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; in getFormatProperties2() local
12333 …), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2()
12336 return formatProperties; in getFormatProperties2()
12346 …VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = structureChain.template get<VULKAN_HP… in getFormatProperties2() local
12347 …), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2()
14299 VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; in getFormatProperties2KHR() local
14300 …), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); in getFormatProperties2KHR()
[all …]
Dvulkansc_hash.hpp2555 …std::size_t operator()(VULKAN_HPP_NAMESPACE::FormatProperties const & formatProperties) const VULK… in operator ()()
2558 VULKAN_HPP_HASH_COMBINE( seed, formatProperties.linearTilingFeatures ); in operator ()()
2559 VULKAN_HPP_HASH_COMBINE( seed, formatProperties.optimalTilingFeatures ); in operator ()()
2560 VULKAN_HPP_HASH_COMBINE( seed, formatProperties.bufferFeatures ); in operator ()()
2572 VULKAN_HPP_HASH_COMBINE( seed, formatProperties2.formatProperties ); in operator ()()
Dvulkan_hash.hpp4511 …std::size_t operator()(VULKAN_HPP_NAMESPACE::FormatProperties const & formatProperties) const VULK… in operator ()()
4514 VULKAN_HPP_HASH_COMBINE( seed, formatProperties.linearTilingFeatures ); in operator ()()
4515 VULKAN_HPP_HASH_COMBINE( seed, formatProperties.optimalTilingFeatures ); in operator ()()
4516 VULKAN_HPP_HASH_COMBINE( seed, formatProperties.bufferFeatures ); in operator ()()
4528 VULKAN_HPP_HASH_COMBINE( seed, formatProperties2.formatProperties ); in operator ()()
12785 VULKAN_HPP_HASH_COMBINE( seed, sparseImageMemoryRequirements.formatProperties ); in operator ()()
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_transform.cpp860 resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties)); in transform_tohost_VkSparseImageMemoryRequirements()
868 resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties)); in transform_fromhost_VkSparseImageMemoryRequirements()
2838 (VkFormatProperties*)(&toTransform->formatProperties)); in transform_tohost_VkFormatProperties2()
2849 (VkFormatProperties*)(&toTransform->formatProperties)); in transform_fromhost_VkFormatProperties2()
Dgoldfish_vk_deepcopy.cpp767 deepcopy_VkSparseImageFormatProperties(alloc, rootType, &from->formatProperties, in deepcopy_VkSparseImageMemoryRequirements()
768 (VkSparseImageFormatProperties*)(&to->formatProperties)); in deepcopy_VkSparseImageMemoryRequirements()
2780 deepcopy_VkFormatProperties(alloc, rootType, &from->formatProperties, in deepcopy_VkFormatProperties2()
2781 (VkFormatProperties*)(&to->formatProperties)); in deepcopy_VkFormatProperties2()
Dgoldfish_vk_marshaling.cpp1864 vkStream, rootType, (VkSparseImageFormatProperties*)(&forMarshaling->formatProperties)); in marshal_VkSparseImageMemoryRequirements()
1875 vkStream, rootType, (VkSparseImageFormatProperties*)(&forUnmarshaling->formatProperties)); in unmarshal_VkSparseImageMemoryRequirements()
5964 (VkFormatProperties*)(&forMarshaling->formatProperties)); in marshal_VkFormatProperties2()
5988 (VkFormatProperties*)(&forUnmarshaling->formatProperties)); in unmarshal_VkFormatProperties2()
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvulkan_core.h3346 VkSparseImageFormatProperties formatProperties; member
5251 VkFormatProperties formatProperties; member

12