Home
last modified time | relevance | path

Searched refs:Allocation (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp54 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);
133 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig…
134 …virtual de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequi…
143 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
144 …de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequirem…
152 de::MovePtr<Allocation> allocateExtended (const InstanceInterface& vki, const DeviceInterface& vk…
[all …]
DvkMemUtil.cpp42 typedef de::SharedPtr<Allocation> AllocationSp;
96 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() function in vk::Allocation
103 Allocation::~Allocation (void) in ~Allocation()
107 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) in flushAlloc()
112 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) in invalidateAlloc()
177 class SimpleAllocation : public Allocation
189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation()
206 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate()
216 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
219 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequireme… in allocate()
[all …]
DvkImageWithMemory.hpp52 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
56 const de::UniquePtr<vk::Allocation> m_allocation;
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dmemory.h58 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/swiftshader/src/Common/
DMemory.cpp46 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/angle2/src/common/
DPoolAlloc.cpp27 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/System/
DMemory.cpp53 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/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferAndImageAllocationUtil.hpp36 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,
DvktApiBufferAndImageAllocationUtil.cpp47 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/pipeline/
DvktPipelineMakeUtil.hpp48 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
52 const de::UniquePtr<vk::Allocation> m_allocation;
69 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
73 const de::UniquePtr<vk::Allocation> m_allocation;
81 de::MovePtr<vk::Allocation> bindImageDedicated (const vk::InstanceInterface& vki, const vk::Devic…
82 de::MovePtr<vk::Allocation> bindBufferDedicated (const vk::InstanceInterface& vki, const vk::Devi…
DvktPipelineMakeUtil.cpp92 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, c… in bindImageDedicated()
94 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement)); in bindImageDedicated()
99 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, … in bindBufferDedicated()
101 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement)); in bindBufferDedicated()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DExecutableMemory.cpp61 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLinkMemoryManager.h59 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/
DJITLinkMemoryManager.cpp17 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/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.hpp51 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
54 de::MovePtr<vk::Allocation> m_allocation;
72 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
75 de::MovePtr<vk::Allocation> m_allocation;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.hpp71 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
75 const de::UniquePtr<vk::Allocation> m_allocation;
99 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
103 const de::UniquePtr<vk::Allocation> m_allocation;
175 … (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk…
176 … (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk…
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12MemAlloc.h803 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,
DD3D12MemAlloc.cpp1064 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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.hpp51 void bindMemory (de::MovePtr<vk::Allocation> allocation);
54 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory()
61 de::MovePtr<vk::Allocation> m_allocation;
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dosfiber_asm.h92 Allocation stack;
114 Allocation::Request request; in createFiber()
117 request.usage = Allocation::Usage::Stack; in createFiber()
Dosfiber_ucontext.h62 Allocation stack;
102 Allocation::Request request; in createFiber()
105 request.usage = Allocation::Usage::Stack; in createFiber()
Dmemory.cpp203 virtual marl::Allocation allocate( in allocate()
204 const marl::Allocation::Request& request) override { in allocate()
219 marl::Allocation allocation; in allocate()
225 virtual void free(const marl::Allocation& allocation) override { in free()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp809 void fillBuffer (const DeviceInterface& vk, const VkDevice device, Allocation& bufferAlloc, const v… in fillBuffer()
937 virtual bool verifyBuffer (const UniquePtr<Allocation>& bufAlloc,
1032 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuff… in readOneSampleFromMultisampleImage()
1110 bool ColorImagelessTestInstance::verifyBuffer (const UniquePtr<Allocation>& bufAlloc, const VkForma… in verifyBuffer()
1207 …const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, M… in iterate()
1210 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer,… in iterate()
1225 …const UniquePtr<Allocation> vertexBufferAlloc (bindBuffer (vk, device, allocator, *vertexBuffe… in iterate()
1421 …const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, M… in iterate()
1424 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer,… in iterate()
1439 …const UniquePtr<Allocation> dsImageAlloc (bindImage (vk, device, allocator, *dsImage, MemoryR… in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.hpp174 de::MovePtr<vk::Allocation> m_textureImageMemory;
176 std::vector<de::SharedPtr<vk::Allocation> > m_allocations;
285 de::MovePtr<vk::Allocation> m_imageMemory;
289 de::MovePtr<vk::Allocation> m_resolvedImageMemory;
299 de::MovePtr<vk::Allocation> m_uniformBufferMemory;
303 de::MovePtr<vk::Allocation> m_vertexIndexBufferMemory;
308 de::MovePtr<vk::Allocation> m_resultBufferMemory;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.hpp62 de::MovePtr<vk::Allocation> allocation) in Buffer()
70 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
74 const de::UniquePtr<vk::Allocation> m_allocation;
95 de::MovePtr<vk::Allocation>& allocation) in Image()
103 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
107 const de::UniquePtr<vk::Allocation> m_allocation;

12345678910>>...14