| /third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
| D | BuddyMemoryAllocatorTests.cpp | 47 ResourceMemoryAllocation Allocate(uint64_t allocationSize, uint64_t alignment = 1) { in Allocate() 48 ResultOrError<ResourceMemoryAllocation> result = in Allocate() 50 return (result.IsSuccess()) ? result.AcquireSuccess() : ResourceMemoryAllocation{}; in Allocate() 53 void Deallocate(ResourceMemoryAllocation& allocation) { in Deallocate() 79 ResourceMemoryAllocation invalidAllocation = allocator.Allocate(heapSize * 2); in TEST() 83 ResourceMemoryAllocation allocation1 = allocator.Allocate(128); in TEST() 112 ResourceMemoryAllocation invalidAllocation = allocator.Allocate(heapSize * 2); in TEST() 120 ResourceMemoryAllocation allocation1 = allocator.Allocate(heapSize); in TEST() 127 ResourceMemoryAllocation allocation2 = allocator.Allocate(heapSize); in TEST() 160 ResourceMemoryAllocation allocation1 = allocator.Allocate(heapSize / 2); in TEST() [all …]
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/ |
| D | ResourceMemoryAllocation.cpp | 20 ResourceMemoryAllocation::ResourceMemoryAllocation() in ResourceMemoryAllocation() function in dawn_native::ResourceMemoryAllocation 24 ResourceMemoryAllocation::ResourceMemoryAllocation(const AllocationInfo& info, in ResourceMemoryAllocation() function in dawn_native::ResourceMemoryAllocation 31 ResourceHeapBase* ResourceMemoryAllocation::GetResourceHeap() const { in GetResourceHeap() 36 uint64_t ResourceMemoryAllocation::GetOffset() const { in GetOffset() 41 AllocationInfo ResourceMemoryAllocation::GetInfo() const { in GetInfo() 45 uint8_t* ResourceMemoryAllocation::GetMappedPointer() const { in GetMappedPointer() 49 void ResourceMemoryAllocation::Invalidate() { in Invalidate()
|
| D | ResourceMemoryAllocation.h | 53 class ResourceMemoryAllocation { 55 ResourceMemoryAllocation(); 56 ResourceMemoryAllocation(const AllocationInfo& info, 60 virtual ~ResourceMemoryAllocation() = default; 62 ResourceMemoryAllocation(const ResourceMemoryAllocation&) = default; 63 ResourceMemoryAllocation& operator=(const ResourceMemoryAllocation&) = default;
|
| D | BuddyMemoryAllocator.cpp | 40 ResultOrError<ResourceMemoryAllocation> BuddyMemoryAllocator::Allocate(uint64_t allocationSize, in Allocate() 42 ResourceMemoryAllocation invalidAllocation = ResourceMemoryAllocation{}; in Allocate() 84 return ResourceMemoryAllocation{ in Allocate() 88 void BuddyMemoryAllocator::Deallocate(const ResourceMemoryAllocation& allocation) { in Deallocate()
|
| D | BuddyMemoryAllocator.h | 47 ResultOrError<ResourceMemoryAllocation> Allocate(uint64_t allocationSize, 49 void Deallocate(const ResourceMemoryAllocation& allocation);
|
| D | CMakeLists.txt | 150 "ResourceMemoryAllocation.cpp" 151 "ResourceMemoryAllocation.h"
|
| D | BUILD.gn | 305 "ResourceMemoryAllocation.cpp", 306 "ResourceMemoryAllocation.h",
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
| D | ResourceMemoryAllocatorVk.cpp | 65 ResultOrError<ResourceMemoryAllocation> AllocateMemory(uint64_t size, uint64_t alignment) { in AllocateMemory() 69 void DeallocateMemory(const ResourceMemoryAllocation& allocation) { in DeallocateMemory() 125 ResultOrError<ResourceMemoryAllocation> ResourceMemoryAllocator::Allocate( in Allocate() 153 ResourceMemoryAllocation subAllocation; in Allocate() 179 return ResourceMemoryAllocation(info, /*offset*/ 0, resourceHeap.release(), in Allocate() 183 void ResourceMemoryAllocator::Deallocate(ResourceMemoryAllocation* allocation) { in Deallocate() 219 for (const ResourceMemoryAllocation& allocation : in Tick()
|
| D | ResourceMemoryAllocatorVk.h | 45 ResultOrError<ResourceMemoryAllocation> Allocate(const VkMemoryRequirements& requirements, 47 void Deallocate(ResourceMemoryAllocation* allocation); 61 SerialQueue<ExecutionSerial, ResourceMemoryAllocation> mSubAllocationsToDelete;
|
| D | StagingBufferVk.h | 38 ResourceMemoryAllocation mAllocation;
|
| D | BufferVk.h | 75 ResourceMemoryAllocation mMemoryAllocation;
|
| D | TextureVk.h | 147 ResourceMemoryAllocation mMemoryAllocation;
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
| D | ResourceHeapAllocationD3D12.cpp | 27 : ResourceMemoryAllocation(info, offset, heap), mResource(std::move(resource)) { in ResourceHeapAllocation() 32 ResourceMemoryAllocation::Invalidate(); in Invalidate()
|
| D | ResourceHeapAllocationD3D12.h | 26 class ResourceHeapAllocation : public ResourceMemoryAllocation {
|
| D | ResourceAllocatorManagerD3D12.cpp | 308 ResourceMemoryAllocation allocation; in CreatePlacedResource()
|