Home
last modified time | relevance | path

Searched refs:LinearAllocator (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp87 class LinearAllocator::Page {
111 LinearAllocator::LinearAllocator() in LinearAllocator() function in android::uirenderer::LinearAllocator
122 LinearAllocator::~LinearAllocator(void) { in ~LinearAllocator()
138 void* LinearAllocator::start(Page* p) { in start()
142 void* LinearAllocator::end(Page* p) { in end()
146 bool LinearAllocator::fitsInCurrentPage(size_t size) { in fitsInCurrentPage()
150 void LinearAllocator::ensureNext(size_t size) { in ensureNext()
170 void* LinearAllocator::allocImpl(size_t size) { in allocImpl()
190 void LinearAllocator::addToDestructionList(Destructor dtor, void* addr) { in addToDestructionList()
202 void LinearAllocator::runDestructorFor(void* addr) { in runDestructorFor()
[all …]
DLinearAllocator.h43 class LinearAllocator {
45 LinearAllocator();
46 ~LinearAllocator();
120 LinearAllocator(const LinearAllocator& other);
160 LinearStdAllocator(LinearAllocator& allocator) in LinearStdAllocator()
186 LinearAllocator& linearAllocator;
/frameworks/base/libs/hwui/
DBakedOpState.h55 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
59 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
63 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot);
106 static BakedOpState* tryConstruct(LinearAllocator& allocator,
109 static BakedOpState* tryConstructUnbounded(LinearAllocator& allocator,
119 static BakedOpState* tryStrokeableOpConstruct(LinearAllocator& allocator,
122 static BakedOpState* tryShadowOpConstruct(LinearAllocator& allocator,
125 static BakedOpState* directConstruct(LinearAllocator& allocator,
140 friend class LinearAllocator;
142 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, in BakedOpState()
[all …]
DBakedOpState.cpp33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, in ResolvedRenderState()
85 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, in ResolvedRenderState()
94 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot) in ResolvedRenderState()
110 BakedOpState* BakedOpState::tryConstruct(LinearAllocator& allocator, in tryConstruct()
123 BakedOpState* BakedOpState::tryConstructUnbounded(LinearAllocator& allocator, in tryConstructUnbounded()
129 BakedOpState* BakedOpState::tryStrokeableOpConstruct(LinearAllocator& allocator, in tryStrokeableOpConstruct()
147 BakedOpState* BakedOpState::tryShadowOpConstruct(LinearAllocator& allocator, in tryShadowOpConstruct()
155 BakedOpState* BakedOpState::directConstruct(LinearAllocator& allocator, in directConstruct()
DLayerBuilder.h34 class LinearAllocator; variable
88 void deferUnmergeableOp(LinearAllocator& allocator, BakedOpState* op, batchid_t batchId);
92 void deferMergeableOp(LinearAllocator& allocator,
118 void onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState);
119 void flushLayerClears(LinearAllocator& allocator);
DSnapshot.h48 static void* operator new(size_t size, LinearAllocator& allocator) { in new()
70 static void* operator new(size_t size, LinearAllocator& allocator) { in new()
173 WARN_UNUSED_RESULT const ClipBase* serializeIntersectedClip(LinearAllocator& allocator,
204 void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds,
210 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path);
DDisplayList.h77 PlaybackStateStruct(OpenGLRenderer& renderer, int replayFlags, LinearAllocator* allocator) in PlaybackStateStruct()
89 LinearAllocator * const mAllocator;
110 LinearAllocator mReplayAllocator;
186 LinearAllocator allocator;
DCanvasState.h135 void setClippingOutline(LinearAllocator& allocator, const Outline* outline);
136 void setClippingRoundRect(LinearAllocator& allocator,
138 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path);
DClipArea.h28 class LinearAllocator; variable
177 WARN_UNUSED_RESULT const ClipBase* serializeClip(LinearAllocator& allocator);
178 WARN_UNUSED_RESULT const ClipBase* serializeIntersectedClip(LinearAllocator& allocator,
DCanvasState.cpp224 void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { in setClippingOutline()
239 void CanvasState::setClippingRoundRect(LinearAllocator& allocator, in setClippingRoundRect()
244 void CanvasState::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) { in setProjectionPathMask()
DLayerBuilder.cpp239 void LayerBuilder::onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState) { in onDeferOp()
255 void LayerBuilder::flushLayerClears(LinearAllocator& allocator) { in flushLayerClears()
287 void LayerBuilder::deferUnmergeableOp(LinearAllocator& allocator, in deferUnmergeableOp()
308 void LayerBuilder::deferMergeableOp(LinearAllocator& allocator, in deferMergeableOp()
DSnapshot.cpp184 void Snapshot::setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, in setClippingRoundRect()
229 void Snapshot::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) { in setProjectionPathMask()
252 const ClipBase* Snapshot::serializeIntersectedClip(LinearAllocator& allocator, in serializeIntersectedClip()
DDamageAccumulator.h69 LinearAllocator mAllocator;
DOpenGLRenderer.h329 void setClippingOutline(LinearAllocator& allocator, const Outline* outline);
330 void setClippingRoundRect(LinearAllocator& allocator,
332 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path);
/frameworks/base/libs/hwui/tests/unit/
DLinearAllocatorTests.cpp30 TEST(LinearAllocator, create) { in TEST() argument
31 LinearAllocator la; in TEST()
45 TEST(LinearAllocator, dtor) { in TEST() argument
48 LinearAllocator la; in TEST()
68 TEST(LinearAllocator, rewind) { in TEST() argument
71 LinearAllocator la; in TEST()
90 LinearAllocator la; in TEST()
118 LinearAllocator allocator; in TEST()
DBakedOpStateTests.cpp28 LinearAllocator allocator; in TEST()
63 LinearAllocator allocator; in TEST()
157 LinearAllocator allocator; in TEST()
185 LinearAllocator allocator; in TEST()
205 LinearAllocator allocator; in TEST()
227 LinearAllocator allocator; in TEST()
DClipAreaTests.cpp124 LinearAllocator allocator; in TEST()
177 LinearAllocator allocator; in TEST()
189 LinearAllocator allocator; in TEST()
258 LinearAllocator allocator; in TEST()
DSnapshotTests.cpp32 LinearAllocator allocator; in TEST()
/frameworks/compile/mclinker/include/mcld/Support/
DUniqueGCFactory.h25 : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in UniqueGCFactoryBase()
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {} in UniqueGCFactoryBase()
DAllocators.h272 class LinearAllocator
277 typedef LinearAllocator<NewDataType, ChunkSize> other;
281 LinearAllocator() : LinearAllocatorBase<Chunk<DataType, ChunkSize> >() {} in LinearAllocator() function
283 virtual ~LinearAllocator() {} in ~LinearAllocator()
287 class LinearAllocator<DataType, 0>
292 typedef LinearAllocator<NewDataType, 0> other;
296 explicit LinearAllocator(size_t pNum) in LinearAllocator() function
301 virtual ~LinearAllocator() {} in ~LinearAllocator()
DGCFactory.h186 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
188 GCFactory() : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in GCFactory()
193 : public GCFactoryBase<LinearAllocator<DataType, 0> > {
196 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) {} in GCFactory()
/frameworks/base/libs/hwui/tests/microbench/
DLinearAllocatorBench.cpp39 LinearAllocator la; in BM_LinearStdAllocator_vector()
/frameworks/compile/mclinker/unittests/
DRTLinearAllocatorTest.h65 mcld::LinearAllocator<Data, 0>* m_pTestee;
DLinearAllocatorTest.h65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
DRTLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE); in RTLinearAllocatorTest()

12