Home
last modified time | relevance | path

Searched refs:subAlloc (Results 1 – 5 of 5) sorted by relevance

/hardware/google/aemu/base/
DSubAllocator_unittest.cpp54 SubAllocator subAlloc( in TEST() local
58 EXPECT_TRUE(subAlloc.empty()); in TEST()
75 void* ptr = subAlloc.alloc(trySize); in TEST()
94 subAlloc.free(ptr); in TEST()
96 EXPECT_TRUE(subAlloc.empty()); in TEST()
110 SubAllocator subAlloc( in TEST() local
120 void* ptr = subAlloc.alloc(pageSize); in TEST()
123 subAlloc.freeAll(); in TEST()
124 EXPECT_TRUE(subAlloc.empty()); in TEST()
165 SubAllocator subAlloc( in TEST() local
[all …]
/hardware/google/aemu/host-common/
Daddress_space_graphics.cpp60 SubAllocator* subAlloc = nullptr; member
156 auto buf = block.subAlloc->alloc(create.size); in newAllocation()
163 block.subAlloc->getOffset(buf); in newAllocation()
178 auto buf = newBlock.subAlloc->alloc(create.size); in newAllocation()
193 newBlock.subAlloc->getOffset(buf); in newAllocation()
219 if (!block.subAlloc->free(alloc.buffer)) { in deleteAllocation()
384 block.subAlloc->save(stream); in saveBlockLocked()
415 block.subAlloc->load(stream); in loadBlockLocked()
449 block.subAlloc = in fillBlockLocked()
502 block.subAlloc = in fillBlockLocked()
[all …]
/hardware/interfaces/renderscript/1.0/default/
DContext.h65 Return<void> allocationShareBufferQueue(Allocation baseAlloc, Allocation subAlloc) override;
DContext.cpp149 Return<void> Context::allocationShareBufferQueue(Allocation baseAlloc, Allocation subAlloc) { in allocationShareBufferQueue() argument
151 RsAllocation _subAlloc = hidl_to_rs<RsAllocation>(subAlloc); in allocationShareBufferQueue()
/hardware/interfaces/renderscript/1.0/
DIContext.hal53 * @return subAlloc AllocationAdapter
57 generates (AllocationAdapter subAlloc);
172 * TODO: clearly define baseAlloc vs subAlloc
178 * @param subAlloc Allocation to use the same buffer queue as the Base
182 allocationShareBufferQueue(Allocation baseAlloc, Allocation subAlloc);