/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | VulkanExternalImageTest.cpp | 110 static VkResult ExportMemory(VulkanHelper *helper, VkDeviceMemory deviceMemory, Handle *handle) in ExportMemory() 112 return helper->exportMemoryOpaqueFd(deviceMemory, handle); in ExportMemory() 175 static VkResult ExportMemory(VulkanHelper *helper, VkDeviceMemory deviceMemory, Handle *handle) in ExportMemory() 177 return helper->exportMemoryZirconVmo(deviceMemory, handle); in ExportMemory() 225 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldImportMemoryTest() local 230 extent, &image, &deviceMemory, &deviceMemorySize); in RunShouldImportMemoryTest() 234 result = Traits::ExportMemory(&helper, deviceMemory, &memoryHandle); in RunShouldImportMemoryTest() 256 vkFreeMemory(helper.getDevice(), deviceMemory, nullptr); in RunShouldImportMemoryTest() 335 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldClearTest() local 340 extent, &image, &deviceMemory, &deviceMemorySize); in RunShouldClearTest() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanHelper.cpp | 582 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in createImage2DExternal() local 583 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory); in createImage2DExternal() 591 result = vkBindImageMemory(mDevice, image, deviceMemory, memoryOffset); in createImage2DExternal() 594 vkFreeMemory(mDevice, deviceMemory, nullptr); in createImage2DExternal() 600 *deviceMemoryOut = deviceMemory; in createImage2DExternal() 635 VkResult VulkanHelper::exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd) in exportMemoryOpaqueFd() argument 640 /* .memory = */ deviceMemory, in exportMemoryOpaqueFd() 676 VkResult VulkanHelper::exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo) in exportMemoryZirconVmo() argument 681 /* .memory = */ deviceMemory, in exportMemoryZirconVmo() 982 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in readPixels() local [all …]
|
D | VulkanHelper.h | 61 VkResult exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd); 77 VkResult exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo);
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | VkSurfaceKHR.cpp | 60 VkDeviceMemory deviceMemory; in allocateAndBindImageMemory() local 61 VkResult status = vkAllocateMemory(device, &allocateInfo, nullptr, &deviceMemory); in allocateAndBindImageMemory() 67 imageMemory = Cast(deviceMemory); in allocateAndBindImageMemory() 68 vkBindImageMemory(device, *image, deviceMemory, 0); in allocateAndBindImageMemory()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkCommandPool.cpp | 48 …void *deviceMemory = vk::allocateHostMemory(sizeof(DispatchableCommandBuffer), REQUIRED_MEMORY_ALI… in allocateCommandBuffers() local 50 ASSERT(deviceMemory); in allocateCommandBuffers() 51 …DispatchableCommandBuffer *commandBuffer = new(deviceMemory) DispatchableCommandBuffer(device, lev… in allocateCommandBuffers()
|
D | VkImage.cpp | 272 deviceMemory = pDeviceMemory; in bind() 276 decompressedImage->deviceMemory = deviceMemory; in bind() 311 uint8_t *srcBuffer = static_cast<uint8_t *>(deviceMemory->getOffsetPointer(0)); in prepareForExternalUseANDROID() 333 return backingMemory.externalMemory ? *deviceMemory : VkDeviceMemory{ VK_NULL_HANDLE }; in getExternalMemory() 691 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer() 822 if(deviceMemory && deviceMemory->hasExternalImageProperties()) in rowPitchBytes() 824 return deviceMemory->externalImageRowPitchBytes(aspect); in rowPitchBytes() 875 …return reinterpret_cast<uint8_t *>(deviceMemory->getOffsetPointer(deviceMemory->getCommittedMemory… in end() 880 if(deviceMemory && deviceMemory->hasExternalImageProperties()) in getMemoryOffset() 882 return deviceMemory->externalImageMemoryOffset(aspect); in getMemoryOffset()
|
D | VkImage.hpp | 119 DeviceMemory *deviceMemory = nullptr; member in vk::Image
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 844 VkDeviceMemory deviceMemory = 0; in makeSparseImageMemoryBind() local 845 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind() 850 imageMemoryBind.memory = deviceMemory; in makeSparseImageMemoryBind() 874 VkDeviceMemory deviceMemory = 0; in makeSparseMemoryBind() local 875 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind() 881 memoryBind.memory = deviceMemory; in makeSparseMemoryBind()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 844 VkDeviceMemory deviceMemory = 0; in makeSparseImageMemoryBind() local 845 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind() 850 imageMemoryBind.memory = deviceMemory; in makeSparseImageMemoryBind() 874 VkDeviceMemory deviceMemory = 0; in makeSparseMemoryBind() local 875 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind() 881 memoryBind.memory = deviceMemory; in makeSparseMemoryBind()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiBufferMarkerTests.cpp | 220 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory() argument 226 deviceMemory = allocator->allocate(memReqs, allocRequirement); in createMarkerBufferMemory() 259 deviceMemory = MovePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), in createMarkerBufferMemory() 264 …VK_CHECK(vkd.bindBufferMemory(device, buffer, deviceMemory->getMemory(), deviceMemory->getOffset()… in createMarkerBufferMemory()
|
D | vktApiObjectManagementTests.cpp | 3345 CaseDescription<DeviceMemory> deviceMemory; member 3423 addCases (group, cases.deviceMemory); in createTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferMarkerTests.cpp | 220 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory() argument 226 deviceMemory = allocator->allocate(memReqs, allocRequirement); in createMarkerBufferMemory() 259 deviceMemory = MovePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), in createMarkerBufferMemory() 264 …VK_CHECK(vkd.bindBufferMemory(device, buffer, deviceMemory->getMemory(), deviceMemory->getOffset()… in createMarkerBufferMemory()
|
D | vktApiObjectManagementTests.cpp | 3345 CaseDescription<DeviceMemory> deviceMemory; member 3423 addCases (group, cases.deviceMemory); in createTests()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_wrapper.h | 388 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory); 502 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory); 1185 ANGLE_INLINE VkResult Image::bindMemory(VkDevice device, const vk::DeviceMemory &deviceMemory) 1187 ASSERT(valid() && deviceMemory.valid()); 1188 return vkBindImageMemory(device, mHandle, deviceMemory.getHandle(), 0); 1433 ANGLE_INLINE VkResult Buffer::bindMemory(VkDevice device, const DeviceMemory &deviceMemory) 1435 ASSERT(valid() && deviceMemory.valid()); 1436 return vkBindBufferMemory(device, mHandle, deviceMemory.getHandle(), 0);
|
D | vk_utils.cpp | 679 DeviceMemory *deviceMemory, in InitMappableDeviceMemory() argument 687 ANGLE_VK_TRY(context, deviceMemory->map(device, 0, VK_WHOLE_SIZE, 0, &mapPointer)); in InitMappableDeviceMemory() 695 mappedRange.memory = deviceMemory->getHandle(); in InitMappableDeviceMemory() 700 deviceMemory->unmap(device); in InitMappableDeviceMemory()
|
D | vk_utils.h | 450 DeviceMemory *deviceMemory,
|
/third_party/skia/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 233 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 69 VkDeviceMemory deviceMemory, in MemoryMappingRAII() argument 75 , memory (deviceMemory) in MemoryMappingRAII()
|
D | vktMemoryAddressBindingTests.cpp | 1545 CaseDescription<DeviceMemory> deviceMemory; member 1598 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
|
D | vktMemoryDeviceMemoryReportTests.cpp | 1563 CaseDescription<DeviceMemory> deviceMemory; member 1616 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 69 VkDeviceMemory deviceMemory, in MemoryMappingRAII() argument 75 , memory (deviceMemory) in MemoryMappingRAII()
|
D | vktMemoryAddressBindingTests.cpp | 1545 CaseDescription<DeviceMemory> deviceMemory; member 1598 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
|
D | vktMemoryDeviceMemoryReportTests.cpp | 1563 CaseDescription<DeviceMemory> deviceMemory; member 1616 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 3090 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()
|
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
D | vulkan_handles.hpp | 4882 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in DeviceMemory() argument 4883 : m_deviceMemory( deviceMemory ) in DeviceMemory() 4887 DeviceMemory & operator=( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in operator =() argument 4889 m_deviceMemory = deviceMemory; in operator =()
|