Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp196 , allocateInfo(extendedAllocationInfo) in AHardwareBufferExternalMemory()
208 if(allocateInfo.importAhb) in allocateBuffer()
210 return importAndroidHardwareBuffer(allocateInfo.ahb, &buffer); in allocateBuffer()
214 ASSERT(allocateInfo.exportAhb); in allocateBuffer()
242 if(allocateInfo.dedicatedImageHandle) in allocateAndroidHardwareBuffer()
244 vk::Image *image = allocateInfo.dedicatedImageHandle; in allocateAndroidHardwareBuffer()
255 else if(allocateInfo.dedicatedBufferHandle) in allocateAndroidHardwareBuffer()
257 vk::Buffer *buffer = allocateInfo.dedicatedBufferHandle; in allocateAndroidHardwareBuffer()
292 if(allocateInfo.dedicatedImageHandle) in lockAndroidHardwareBuffer()
294 usage = GetAHBLockUsageFromVkImageUsageFlags(allocateInfo.dedicatedImageHandle->getUsage()); in lockAndroidHardwareBuffer()
[all …]
DVkDeviceMemoryExternalLinux.hpp37 , allocateInfo(extendedAllocationInfo) in OpaqueFdExternalMemory()
48 if(allocateInfo.importFd) in allocateBuffer()
50 memfd.importFd(allocateInfo.fd); in allocateBuffer()
58 ASSERT(allocateInfo.exportFd); in allocateBuffer()
100 OpaqueFdAllocateInfo allocateInfo; member in OpaqueFdExternalMemory
DVkDeviceMemoryExternalFuchsia.hpp73 , allocateInfo(extendedAllocationInfo) in VmoExternalMemory()
84 if(allocateInfo.importHandle) in allocateBuffer()
87 vmoHandle = allocateInfo.handle; in allocateBuffer()
91 ASSERT(allocateInfo.exportHandle); in allocateBuffer()
161 AllocateInfo allocateInfo; member in zircon::VmoExternalMemory
DVkDeviceMemoryExternalMac.hpp73 , allocateInfo(extendedAllocationInfo) in OpaqueFdExternalMemory()
88 if(allocateInfo.importFd) in allocateBuffer()
90 shm_fd_ = allocateInfo.fd; in allocateBuffer()
98 ASSERT(allocateInfo.exportFd); in allocateBuffer()
199 OpaqueFdAllocateInfo allocateInfo; member in OpaqueFdExternalMemory
DVkDeviceMemoryExternalHost.cpp40 , allocateInfo(extendedAllocationInfo) in ExternalMemoryHost()
45 if(allocateInfo.supported) in allocateBuffer()
47 buffer = allocateInfo.hostPointer; in allocateBuffer()
DVkDeviceMemoryExternalAndroid.hpp74 return allocateInfo.importAhb; in isImport()
89 AllocateInfo allocateInfo; member in AHardwareBufferExternalMemory
DVkDeviceMemoryExternalHost.hpp45 AllocateInfo allocateInfo; member in ExternalMemoryHost
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDescriptorSetAllocator.cpp156 VkDescriptorSetAllocateInfo allocateInfo; in AllocateDescriptorPool() local
157 allocateInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in AllocateDescriptorPool()
158 allocateInfo.pNext = nullptr; in AllocateDescriptorPool()
159 allocateInfo.descriptorPool = descriptorPool; in AllocateDescriptorPool()
160 allocateInfo.descriptorSetCount = mMaxSets; in AllocateDescriptorPool()
161 allocateInfo.pSetLayouts = AsVkArray(layouts.data()); in AllocateDescriptorPool()
165 CheckVkSuccess(device->fn.AllocateDescriptorSets(device->GetVkDevice(), &allocateInfo, in AllocateDescriptorPool()
DResourceMemoryAllocatorVk.cpp81 VkMemoryAllocateInfo allocateInfo; in AllocateResourceHeap() local
82 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateResourceHeap()
83 allocateInfo.pNext = nullptr; in AllocateResourceHeap()
84 allocateInfo.allocationSize = size; in AllocateResourceHeap()
85 allocateInfo.memoryTypeIndex = mMemoryTypeIndex; in AllocateResourceHeap()
91 mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, nullptr, in AllocateResourceHeap()
DDeviceVk.cpp607 VkCommandBufferAllocateInfo allocateInfo; in PrepareRecordingContext() local
608 allocateInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in PrepareRecordingContext()
609 allocateInfo.pNext = nullptr; in PrepareRecordingContext()
610 allocateInfo.commandPool = mRecordingContext.commandPool; in PrepareRecordingContext()
611 allocateInfo.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in PrepareRecordingContext()
612 allocateInfo.commandBufferCount = 1; in PrepareRecordingContext()
614 DAWN_TRY(CheckVkSuccess(fn.AllocateCommandBuffers(mVkDevice, &allocateInfo, in PrepareRecordingContext()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceOpaqueFD.cpp119 VkMemoryAllocateInfo allocateInfo; in ImportMemory() local
120 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
121 allocateInfo.pNext = &importMemoryFdInfo; in ImportMemory()
122 allocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
123 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
126 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
DMemoryServiceZirconHandle.cpp120 VkMemoryAllocateInfo allocateInfo; in ImportMemory() local
121 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImportMemory()
122 allocateInfo.pNext = &importMemoryHandleInfo; in ImportMemory()
123 allocateInfo.allocationSize = importParams.allocationSize; in ImportMemory()
124 allocateInfo.memoryTypeIndex = importParams.memoryTypeIndex; in ImportMemory()
127 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DImage.cpp36 vk::MemoryAllocateInfo allocateInfo; in Image() local
37 allocateInfo.allocationSize = memoryRequirements.size; in Image()
38allocateInfo.memoryTypeIndex = Util::getMemoryTypeIndex(physicalDevice, memoryRequirements.memoryT… in Image()
40 imageMemory = device.allocateMemory(allocateInfo); in Image()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
DClearImageBenchmarks.cpp44 vk::MemoryAllocateInfo allocateInfo; in initialize() local
45 allocateInfo.allocationSize = memoryRequirements.size; in initialize()
46allocateInfo.memoryTypeIndex = Util::getMemoryTypeIndex(physicalDevice, memoryRequirements.memoryT… in initialize()
48 memory = device.allocateMemory(allocateInfo); in initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp51 PerPlane<VkMemoryDedicatedAllocateInfo> allocateInfo = {}; member
296 infoOut->allocateInfo[plane].sType = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO; in GetAllocateInfo()
297 infoOut->allocateInfo[plane].pNext = &infoOut->importFdInfo[plane]; in GetAllocateInfo()
298 infoOut->allocateInfo[plane].image = image; in GetAllocateInfo()
304 infoOut->allocateInfoPtr[plane] = &infoOut->allocateInfo[plane]; in GetAllocateInfo()
495 AllocateInfo allocateInfo; in initImpl() local
497 mAttribs, mImage->getImage().getHandle(), planeCount, modifierProperties, &allocateInfo); in initImpl()
501 allocateInfoCount, allocateInfo.allocateInfoPtr.data(), in initImpl()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DVkSurfaceKHR.cpp56 …PresentImage::allocateAndBindImageMemory(VkDevice device, const VkMemoryAllocateInfo &allocateInfo) in allocateAndBindImageMemory() argument
61 VkResult status = vkAllocateMemory(device, &allocateInfo, nullptr, &deviceMemory); in allocateAndBindImageMemory()
DVkSurfaceKHR.hpp42 VkResult allocateAndBindImageMemory(VkDevice device, const VkMemoryAllocateInfo &allocateInfo);
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanImageWrappingTestsOpaqueFD.cpp100 VkMemoryAllocateInfo allocateInfo; in AllocateMemory() local
101 allocateInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateMemory()
102 allocateInfo.pNext = &externalInfo; in AllocateMemory()
103 allocateInfo.allocationSize = requirements.size; in AllocateMemory()
104 allocateInfo.memoryTypeIndex = static_cast<uint32_t>(bestType); in AllocateMemory()
106 *allocationSize = allocateInfo.allocationSize; in AllocateMemory()
107 *memoryTypeIndex = allocateInfo.memoryTypeIndex; in AllocateMemory()
109 return deviceVk->fn.AllocateMemory(deviceVk->GetVkDevice(), &allocateInfo, nullptr, in AllocateMemory()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp195 const VkMemoryAllocateInfo allocateInfo = in iterate() local
203 sparseMemoryAllocation = allocateMemory(deviceInterface, getDevice(), &allocateInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp195 const VkMemoryAllocateInfo allocateInfo = in iterate() local
203 sparseMemoryAllocation = allocateMemory(deviceInterface, getDevice(), &allocateInfo); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp278 const vk::VkCommandBufferAllocateInfo allocateInfo = in createCommandBuffer() local
288 …vk::Move<vk::VkCommandBuffer> commandBuffer (vk::allocateCommandBuffer(vkd, device, &allocateInfo)… in createCommandBuffer()
812 const vk::VkCommandBufferAllocateInfo allocateInfo = in initSwapchainResources() local
821 …ue<vk::VkCommandBuffer> commandBuffer (vk::allocateCommandBuffer(m_vkd, *m_device, &allocateInfo)); in initSwapchainResources()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp278 const vk::VkCommandBufferAllocateInfo allocateInfo = in createCommandBuffer() local
288 …vk::Move<vk::VkCommandBuffer> commandBuffer (vk::allocateCommandBuffer(vkd, device, &allocateInfo)… in createCommandBuffer()
812 const vk::VkCommandBufferAllocateInfo allocateInfo = in initSwapchainResources() local
821 …ue<vk::VkCommandBuffer> commandBuffer (vk::allocateCommandBuffer(m_vkd, *m_device, &allocateInfo)); in initSwapchainResources()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbTests.cpp360 const VkMemoryAllocateInfo allocateInfo = in iterate() local
368 const Unique<VkDeviceMemory> colorImageMemory (allocateMemory(vk, device, &allocateInfo)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawAhbTests.cpp360 const VkMemoryAllocateInfo allocateInfo = in iterate() local
368 const Unique<VkDeviceMemory> colorImageMemory (allocateMemory(vk, device, &allocateInfo)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp4990 const vk::VkDescriptorSetAllocateInfo allocateInfo = in prepare() local
5000 …m_descriptorSets[descriptorSetNdx] = vk::allocateDescriptorSet(vkd, device, &allocateInfo).disown(… in prepare()
5180 const vk::VkDescriptorSetAllocateInfo allocateInfo = in prepare() local
5190 …m_descriptorSets[descriptorSetNdx] = vk::allocateDescriptorSet(vkd, device, &allocateInfo).disown(… in prepare()
5353 const vk::VkDescriptorSetAllocateInfo allocateInfo = in prepare() local
5363 …m_descriptorSets[descriptorSetNdx] = vk::allocateDescriptorSet(vkd, device, &allocateInfo).disown(… in prepare()
5534 const vk::VkDescriptorSetAllocateInfo allocateInfo = in prepare() local
5544 …m_descriptorSets[descriptorSetNdx] = vk::allocateDescriptorSet(vkd, device, &allocateInfo).disown(… in prepare()
5705 const vk::VkDescriptorSetAllocateInfo allocateInfo = in prepare() local
5715 m_descriptorSet = vk::allocateDescriptorSet(vkd, device, &allocateInfo); in prepare()
[all …]

123