Home
last modified time | relevance | path

Searched refs:memoryHandle (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp207 void GrVkAMDMemoryAllocator::freeMemory(const GrVkBackendMemory& memoryHandle) { in freeMemory() argument
209 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in freeMemory()
213 void GrVkAMDMemoryAllocator::getAllocInfo(const GrVkBackendMemory& memoryHandle, in getAllocInfo() argument
215 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in getAllocInfo()
237 alloc->fBackendMemory = memoryHandle; in getAllocInfo()
240 VkResult GrVkAMDMemoryAllocator::mapMemory(const GrVkBackendMemory& memoryHandle, void** data) { in mapMemory() argument
242 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in mapMemory()
246 void GrVkAMDMemoryAllocator::unmapMemory(const GrVkBackendMemory& memoryHandle) { in unmapMemory() argument
248 const VmaAllocation allocation = (const VmaAllocation)memoryHandle; in unmapMemory()
252 VkResult GrVkAMDMemoryAllocator::flushMemory(const GrVkBackendMemory& memoryHandle, in flushMemory() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanExternalImageTest.cpp233 typename Traits::Handle memoryHandle = Traits::InvalidHandle(); in RunShouldImportMemoryTest() local
234 result = Traits::ExportMemory(&helper, deviceMemory, &memoryHandle); in RunShouldImportMemoryTest()
236 EXPECT_NE(memoryHandle, Traits::InvalidHandle()); in RunShouldImportMemoryTest()
243 Traits::ImportMemory(memoryObject, deviceMemorySize, memoryHandle); in RunShouldImportMemoryTest()
343 typename Traits::Handle memoryHandle = Traits::InvalidHandle(); in RunShouldClearTest() local
344 result = Traits::ExportMemory(&helper, deviceMemory, &memoryHandle); in RunShouldClearTest()
346 EXPECT_NE(memoryHandle, Traits::InvalidHandle()); in RunShouldClearTest()
353 Traits::ImportMemory(memoryObject, deviceMemorySize, memoryHandle); in RunShouldClearTest()
506 typename Traits::Handle memoryHandle = Traits::InvalidHandle(); in RunTextureFormatCompatChromiumTest() local
507 result = Traits::ExportMemory(&helper, deviceMemory, &memoryHandle); in RunTextureFormatCompatChromiumTest()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.h75 ExternalMemoryHandle memoryHandle,
203 ExternalMemoryHandle memoryHandle,
DDeviceVk.cpp716 ExternalMemoryHandle memoryHandle, in ImportExternalImage() argument
753 mExternalMemoryService->ImportMemory(memoryHandle, importParams, image)); in ImportExternalImage()
794 ExternalMemoryHandle memoryHandle, in CreateTextureWrappingVulkanImage() argument
820 ConsumedError(ImportExternalImage(descriptor, memoryHandle, result->GetHandle(), in CreateTextureWrappingVulkanImage()