Home
last modified time | relevance | path

Searched refs:deviceMemory (Results 1 - 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DVulkanExternalImageTest.cpp110 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, in RunShouldClearTest()
497 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; RunTextureFormatCompatChromiumTest() local
666 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; RunShouldClearWithSemaphoresTest() local
904 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; runShouldDrawTest() local
1055 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; runWaitSemaphoresRetainsContentTest() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DVulkanHelper.cpp582 VkDeviceMemory deviceMemory = VK_NULL_HANDLE;
583 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory);
591 result = vkBindImageMemory(mDevice, image, deviceMemory, memoryOffset);
594 vkFreeMemory(mDevice, deviceMemory, nullptr);
600 *deviceMemoryOut = deviceMemory;
635 VkResult VulkanHelper::exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd)
640 /* .memory = */ deviceMemory,
676 VkResult VulkanHelper::exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo)
681 /* .memory = */ deviceMemory,
982 VkDeviceMemory deviceMemory
[all...]
H A DVulkanHelper.h61 VkResult exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd);
77 VkResult exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo);
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DVkSurfaceKHR.cpp60 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/
H A DVkCommandPool.cpp48 void *deviceMemory = vk::allocateHostMemory(sizeof(DispatchableCommandBuffer), REQUIRED_MEMORY_ALIGNMENT, in allocateCommandBuffers() local
50 ASSERT(deviceMemory); in allocateCommandBuffers()
51 DispatchableCommandBuffer *commandBuffer = new(deviceMemory) DispatchableCommandBuffer(device, level); in allocateCommandBuffers()
H A DVkImage.cpp272 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 in end()
[all...]
H A DVkImage.hpp119 DeviceMemory *deviceMemory = nullptr; member in vk::Image
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.cpp847 VkDeviceMemory deviceMemory = 0; in makeSparseImageMemoryBind() local
848 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
853 imageMemoryBind.memory = deviceMemory; in makeSparseImageMemoryBind()
877 VkDeviceMemory deviceMemory = 0; in makeSparseMemoryBind() local
878 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
884 memoryBind.memory = deviceMemory; in makeSparseMemoryBind()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.cpp844 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/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_wrapper.h388 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) in bindMemory() argument
1187 ASSERT(valid() && deviceMemory.valid()); in bindMemory()
1188 return vkBindImageMemory(device, mHandle, deviceMemory.getHandle(), 0); in bindMemory()
1433 ANGLE_INLINE VkResult Buffer::bindMemory(VkDevice device, const DeviceMemory &deviceMemory) in bindMemory() argument
1435 ASSERT(valid() && deviceMemory.valid()); in bindMemory()
1436 return vkBindBufferMemory(device, mHandle, deviceMemory.getHandle(), 0); in bindMemory()
H A Dvk_utils.cpp679 DeviceMemory *deviceMemory, in InitMappableDeviceMemory()
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()
678 InitMappableDeviceMemory(Context *context, DeviceMemory *deviceMemory, VkDeviceSize size, int value, VkMemoryPropertyFlags memoryPropertyFlags) InitMappableDeviceMemory() argument
H A Dvk_utils.h450 DeviceMemory *deviceMemory,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferMarkerTests.cpp256 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory()
262 deviceMemory = allocator->allocate(memReqs, allocRequirement); in createMarkerBufferMemory()
295 deviceMemory = MovePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), in createMarkerBufferMemory()
300 VK_CHECK(vkd.bindBufferMemory(device, buffer, deviceMemory->getMemory(), deviceMemory->getOffset())); in createMarkerBufferMemory()
246 createMarkerBufferMemory(const InstanceInterface& vki, const DeviceInterface& vkd, VkPhysicalDevice physicalDevice, VkDevice device, VkBuffer buffer, size_t bufferOffset, MovePtr<Allocator>& allocator, const MemoryRequirement allocRequirement, bool externalHostPtr, MovePtr<ExternalHostMemory>& hostMemory, MovePtr<Allocation>& deviceMemory) createMarkerBufferMemory() argument
H A DvktApiObjectManagementTests.cpp3345 CaseDescription<DeviceMemory> deviceMemory; member
3423 addCases (group, cases.deviceMemory); in createTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferMarkerTests.cpp220 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory()
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()
210 createMarkerBufferMemory(const InstanceInterface& vki, const DeviceInterface& vkd, VkPhysicalDevice physicalDevice, VkDevice device, VkBuffer buffer, size_t bufferOffset, MovePtr<Allocator>& allocator, const MemoryRequirement allocRequirement, bool externalHostPtr, MovePtr<ExternalHostMemory>& hostMemory, MovePtr<Allocation>& deviceMemory) createMarkerBufferMemory() argument
H A DvktApiObjectManagementTests.cpp3345 CaseDescription<DeviceMemory> deviceMemory; member
3423 addCases (group, cases.deviceMemory); in createTests()
/third_party/skia/src/gpu/vk/
H A DGrVkAMDMemoryAllocator.cpp354 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryBindingTests.cpp69 VkDeviceMemory deviceMemory, in MemoryMappingRAII()
75 , memory (deviceMemory) in MemoryMappingRAII()
67 MemoryMappingRAII(const DeviceInterface& deviceInterface, const VkDevice& device, VkDeviceMemory deviceMemory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags) MemoryMappingRAII() argument
H A DvktMemoryAddressBindingTests.cpp1584 CaseDescription<DeviceMemory> deviceMemory; member
1631 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
H A DvktMemoryDeviceMemoryReportTests.cpp1569 CaseDescription<DeviceMemory> deviceMemory; member
1663 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryBindingTests.cpp69 VkDeviceMemory deviceMemory, in MemoryMappingRAII()
75 , memory (deviceMemory) in MemoryMappingRAII()
67 MemoryMappingRAII(const DeviceInterface& deviceInterface, const VkDevice& device, VkDeviceMemory deviceMemory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags) MemoryMappingRAII() argument
H A DvktMemoryAddressBindingTests.cpp1545 CaseDescription<DeviceMemory> deviceMemory; member
1598 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
H A DvktMemoryDeviceMemoryReportTests.cpp1563 CaseDescription<DeviceMemory> deviceMemory; member
1616 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_handles.hpp4882 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT
4883 : m_deviceMemory( deviceMemory ) in m_deviceMemory()
4887 DeviceMemory & operator=( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT
4889 m_deviceMemory = deviceMemory;
/third_party/skia/third_party/vulkanmemoryallocator/include/
H A Dvk_mem_alloc.h832 After allocation has been moved, its VmaAllocationInfo::deviceMemory and/or
1051 Allocation is lost when returned VmaAllocationInfo::deviceMemory == `VK_NULL_HANDLE`.
2670 VmaAllocationInfo::deviceMemory is not `VK_NULL_HANDLE`.
3096 VkDeviceMemory VMA_NULLABLE_NON_DISPATCHABLE deviceMemory; member
3097 /** \brief Offset into deviceMemory object to the beginning of this allocation, in bytes. (deviceMemory, offset) pair is unique to this allocation.
3259 If the allocation is in lost state, `pAllocationInfo->deviceMemory == VK_NULL_HANDLE`.
17006 pAllocationInfo->deviceMemory = VK_NULL_HANDLE;
17016 pAllocationInfo->deviceMemory = hAllocation->GetMemory();
17055 pAllocationInfo->deviceMemory
[all...]

Completed in 90 milliseconds

12