Home
last modified time | relevance | path

Searched refs:deviceMemory (Results 1 – 23 of 23) sorted by relevance

/external/angle/src/tests/gl_tests/
DVulkanExternalImageTest.cpp115 VkDeviceMemory deviceMemory, in ExportMemory()
118 return helper->exportMemoryOpaqueFd(deviceMemory, handle); in ExportMemory()
182 VkDeviceMemory deviceMemory, in ExportMemory()
185 return helper->exportMemoryZirconVmo(deviceMemory, handle); in ExportMemory()
233 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldImportMemoryTest() local
238 &image, &deviceMemory, &deviceMemorySize); in RunShouldImportMemoryTest()
242 result = Traits::ExportMemory(&helper, deviceMemory, &memoryHandle); in RunShouldImportMemoryTest()
264 vkFreeMemory(helper.getDevice(), deviceMemory, nullptr); in RunShouldImportMemoryTest()
343 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldClearTest() local
348 &image, &deviceMemory, &deviceMemorySize); in RunShouldClearTest()
[all …]
/external/angle/src/tests/test_utils/
DVulkanExternalHelper.cpp492 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in createImage2DExternal() local
493 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory); in createImage2DExternal()
501 result = vkBindImageMemory(mDevice, image, deviceMemory, memoryOffset); in createImage2DExternal()
504 vkFreeMemory(mDevice, deviceMemory, nullptr); in createImage2DExternal()
510 *deviceMemoryOut = deviceMemory; in createImage2DExternal()
544 VkResult VulkanExternalHelper::exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd) in exportMemoryOpaqueFd() argument
549 /* .memory = */ deviceMemory, in exportMemoryOpaqueFd()
584 VkResult VulkanExternalHelper::exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo) in exportMemoryZirconVmo() argument
589 /* .memory = */ deviceMemory, in exportMemoryZirconVmo()
890 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in readPixels() local
[all …]
DVulkanExternalHelper.h58 VkResult exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd);
73 VkResult exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo);
/external/swiftshader/src/Vulkan/
DVkCommandPool.cpp46 void *deviceMemory = vk::allocate(sizeof(DispatchableCommandBuffer), REQUIRED_MEMORY_ALIGNMENT, in allocateCommandBuffers() local
48 ASSERT(deviceMemory); in allocateCommandBuffers()
49 …DispatchableCommandBuffer *commandBuffer = new(deviceMemory) DispatchableCommandBuffer(device, lev… in allocateCommandBuffers()
DVkImage.cpp262 deviceMemory = pDeviceMemory; in bind()
266 decompressedImage->deviceMemory = deviceMemory; in bind()
301 uint8_t *srcBuffer = static_cast<uint8_t *>(deviceMemory->getOffsetPointer(0)); in prepareForExternalUseANDROID()
323 return backingMemory.externalMemory ? *deviceMemory : VkDeviceMemory{ VK_NULL_HANDLE }; in getExternalMemory()
662 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer()
790 if(deviceMemory && deviceMemory->hasExternalImageProperties()) in rowPitchBytes()
792 return deviceMemory->externalImageRowPitchBytes(aspect); in rowPitchBytes()
839 …return reinterpret_cast<uint8_t *>(deviceMemory->getOffsetPointer(deviceMemory->getCommittedMemory… in end()
844 if(deviceMemory && deviceMemory->hasExternalImageProperties()) in getMemoryOffset()
846 return deviceMemory->externalImageMemoryOffset(aspect); in getMemoryOffset()
DVkImage.hpp119 DeviceMemory *deviceMemory = nullptr; member in vk::Image
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp873 VkDeviceMemory deviceMemory = 0; in makeSparseImageMemoryBind() local
874 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
879 imageMemoryBind.memory = deviceMemory; in makeSparseImageMemoryBind()
903 VkDeviceMemory deviceMemory = 0; in makeSparseMemoryBind() local
904 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
910 memoryBind.memory = deviceMemory; in makeSparseMemoryBind()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp239 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory() argument
245 deviceMemory = allocator->allocate(memReqs, allocRequirement); in createMarkerBufferMemory()
278deviceMemory = MovePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), … in createMarkerBufferMemory()
281 …VK_CHECK(vkd.bindBufferMemory(device, buffer, deviceMemory->getMemory(), deviceMemory->getOffset()… in createMarkerBufferMemory()
DvktApiObjectManagementTests.cpp3062 CaseDescription<DeviceMemory> deviceMemory; member
3119 addCases (group, cases.deviceMemory); in createTests()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h413 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory);
542 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory);
1297 ANGLE_INLINE VkResult Image::bindMemory(VkDevice device, const vk::DeviceMemory &deviceMemory)
1299 ASSERT(valid() && deviceMemory.valid());
1300 return vkBindImageMemory(device, mHandle, deviceMemory.getHandle(), 0);
1575 ANGLE_INLINE VkResult Buffer::bindMemory(VkDevice device, const DeviceMemory &deviceMemory)
1577 ASSERT(valid() && deviceMemory.valid());
1578 return vkBindBufferMemory(device, mHandle, deviceMemory.getHandle(), 0);
Dvk_utils.cpp517 DeviceMemory *deviceMemory, in InitMappableDeviceMemory() argument
525 ANGLE_VK_TRY(context, deviceMemory->map(device, 0, VK_WHOLE_SIZE, 0, &mapPointer)); in InitMappableDeviceMemory()
533 mappedRange.memory = deviceMemory->getHandle(); in InitMappableDeviceMemory()
538 deviceMemory->unmap(device); in InitMappableDeviceMemory()
Dvk_utils.h388 DeviceMemory *deviceMemory,
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.h35 VkDeviceMemory deviceMemory{VK_NULL_HANDLE};
DVulkanRuntime.cpp150 vkFreeMemory(device, memoryBuffer.deviceMemory, nullptr); in destroy()
438 &memoryBuffer.deviceMemory), in createMemoryBuffers()
473 memoryBuffer.deviceMemory, 0), in createMemoryBuffers()
/external/skqp/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp177 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
/external/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp230 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp67 VkDeviceMemory deviceMemory, in MemoryMappingRAII() argument
73 , memory (deviceMemory) in MemoryMappingRAII()
DvktMemoryDeviceMemoryReportTests.cpp1555 CaseDescription<DeviceMemory> deviceMemory; member
1608 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h1748 VkDeviceMemory deviceMemory; member
8121 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo()
8131 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
8150 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h2464 VkDeviceMemory deviceMemory; member
14895 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo()
14905 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
14944 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h3090 VkDeviceMemory VMA_NULLABLE_NON_DISPATCHABLE deviceMemory; member
16657 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo()
16667 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
16706 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
/external/swiftshader/include/vulkan/
Dvulkan.hpp19338 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in DeviceMemory() argument
19339 : m_deviceMemory( deviceMemory ) in DeviceMemory()
19343 DeviceMemory & operator=(VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT in operator =() argument
19345 m_deviceMemory = deviceMemory; in operator =()
94060 …std::size_t operator()(VULKAN_HPP_NAMESPACE::DeviceMemory const& deviceMemory) const VULKAN_HPP_NO… in operator ()()
94062 return std::hash<VkDeviceMemory>{}(static_cast<VkDeviceMemory>(deviceMemory)); in operator ()()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp19267 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in DeviceMemory() argument
19268 : m_deviceMemory( deviceMemory ) in DeviceMemory()
19272 DeviceMemory & operator=(VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT in operator =() argument
19274 m_deviceMemory = deviceMemory; in operator =()
93393 …std::size_t operator()(VULKAN_HPP_NAMESPACE::DeviceMemory const& deviceMemory) const VULKAN_HPP_NO… in operator ()()
93395 return std::hash<VkDeviceMemory>{}(static_cast<VkDeviceMemory>(deviceMemory)); in operator ()()