Home
last modified time | relevance | path

Searched refs:memoryRequirements (Results 1 – 25 of 32) sorted by relevance

12

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_dedicated_allocation.adoc64 VkMemoryRequirements memoryRequirements;
68 &memoryRequirements);
85 .allocationSize = memoryRequirements.size,
86 .memoryTypeIndex = FindMemoryTypeIndex(memoryRequirements.memoryTypeBits),
DVK_KHR_dedicated_allocation.adoc77 VkMemoryRequirements2 memoryRequirements =
93 &memoryRequirements);
111 .allocationSize = memoryRequirements.size,
112 .memoryTypeIndex = FindMemoryTypeIndex(memoryRequirements.memoryTypeBits),
/hardware/google/gfxstream/host/vulkan/
DVkEmulatedPhysicalDeviceMemory.cpp127 VkMemoryRequirements* memoryRequirements) const { in transformToGuestMemoryRequirements()
130 const uint32_t hostMemoryTypeBits = memoryRequirements->memoryTypeBits; in transformToGuestMemoryRequirements()
145 memoryRequirements->memoryTypeBits = guestMemoryTypeBits; in transformToGuestMemoryRequirements()
DVkDecoderSnapshotUtils.cpp25 const VkMemoryRequirements& memoryRequirements, in GetMemoryType() argument
29 if (!(memoryRequirements.memoryTypeBits & (1 << i))) { in GetMemoryType()
DVkCommonOperations.cpp2057 infoPtr->memReqs = reqs.memoryRequirements; in initializeVkColorBufferLocked()
3008 res.memReqs = reqs.memoryRequirements; in setupVkBuffer()
DVkDecoderGlobalState.cpp3717 &pMemoryRequirements->memoryRequirements); in on_vkGetImageMemoryRequirements2()
3720 updateImageMemorySizeLocked(device, pInfo->image, &pMemoryRequirements->memoryRequirements); in on_vkGetImageMemoryRequirements2()
3724 &pMemoryRequirements->memoryRequirements); in on_vkGetImageMemoryRequirements2()
3784 &pMemoryRequirements->memoryRequirements); in on_vkGetBufferMemoryRequirements2()
3789 &pMemoryRequirements->memoryRequirements); in on_vkGetBufferMemoryRequirements2()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTestUtils.h23 const vkhpp::MemoryRequirements& memoryRequirements,
DGfxstreamEnd2EndTestUtils.cpp29 const vkhpp::MemoryRequirements& memoryRequirements, in getMemoryType() argument
33 if (!(memoryRequirements.memoryTypeBits & (1 << i))) { in getMemoryType()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_buffer.c99 *pMemoryRequirements = reqs.memoryRequirements; in vk_common_GetBufferMemoryRequirements()
Dvk_device.c463 *pMemoryRequirements = reqs.memoryRequirements; in vk_common_GetImageMemoryRequirements()
518 pSparseMemoryRequirements[i] = mem_reqs2[i].memoryRequirements; in vk_common_GetImageSparseMemoryRequirements()
/hardware/google/gfxstream/common/detector/
DVulkan.cpp325 const auto memoryRequirements = mDevice->getImageMemoryRequirements(*image); in CreateImage() local
328 memoryRequirements.memoryTypeBits, in CreateImage()
332 .allocationSize = memoryRequirements.size, in CreateImage()
572 const auto memoryRequirements = mDevice->getImageMemoryRequirements(*image); in CreateYuvImage() local
576 memoryRequirements.memoryTypeBits, in CreateYuvImage()
580 .allocationSize = memoryRequirements.size, in CreateYuvImage()
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkan_raii.hpp11079 VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; in getMemoryRequirements() local
11080 …atic_cast<VkBuffer>( m_buffer ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); in getMemoryRequirements()
11083 return memoryRequirements; in getMemoryRequirements()
11092 VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; in getMemoryRequirements() local
11093 …static_cast<VkImage>( m_image ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); in getMemoryRequirements()
11096 return memoryRequirements; in getMemoryRequirements()
12204 VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; in getImageMemoryRequirements2() local
12205 …yRequirementsInfo2 *>( &info ), reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); in getImageMemoryRequirements2()
12208 return memoryRequirements; in getImageMemoryRequirements2()
12218 …VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get<VULKA… in getImageMemoryRequirements2() local
[all …]
Dvulkansc_raii.hpp6347 VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; in getMemoryRequirements() local
6348 …atic_cast<VkBuffer>( m_buffer ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); in getMemoryRequirements()
6351 return memoryRequirements; in getMemoryRequirements()
6360 VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; in getMemoryRequirements() local
6361 …static_cast<VkImage>( m_image ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); in getMemoryRequirements()
6364 return memoryRequirements; in getMemoryRequirements()
7374 VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; in getImageMemoryRequirements2() local
7375 …yRequirementsInfo2 *>( &info ), reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); in getImageMemoryRequirements2()
7378 return memoryRequirements; in getImageMemoryRequirements2()
7388 …VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get<VULKA… in getImageMemoryRequirements2() local
[all …]
Dvulkansc_funcs.hpp953 VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; in getBufferMemoryRequirements() local
954 …static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); in getBufferMemoryRequirements()
957 return memoryRequirements; in getBufferMemoryRequirements()
976 VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; in getImageMemoryRequirements() local
977 …, static_cast<VkImage>( image ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); in getImageMemoryRequirements()
980 return memoryRequirements; in getImageMemoryRequirements()
3875 VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; in getImageMemoryRequirements2() local
3876 …yRequirementsInfo2 *>( &info ), reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); in getImageMemoryRequirements2()
3879 return memoryRequirements; in getImageMemoryRequirements2()
3889 …VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get<VULKA… in getImageMemoryRequirements2() local
[all …]
Dvulkansc_hash.hpp3558 …std::size_t operator()(VULKAN_HPP_NAMESPACE::MemoryRequirements const & memoryRequirements) const … in operator ()()
3561 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements.size ); in operator ()()
3562 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements.alignment ); in operator ()()
3563 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements.memoryTypeBits ); in operator ()()
3575 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements2.memoryRequirements ); in operator ()()
Dvulkan_hash.hpp6187 …std::size_t operator()(VULKAN_HPP_NAMESPACE::MemoryRequirements const & memoryRequirements) const … in operator ()()
6190 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements.size ); in operator ()()
6191 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements.alignment ); in operator ()()
6192 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements.memoryTypeBits ); in operator ()()
6204 VULKAN_HPP_HASH_COMBINE( seed, memoryRequirements2.memoryRequirements ); in operator ()()
12801 VULKAN_HPP_HASH_COMBINE( seed, sparseImageMemoryRequirements2.memoryRequirements ); in operator ()()
14492 VULKAN_HPP_HASH_COMBINE( seed, videoSessionMemoryRequirementsKHR.memoryRequirements ); in operator ()()
/hardware/google/gfxstream/guest/vulkan_enc/
Dgoldfish_vk_transform_guest.cpp2740 resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_tohost_VkMemoryRequirements2()
2751 resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_fromhost_VkMemoryRequirements2()
2762 resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_tohost_VkSparseImageMemoryRequirements2()
2773 resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_fromhost_VkSparseImageMemoryRequirements2()
Dgoldfish_vk_deepcopy_guest.cpp2684 deepcopy_VkMemoryRequirements(alloc, rootType, &from->memoryRequirements, in deepcopy_VkMemoryRequirements2()
2685 (VkMemoryRequirements*)(&to->memoryRequirements)); in deepcopy_VkMemoryRequirements2()
2709 alloc, rootType, &from->memoryRequirements, in deepcopy_VkSparseImageMemoryRequirements2()
2710 (VkSparseImageMemoryRequirements*)(&to->memoryRequirements)); in deepcopy_VkSparseImageMemoryRequirements2()
DResourceTracker.cpp4042 transformImageMemoryRequirementsForGuestLocked(image, &reqs2->memoryRequirements); in transformImageMemoryRequirements2ForGuest()
4046 transformImageMemoryRequirementsForGuestLocked(image, &reqs2->memoryRequirements); in transformImageMemoryRequirements2ForGuest()
Dgoldfish_vk_counting_guest.cpp2694 (VkMemoryRequirements*)(&toCount->memoryRequirements), count); in count_VkMemoryRequirements2()
2710 featureBits, rootType, (VkSparseImageMemoryRequirements*)(&toCount->memoryRequirements), in count_VkSparseImageMemoryRequirements2()
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_transform.cpp2750 resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_tohost_VkMemoryRequirements2()
2761 resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_fromhost_VkMemoryRequirements2()
2772 resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_tohost_VkSparseImageMemoryRequirements2()
2783 resourceTracker, (VkSparseImageMemoryRequirements*)(&toTransform->memoryRequirements)); in transform_fromhost_VkSparseImageMemoryRequirements2()
Dgoldfish_vk_deepcopy.cpp2684 deepcopy_VkMemoryRequirements(alloc, rootType, &from->memoryRequirements, in deepcopy_VkMemoryRequirements2()
2685 (VkMemoryRequirements*)(&to->memoryRequirements)); in deepcopy_VkMemoryRequirements2()
2709 alloc, rootType, &from->memoryRequirements, in deepcopy_VkSparseImageMemoryRequirements2()
2710 (VkSparseImageMemoryRequirements*)(&to->memoryRequirements)); in deepcopy_VkSparseImageMemoryRequirements2()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_KHR_video_queue.adoc211 VkMemoryRequirements memoryRequirements;
215 …r of the corresponding memory binding and can have any value, and `memoryRequirements` contains th…
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dmemory.adoc726 VkMemoryRequirements memoryRequirements;
727 vkGetImageMemoryRequirements(device, image, &memoryRequirements);
729 findProperties(&memoryProperties, memoryRequirements.memoryTypeBits, optimalProperties);
732 findProperties(&memoryProperties, memoryRequirements.memoryTypeBits, requiredProperties);
Dvideo_extensions.adoc1456 * pname:memoryRequirements is a slink:VkMemoryRequirements structure in
1489 pname:bindSessionMemoryInfoCount, then the pname:memoryRequirements

12