Home
last modified time | relevance | path

Searched refs:allocateInfo (Results 1 – 25 of 100) sorted by relevance

1234

/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/vkcom/src/
H A Dbuffer.cpp49 VkMemoryAllocateInfo allocateInfo = {}; in init() local
50 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init()
51 allocateInfo.allocationSize = memoryRequirements.size; in init()
52 allocateInfo.memoryTypeIndex = findMemoryType(memoryRequirements.memoryTypeBits, in init()
55 VK_CHECK_RESULT(vkAllocateMemory(device_, &allocateInfo, NULL, &memory_)); in init()
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/ServiceControl/
H A DAllocateQuotaResponse.php47 public function setAllocateInfo(Google_Service_ServiceControl_AllocateInfo $allocateInfo) argument
49 $this->allocateInfo = $allocateInfo;
56 return $this->allocateInfo;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/Vulkan/
H A DVkDeviceMemoryExternalLinux.hpp87 : allocateInfo(pAllocateInfo) in OpaqueFdExternalMemory()
98 if(allocateInfo.importFd) in allocate()
100 memfd.importFd(allocateInfo.fd); in allocate()
108 ASSERT(allocateInfo.exportFd); in allocate()
150 AllocateInfo allocateInfo; member in OpaqueFdExternalMemory
H A DVkDeviceMemoryExternalAndroid.hpp93 : allocateInfo(pAllocateInfo) in AHardwareBufferExternalMemory()
105 if(allocateInfo.importAhb) in allocate()
114 ASSERT(allocateInfo.exportAhb); in allocate()
159 AllocateInfo allocateInfo; member in AHardwareBufferExternalMemory
H A DVkDeviceMemory.cpp180 : allocateInfo(pAllocateInfo) in ExternalMemoryHost()
186 if(allocateInfo.supported) in allocate()
188 *pBuffer = allocateInfo.hostPointer; in allocate()
203 AllocateInfo allocateInfo; member in ExternalMemoryHost
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/Vulkan/
H A DVkDeviceMemoryExternalLinux.hpp92 : allocateInfo(pAllocateInfo) in OpaqueFdExternalMemory()
103 if(allocateInfo.importFd) in allocate()
105 memfd.importFd(allocateInfo.fd); in allocate()
113 ASSERT(allocateInfo.exportFd); in allocate()
155 AllocateInfo allocateInfo; member in OpaqueFdExternalMemory
H A DVkDeviceMemoryExternalFuchsia.hpp92 : allocateInfo(pAllocateInfo) in VmoExternalMemory()
103 if(allocateInfo.importHandle) in allocate()
106 vmoHandle = allocateInfo.handle; in allocate()
110 ASSERT(allocateInfo.exportHandle); in allocate()
180 AllocateInfo allocateInfo; member in zircon::VmoExternalMemory
H A DVkDeviceMemoryExternalAndroid.cpp291 : allocateInfo(pAllocateInfo) in AHardwareBufferExternalMemory()
304 if(allocateInfo.importAhb) in allocate()
306 return importAndroidHardwareBuffer(allocateInfo.ahb, pBuffer); in allocate()
310 ASSERT(allocateInfo.exportAhb); in allocate()
338 if(allocateInfo.imageHandle) in allocateAndroidHardwareBuffer()
340 vk::Image *image = allocateInfo.imageHandle; in allocateAndroidHardwareBuffer()
354 vk::Buffer *buffer = allocateInfo.bufferHandle; in allocateAndroidHardwareBuffer()
378 if(allocateInfo.imageHandle) in lockAndroidHardwareBuffer()
380 usage = GetAHBLockUsageFromVkImageUsageFlags(allocateInfo.imageHandle->getUsage()); in lockAndroidHardwareBuffer()
384 usage = GetAHBLockUsageFromVkBufferUsageFlags(allocateInfo.bufferHandle->getUsage()); in lockAndroidHardwareBuffer()
H A DVkDeviceMemory.cpp146 : allocateInfo(pAllocateInfo) in ExternalMemoryHost()
152 if(allocateInfo.supported) in allocate()
154 *pBuffer = allocateInfo.hostPointer; in allocate()
169 AllocateInfo allocateInfo; member in ExternalMemoryHost
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/vulkan/
H A DDescriptorSetAllocator.cpp149 VkDescriptorSetAllocateInfo allocateInfo; in AllocateDescriptorPool() local
150 allocateInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in AllocateDescriptorPool()
151 allocateInfo.pNext = nullptr; in AllocateDescriptorPool()
152 allocateInfo.descriptorPool = descriptorPool; in AllocateDescriptorPool()
153 allocateInfo.descriptorSetCount = mMaxSets; in AllocateDescriptorPool()
154 allocateInfo.pSetLayouts = AsVkArray(layouts.data()); in AllocateDescriptorPool()
158 CheckVkSuccess(device->fn.AllocateDescriptorSets(device->GetVkDevice(), &allocateInfo, in AllocateDescriptorPool()
H A DResourceMemoryAllocatorVk.cpp82 VkMemoryAllocateInfo allocateInfo; in AllocateResourceHeap() local
83 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateResourceHeap()
84 allocateInfo.pNext = nullptr; in AllocateResourceHeap()
85 allocateInfo.allocationSize = size; in AllocateResourceHeap()
86 allocateInfo.memoryTypeIndex = mMemoryTypeIndex; in AllocateResourceHeap()
92 mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, nullptr, in AllocateResourceHeap()
H A DDeviceVk.cpp555 VkCommandBufferAllocateInfo allocateInfo; in PrepareRecordingContext() local
556 allocateInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in PrepareRecordingContext()
557 allocateInfo.pNext = nullptr; in PrepareRecordingContext()
558 allocateInfo.commandPool = mRecordingContext.commandPool; in PrepareRecordingContext()
559 allocateInfo.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in PrepareRecordingContext()
560 allocateInfo.commandBufferCount = 1; in PrepareRecordingContext()
562 DAWN_TRY(CheckVkSuccess(fn.AllocateCommandBuffers(mVkDevice, &allocateInfo, in PrepareRecordingContext()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dawn/src/dawn_native/vulkan/external_memory/
H A DMemoryServiceOpaqueFD.cpp123 VkMemoryAllocateInfo allocateInfo; in ImportMemory() local
124 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
125 allocateInfo.pNext = &importMemoryFdInfo; in ImportMemory()
126 allocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
127 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
130 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
H A DMemoryServiceZirconHandle.cpp125 VkMemoryAllocateInfo allocateInfo; in ImportMemory() local
126 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
127 allocateInfo.pNext = &importMemoryHandleInfo; in ImportMemory()
128 allocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
129 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
132 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/vulkan/external_memory/
H A DMemoryServiceZirconHandle.cpp118 VkMemoryAllocateInfo allocateInfo; in ImportMemory() local
119 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
120 allocateInfo.pNext = &importMemoryHandleInfo; in ImportMemory()
121 allocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
122 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
125 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
H A DMemoryServiceOpaqueFD.cpp116 VkMemoryAllocateInfo allocateInfo; in ImportMemory() local
117 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
118 allocateInfo.pNext = &importMemoryFdInfo; in ImportMemory()
119 allocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
120 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
123 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dawn/src/dawn_native/vulkan/
H A DBindGroupLayoutVk.cpp204 VkDescriptorSetAllocateInfo allocateInfo; in AllocateOneDescriptorSet() local
205 allocateInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in AllocateOneDescriptorSet()
206 allocateInfo.pNext = nullptr; in AllocateOneDescriptorSet()
207 allocateInfo.descriptorPool = descriptorPool; in AllocateOneDescriptorSet()
208 allocateInfo.descriptorSetCount = 1; in AllocateOneDescriptorSet()
209 allocateInfo.pSetLayouts = &*mHandle; in AllocateOneDescriptorSet()
213 CheckVkSuccess(device->fn.AllocateDescriptorSets(device->GetVkDevice(), &allocateInfo, in AllocateOneDescriptorSet()
H A DResourceMemoryAllocatorVk.cpp65 VkMemoryAllocateInfo allocateInfo; in AllocateResourceHeap() local
66 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateResourceHeap()
67 allocateInfo.pNext = nullptr; in AllocateResourceHeap()
68 allocateInfo.allocationSize = size; in AllocateResourceHeap()
69 allocateInfo.memoryTypeIndex = mMemoryTypeIndex; in AllocateResourceHeap()
75 mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, nullptr, in AllocateResourceHeap()
H A DDeviceVk.cpp545 VkCommandBufferAllocateInfo allocateInfo; in PrepareRecordingContext() local
546 allocateInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in PrepareRecordingContext()
547 allocateInfo.pNext = nullptr; in PrepareRecordingContext()
548 allocateInfo.commandPool = mRecordingContext.commandPool; in PrepareRecordingContext()
549 allocateInfo.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in PrepareRecordingContext()
550 allocateInfo.commandBufferCount = 1; in PrepareRecordingContext()
552 DAWN_TRY(CheckVkSuccess(fn.AllocateCommandBuffers(mVkDevice, &allocateInfo, in PrepareRecordingContext()
/dports/misc/usd/USD-21.11/pxr/imaging/hgiVulkan/
H A DresourceBindings.cpp201 VkDescriptorSetAllocateInfo allocateInfo = in HgiVulkanResourceBindings() local
204 allocateInfo.descriptorPool = _vkDescriptorPool; in HgiVulkanResourceBindings()
205 allocateInfo.descriptorSetCount = _descriptorSetCnt; in HgiVulkanResourceBindings()
206 allocateInfo.pSetLayouts = &_vkDescriptorSetLayout; in HgiVulkanResourceBindings()
211 &allocateInfo, in HgiVulkanResourceBindings()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/WSI/
H A DVkSurfaceKHR.cpp63 …PresentImage::allocateAndBindImageMemory(VkDevice device, const VkMemoryAllocateInfo &allocateInfo) in allocateAndBindImageMemory() argument
74 VkResult status = vkAllocateMemory(device, &allocateInfo, nullptr, vkDeviceMemoryPtr); in allocateAndBindImageMemory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/WSI/
H A DVkSurfaceKHR.cpp63 …PresentImage::allocateAndBindImageMemory(VkDevice device, const VkMemoryAllocateInfo &allocateInfo) in allocateAndBindImageMemory() argument
74 VkResult status = vkAllocateMemory(device, &allocateInfo, nullptr, vkDeviceMemoryPtr); in allocateAndBindImageMemory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/white_box/
H A DVulkanImageWrappingTestsOpaqueFD.cpp95 VkMemoryAllocateInfo allocateInfo; in AllocateMemory() local
96 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateMemory()
97 allocateInfo.pNext = &externalInfo; in AllocateMemory()
98 allocateInfo.allocationSize = requirements.size; in AllocateMemory()
99 allocateInfo.memoryTypeIndex = static_cast<uint32_t>(bestType); in AllocateMemory()
101 *allocationSize = allocateInfo.allocationSize; in AllocateMemory()
102 *memoryTypeIndex = allocateInfo.memoryTypeIndex; in AllocateMemory()
104 return deviceVk->fn.AllocateMemory(deviceVk->GetVkDevice(), &allocateInfo, nullptr, in AllocateMemory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/tests/VulkanBenchmarks/
H A DVulkanBenchmarks.cpp124 vk::MemoryAllocateInfo allocateInfo; in ClearImageBenchmark() local
125 allocateInfo.allocationSize = memoryRequirements.size; in ClearImageBenchmark()
126 allocateInfo.memoryTypeIndex = 0; in ClearImageBenchmark()
128 memory = device.allocateMemory(allocateInfo); in ClearImageBenchmark()
430 vk::MemoryAllocateInfo allocateInfo; in Framebuffer() local
431 allocateInfo.allocationSize = memoryRequirements.size; in Framebuffer()
432allocateInfo.memoryTypeIndex = 0; //getMemoryTypeIndex(memoryRequirements.memoryTypeBits, vk::Mem… in Framebuffer()
434 multisampleImage.imageMemory = device.allocateMemory(allocateInfo); in Framebuffer()
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/cm/devicemanager/
H A Dpod_devices.go340 for resource, allocateInfo := range pdev.devs[podUID][contName] {
341 if len(allocateInfo.deviceIds) == 0 {
345 for numaid, devlist := range allocateInfo.deviceIds {

1234