/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.hpp | 54 class Allocation class 57 virtual ~Allocation (void); 69 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr); 77 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc); 78 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc); 135 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig… 136 …virtual de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequi… 145 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme… 146 …de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequirem… 155 de::MovePtr<Allocation> allocateExtended (const InstanceInterface& vki, const DeviceInterface& vk… [all …]
|
D | vkMemUtil.cpp | 43 typedef de::SharedPtr<Allocation> AllocationSp; 86 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() function in vk::Allocation 93 Allocation::~Allocation (void) in ~Allocation() 97 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) in flushAlloc() 102 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) in invalidateAlloc() 168 class SimpleAllocation : public Allocation 180 : Allocation (*mem, offset, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation() 198 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() 210 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr, offset)); in allocate() 213 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequireme… in allocate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | memory.h | 58 struct Allocation { struct 117 virtual Allocation allocate(const Allocation::Request&) = 0; 121 virtual void free(const Allocation&) = 0; 164 Allocation allocation; in operator() 168 allocation.request.usage = Allocation::Usage::Create; in operator() 177 Allocation::Request request; in create() 180 request.usage = Allocation::Usage::Create; in create() 191 Allocation alloc; in destroy() 195 alloc.request.usage = Allocation::Usage::Create; in destroy() 210 Allocation::Request request; in make_unique_n() [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | PoolAlloc.cpp | 27 class Allocation class 30 Allocation(size_t size, unsigned char *mem, Allocation *prev = 0) in Allocation() function in angle::Allocation 109 Allocation *mPrevAlloc; // prior allocation in the chain 116 static constexpr size_t HeaderSize() { return sizeof(Allocation); } in HeaderSize() 149 Allocation *lastAllocation; 249 void Allocation::checkGuardBlock(unsigned char *blockMem, in checkGuardBlock() 352 Allocation::AllocationSize(currentPagePtr, numBytes, mAlignment, &preAllocationPadding); in allocate() 374 allocationSize = Allocation::AllocationSize(reinterpret_cast<uint8_t *>(mPageHeaderSkip), in allocate() 397 Allocation::AllocationSize(currentPagePtr, numBytes, mAlignment, &preAllocationPadding); in allocate() 445 Allocation::AllocationSize(currentPagePtr, numBytes, mAlignment, &preAllocationPadding); in allocateNewPage() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Memory.cpp | 46 struct Allocation struct 56 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment]; in allocateRaw() 61 …aligned = (unsigned char*)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)al… in allocateRaw() 62 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in allocateRaw() 107 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in deallocate()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Memory.cpp | 53 struct Allocation struct 80 size_t size = bytes + sizeof(Allocation) + alignment; in allocate() 91 …aligned = (unsigned char *)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)a… in allocate() 92 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in allocate() 124 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in freeMemory()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | PoolAlloc.h | 50 class Allocation 53 Allocation(size_t size, unsigned char *mem, Allocation *prev = 0) 95 Allocation *mPrevAlloc; // prior allocation in the chain 102 static constexpr size_t HeaderSize() { return sizeof(Allocation); } in HeaderSize() 229 Allocation *lastAllocation; 246 new (memory) Allocation(numBytes + mAlignment, memory, block->lastAllocation); in initializeAllocation() 247 block->lastAllocation = reinterpret_cast<Allocation *>(memory); in initializeAllocation() 250 void *unalignedPtr = Allocation::OffsetAllocation(memory); in initializeAllocation()
|
D | PoolAlloc.cpp | 122 void Allocation::checkGuardBlock(unsigned char *blockMem, in checkGuardBlock() 225 size_t allocationSize = Allocation::AllocationSize(numBytes) + mAlignment; in allocate() 328 void Allocation::checkAllocList() const in checkAllocList() 330 for (const Allocation *alloc = this; alloc != 0; alloc = alloc->mPrevAlloc) in checkAllocList()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiBufferAndImageAllocationUtil.hpp | 36 class Allocation; 56 de::MovePtr<Allocation>& memory) const = 0; 68 de::MovePtr<Allocation>& memory) const; // override 80 de::MovePtr<Allocation>& memory) const; // override 92 de::MovePtr<Allocation>& memory, 105 de::MovePtr<Allocation>& memory, 118 de::MovePtr<Allocation>& memory,
|
D | vktApiBufferAndImageAllocationUtil.cpp | 47 de::MovePtr<Allocation>& memory) const in createTestBuffer() 75 de::MovePtr<Allocation>& memory) const in createTestBuffer() 110 de::MovePtr<Allocation>& memory, in createTestImage() 148 de::MovePtr<Allocation>& memory, in createTestImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferAndImageAllocationUtil.hpp | 36 class Allocation; 56 de::MovePtr<Allocation>& memory) const = 0; 68 de::MovePtr<Allocation>& memory) const; // override 80 de::MovePtr<Allocation>& memory) const; // override 92 de::MovePtr<Allocation>& memory, 105 de::MovePtr<Allocation>& memory, 118 de::MovePtr<Allocation>& memory,
|
D | vktApiBufferAndImageAllocationUtil.cpp | 47 de::MovePtr<Allocation>& memory) const in createTestBuffer() 75 de::MovePtr<Allocation>& memory) const in createTestBuffer() 110 de::MovePtr<Allocation>& memory, in createTestImage() 148 de::MovePtr<Allocation>& memory, in createTestImage()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | ExecutableMemory.cpp | 61 struct Allocation struct 88 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment]; in allocateRaw() 93 …aligned = (unsigned char *)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)a… in allocateRaw() 94 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in allocateRaw() 259 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in deallocate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineMakeUtil.cpp | 43 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, c… in bindImageDedicated() 45 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement)); in bindImageDedicated() 50 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, … in bindBufferDedicated() 52 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement)); in bindBufferDedicated()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMakeUtil.cpp | 43 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, c… in bindImageDedicated() 45 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement)); in bindImageDedicated() 50 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, … in bindBufferDedicated() 52 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement)); in bindBufferDedicated()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.h | 59 class Allocation { 63 virtual ~Allocation(); 84 virtual Expected<std::unique_ptr<Allocation>> 91 Expected<std::unique_ptr<Allocation>>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.cpp | 17 JITLinkMemoryManager::Allocation::~Allocation() = default; 19 Expected<std::unique_ptr<JITLinkMemoryManager::Allocation>> 25 class IPMMAlloc : public Allocation { in allocate() 127 return std::unique_ptr<InProcessMemoryManager::Allocation>( in allocate()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | D3D12MemAlloc.cpp | 1064 void AddAllocationToObject(const Allocation& alloc); 1328 void JsonWriter::AddAllocationToObject(const Allocation& alloc) in AddAllocationToObject() 1977 template<typename... Types> Allocation* Allocate(Types... args); 1978 void Free(Allocation* alloc); 1982 PoolAllocator<Allocation> m_Allocator; 2343 Allocation** pAllocations); 2346 Allocation* hAllocation); 2355 Allocation** ppAllocation, 2398 Allocation** pAllocation); 2405 Allocation** pAllocation); [all …]
|
D | D3D12MemAlloc.h | 803 class Allocation 940 Allocation(AllocatorPimpl* allocator, UINT64 size, BOOL wasZeroInitialized); 941 ~Allocation(); 948 D3D12MA_CLASS_NO_COPY(Allocation) 1240 Allocation** ppAllocation, 1266 Allocation** ppAllocation); 1291 Allocation* pAllocation,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 865 void fillBuffer (const DeviceInterface& vk, const VkDevice device, Allocation& bufferAlloc, const v… in fillBuffer() 993 virtual bool verifyBuffer (const UniquePtr<Allocation>& bufAlloc, 1088 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuff… in readOneSampleFromMultisampleImage() 1166 bool ColorImagelessTestInstance::verifyBuffer (const UniquePtr<Allocation>& bufAlloc, const VkForma… in verifyBuffer() 1263 …const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, M… in iterate() 1266 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer,… in iterate() 1281 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffe… in iterate() 1477 …const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, M… in iterate() 1480 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer,… in iterate() 1495 …const UniquePtr<Allocation> dsImageAlloc (bindImage (vk, device, allocator, *dsImage, MemoryR… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 865 void fillBuffer (const DeviceInterface& vk, const VkDevice device, Allocation& bufferAlloc, const v… in fillBuffer() 993 virtual bool verifyBuffer (const UniquePtr<Allocation>& bufAlloc, 1088 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuff… in readOneSampleFromMultisampleImage() 1166 bool ColorImagelessTestInstance::verifyBuffer (const UniquePtr<Allocation>& bufAlloc, const VkForma… in verifyBuffer() 1263 …const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, M… in iterate() 1266 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer,… in iterate() 1281 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffe… in iterate() 1477 …const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, M… in iterate() 1480 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer,… in iterate() 1495 …const UniquePtr<Allocation> dsImageAlloc (bindImage (vk, device, allocator, *dsImage, MemoryR… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBufferObjectUtil.hpp | 52 …void bindMemory (de::MovePtr<vk::Allocation> allocation, vk::VkDeviceSize allocOffset = 0ull… 55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory() 63 de::MovePtr<vk::Allocation> m_allocation;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawBufferObjectUtil.hpp | 52 …void bindMemory (de::MovePtr<vk::Allocation> allocation, vk::VkDeviceSize allocOffset = 0ull… 55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory() 63 de::MovePtr<vk::Allocation> m_allocation;
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | osfiber_asm.h | 92 Allocation stack; 114 Allocation::Request request; in createFiber() 117 request.usage = Allocation::Usage::Stack; in createFiber()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.hpp | 178 de::MovePtr<vk::Allocation> m_textureImageMemory; 180 std::vector<de::SharedPtr<vk::Allocation> > m_allocations; 295 de::MovePtr<vk::Allocation> m_imageMemory; 299 de::MovePtr<vk::Allocation> m_resolvedImageMemory; 312 de::MovePtr<vk::Allocation> m_uniformBufferMemory; 316 de::MovePtr<vk::Allocation> m_vertexIndexBufferMemory; 321 de::MovePtr<vk::Allocation> m_resultBufferMemory;
|