/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | MemoryAllocator.cpp | 51 for (size_t i = 0; i < info.memoryTypes.size(); ++i) { in Allocate() 59 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) { in Allocate() 65 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT) == 0) { in Allocate() 77 if ((info.memoryTypes[bestType].propertyFlags & in Allocate() 79 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) != in Allocate() 88 info.memoryHeaps[info.memoryTypes[bestType].heapIndex].size; in Allocate() 89 VkDeviceSize candidateHeapSize = info.memoryHeaps[info.memoryTypes[i].heapIndex].size; in Allocate()
|
D | VulkanInfo.cpp | 161 info.memoryTypes.assign(memory.memoryTypes, in GatherDeviceInfo() 162 memory.memoryTypes + memory.memoryTypeCount); in GatherDeviceInfo()
|
D | VulkanInfo.h | 78 std::vector<VkMemoryType> memoryTypes; member
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 115 mAllocatorsPerType.reserve(info.memoryTypes.size()); in ResourceMemoryAllocator() 117 for (size_t i = 0; i < info.memoryTypes.size(); i++) { in ResourceMemoryAllocator() 119 mDevice, i, info.memoryHeaps[info.memoryTypes[i].heapIndex].size)); in ResourceMemoryAllocator() 237 for (size_t i = 0; i < info.memoryTypes.size(); ++i) { in FindBestTypeIndex() 245 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) == 0) { in FindBestTypeIndex() 251 (info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT) == 0) { in FindBestTypeIndex() 263 info.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in FindBestTypeIndex() 265 info.memoryTypes[bestType].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in FindBestTypeIndex() 275 info.memoryHeaps[info.memoryTypes[bestType].heapIndex].size; in FindBestTypeIndex() 276 VkDeviceSize candidateHeapSize = info.memoryHeaps[info.memoryTypes[i].heapIndex].size; in FindBestTypeIndex()
|
D | VulkanInfo.cpp | 154 info.memoryTypes.assign(memory.memoryTypes, in GatherDeviceInfo() 155 memory.memoryTypes + memory.memoryTypeCount); in GatherDeviceInfo()
|
D | VulkanInfo.h | 66 std::vector<VkMemoryType> memoryTypes; member
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiMemoryRequirementInvarianceTests.cpp | 72 BufferAllocator (deRandom& random, deBool dedicated, std::vector<int>& memoryTypes); 86 BufferAllocator::BufferAllocator (deRandom& random, deBool dedicated, std::vector<int>& memoryTypes) in BufferAllocator() argument 95 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in BufferAllocator() 146 … std::vector<int>& linearformats, std::vector<int>& optimalformats, std::vector<int>& memoryTypes); 161 …, std::vector<int>& linearformats, std::vector<int>& optimalformats, std::vector<int>& memoryTypes) in ImageAllocator() argument 180 m_memoryType = memoryTypes[deRandom_getUint32(&random) % memoryTypes.size()]; in ImageAllocator() 264 std::vector<int> memoryTypes; in iterate() local 547 if (legalMemoryTypes[j].matchesHeap(memProperties.memoryTypes[i].propertyFlags)) in iterate() 549 memoryTypes.push_back(j); in iterate() 574 for (unsigned int i = 0; i < memoryTypes.size(); i++) in iterate() [all …]
|
D | vktApiGetMemoryCommitment.cpp | 63 if ((pMemoryProperties.memoryTypes[typeIndex].propertyFlags & propertyFlag) == propertyFlag) in getMemoryTypeIndices() 478 …if((pMemoryProperties.memoryTypes[memTypeNdx].propertyFlags & propertyFlag) == propertyFlag) //if … in isDeviceMemoryCommitmentOk()
|
D | vktApiBufferMarkerTests.cpp | 1040 const bool memoryTypes[] = { true, false }; in createBufferMarkerTestsInGroup() local 1044 for (size_t memNdx = 0; memNdx < DE_LENGTH_OF_ARRAY(memoryTypes); ++memNdx) in createBufferMarkerTestsInGroup() 1048 base.useHostPtr = memoryTypes[memNdx]; in createBufferMarkerTestsInGroup()
|
D | vktApiBufferTests.cpp | 233 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest() 454 const VkMemoryType memoryType = memoryProperties.memoryTypes[heapTypeIndex]; in bufferCreateAndAllocTest()
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_physical_device.c | 154 … pMemoryProperties->memoryTypes[i].heapIndex = props2.memoryProperties.memoryTypes[i].heapIndex; in vk_common_GetPhysicalDeviceMemoryProperties() 155 …pMemoryProperties->memoryTypes[i].propertyFlags = props2.memoryProperties.memoryTypes[i].propertyF… in vk_common_GetPhysicalDeviceMemoryProperties()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryMappingTests.cpp | 682 const vk::VkMemoryType& memoryType = memoryProperties.memoryTypes[memoryTypeIndex]; in testMemoryMapping() 1195 const vector<MemoryType>& memoryTypes, in MemoryHeap() argument 1200 , m_memoryTypes (memoryTypes) in MemoryHeap() 1305 vector<pair<MemoryType, VkDeviceSize> > memoryTypes; in allocateRandom() local 1352 memoryTypes.push_back(std::make_pair(type, maxAllocationSize)); in allocateRandom() 1385 memoryTypes.push_back(std::make_pair(type, maxAllocationSize)); in allocateRandom() 1391 …peMaxSizePair = rng.choose<pair<MemoryType, VkDeviceSize> >(memoryTypes.begin(), memoryTypes.end()… in allocateRandom() 1444 vector<vector<MemoryType> > memoryTypes (memoryProperties.memoryHeapCount); in RandomMemoryMappingInstance() local 1448 …if (memoryProperties.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BI… in RandomMemoryMappingInstance() 1449 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance() [all …]
|
D | vktMemoryAllocationTests.cpp | 319 …if ((m_memoryProperties.memoryTypes[m_memoryTypeIndex].propertyFlags & vk::VK_MEMORY_PROPERTY_PROT… in iterate() 343 const VkMemoryType memoryType = m_memoryProperties.memoryTypes[m_memoryTypeIndex]; in iterate() 614 m_memoryProperties.memoryTypes[memoryTypeNdx] in iterate()
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/ |
D | vkdeviceprovider.c | 185 memoryTypes[i].propertyFlags); in fill_properties() 190 (guint) device->memory_properties.memoryTypes[i].heapIndex, NULL); in fill_properties() 195 (guint) device->memory_properties.memoryTypes[i].propertyFlags, NULL); in fill_properties()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
D | Device.cpp | 346 if((flags & properties.memoryTypes[type].propertyFlags) == 0) in AllocateMemory() 351 if(size > properties.memoryHeaps[properties.memoryTypes[type].heapIndex].size) in AllocateMemory()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 58 const VkMemoryType *mem_type = &mem_props->memoryTypes[mem_type_index]; in vn_device_memory_simple_alloc() 235 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf() 316 &mem_props->memoryTypes[pAllocateInfo->memoryTypeIndex]; in vn_AllocateMemory()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 325 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() 328 …(memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) != 0 … in generateSwapchainParameterCases() 365 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() 367 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases() 440 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() 442 if (memoryProperties.memoryTypes[memType].propertyFlags & vk::VK_MEMORY_PROPERTY_PROTECTED_BIT) in generateSwapchainParameterCases()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 89 …return (deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_… in isHostVisibleMemory() 365 if (requirement.matchesHeap(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags)) in getCompatibleMemoryTypes()
|
/third_party/flutter/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 422 uint32_t supportedFlags = pdmp.memoryTypes[i].propertyFlags & in make_vk_backend_texture() 426 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Util.cpp | 28 if((deviceMemoryProperties.memoryTypes[i].propertyFlags & properties) == properties) in getMemoryTypeIndex()
|
/third_party/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.cpp | 101 if (phyDevMemProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in createBackendTexture()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkmemory.c | 239 if ((device->physical_device->memory_properties.memoryTypes[i]. in gst_vulkan_memory_find_memory_type_index_with_type_properties()
|
D | gstvkphysicaldevice.c | 492 memoryTypes[i].propertyFlags); in dump_memory_properties() 496 device->memory_properties.memoryTypes[i].heapIndex, in dump_memory_properties() 497 device->memory_properties.memoryTypes[i].propertyFlags, prop_flags_str); in dump_memory_properties()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 196 …(deviceMemProps.memoryTypes[memoryTypeNdx].propertyFlags & memoryPropertyFlag) == memoryPropertyFl… in getMemoryIndex() 209 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 210 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].h… in isPeerFetchAllowed() 1141 …vk.getDeviceGroupPeerMemoryFeatures(*m_deviceGroup, deviceMemProps.memoryTypes[memoryTypeNdx].heap… in iterate()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 309 if ((mMemoryProperties.memoryTypes[memoryIndex].propertyFlags & in findCompatibleMemoryIndex() 312 *memoryPropertyFlagsOut = mMemoryProperties.memoryTypes[memoryIndex].propertyFlags; in findCompatibleMemoryIndex()
|