Searched refs:LinearAllocator (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DBakedOpState.h55 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
60 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
64 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot);
103 static BakedOpState* tryConstruct(LinearAllocator& allocator, Snapshot& snapshot,
106 static BakedOpState* tryConstructUnbounded(LinearAllocator& allocator, Snapshot& snapshot,
116 static BakedOpState* tryStrokeableOpConstruct(LinearAllocator& allocator, Snapshot& snapshot,
121 static BakedOpState* tryShadowOpConstruct(LinearAllocator& allocator, Snapshot& snapshot,
124 static BakedOpState* directConstruct(LinearAllocator& allocator, const ClipRect* clip,
139 friend class LinearAllocator;
141 BakedOpState(LinearAllocator
[all...]
H A DLayerBuilder.h34 class LinearAllocator;
89 void deferUnmergeableOp(LinearAllocator& allocator, BakedOpState* op, batchid_t batchId);
93 void deferMergeableOp(LinearAllocator& allocator, BakedOpState* op, batchid_t batchId,
118 void onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState);
119 void flushLayerClears(LinearAllocator& allocator);
H A DDamageAccumulator.h20 #include <utils/LinearAllocator.h>
70 LinearAllocator mAllocator;
H A DBakedOpState.cpp33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
88 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
97 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot)
113 BakedOpState* BakedOpState::tryConstruct(LinearAllocator& allocator, Snapshot& snapshot,
126 BakedOpState* BakedOpState::tryConstructUnbounded(LinearAllocator& allocator, Snapshot& snapshot,
132 BakedOpState* BakedOpState::tryStrokeableOpConstruct(LinearAllocator& allocator, Snapshot& snapshot,
152 BakedOpState* BakedOpState::tryShadowOpConstruct(LinearAllocator& allocator, Snapshot& snapshot,
160 BakedOpState* BakedOpState::directConstruct(LinearAllocator& allocator, const ClipRect* clip,
H A DSnapshot.h23 #include <utils/LinearAllocator.h>
43 * is why they may only be allocated with a LinearAllocator.
48 static void* operator new(size_t size, LinearAllocator& allocator) {
148 LinearAllocator& allocator, const ClipBase* recordedClip,
174 void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, float radius,
H A DClipArea.h28 class LinearAllocator;
146 WARN_UNUSED_RESULT const ClipBase* serializeClip(LinearAllocator& allocator);
148 LinearAllocator& allocator, const ClipBase* recordedClip,
H A DCanvasState.h131 void setClippingOutline(LinearAllocator& allocator, const Outline* outline);
132 void setClippingRoundRect(LinearAllocator& allocator, const Rect& rect, float radius,
H A DDisplayList.h26 #include <utils/LinearAllocator.h>
132 LinearAllocator allocator;
H A DLayerBuilder.cpp237 void LayerBuilder::onDeferOp(LinearAllocator& allocator, const BakedOpState* bakedState) {
253 void LayerBuilder::flushLayerClears(LinearAllocator& allocator) {
284 void LayerBuilder::deferUnmergeableOp(LinearAllocator& allocator, BakedOpState* op,
305 void LayerBuilder::deferMergeableOp(LinearAllocator& allocator, BakedOpState* op, batchid_t batchId,
H A DSnapshot.cpp116 void Snapshot::setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, float radius,
172 const ClipBase* Snapshot::serializeIntersectedClip(LinearAllocator& allocator,
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp28 #include "utils/LinearAllocator.h"
86 class LinearAllocator::Page {
104 LinearAllocator::LinearAllocator() function in class:android::uirenderer::LinearAllocator
115 LinearAllocator::~LinearAllocator(void) {
131 void* LinearAllocator::start(Page* p) {
135 void* LinearAllocator::end(Page* p) {
139 bool LinearAllocator::fitsInCurrentPage(size_t size) {
143 void LinearAllocator
[all...]
H A DLinearAllocator.h43 class LinearAllocator { class in namespace:android::uirenderer
45 LinearAllocator();
46 ~LinearAllocator();
52 * The lifetime of the returned buffers is tied to that of the LinearAllocator. If calling
95 * Attempt to deallocate the given buffer, with the LinearAllocator attempting to rewind its
114 * The number of bytes used for buffers allocated in the LinearAllocator (does not count space
120 LinearAllocator(const LinearAllocator& other);
160 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {}
184 LinearAllocator
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DLinearAllocatorTests.cpp18 #include <utils/LinearAllocator.h>
30 TEST(LinearAllocator, create) {
31 LinearAllocator la;
45 TEST(LinearAllocator, dtor) {
48 LinearAllocator la;
68 TEST(LinearAllocator, rewind) {
71 LinearAllocator la;
90 LinearAllocator la;
101 // slightly further down in the same LinearAllocator page
117 LinearAllocator allocato
[all...]
H A DBakedOpStateTests.cpp28 LinearAllocator allocator;
63 LinearAllocator allocator;
146 LinearAllocator allocator;
173 LinearAllocator allocator;
193 LinearAllocator allocator;
217 LinearAllocator allocator;
H A DSnapshotTests.cpp32 LinearAllocator allocator;
H A DClipAreaTests.cpp25 #include "utils/LinearAllocator.h"
124 LinearAllocator allocator;
177 LinearAllocator allocator;
189 LinearAllocator allocator;
263 LinearAllocator allocator;
287 LinearAllocator allocator;
/frameworks/compile/mclinker/include/mcld/Support/
H A DUniqueGCFactory.h25 : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {}
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {}
H A DAllocators.h20 * \brief Chunk is the basic unit of the storage of the LinearAllocator
22 * @see LinearAllocator
255 /** \class LinearAllocator
256 * \brief LinearAllocator is another bump pointer allocator which should be
264 * The underlying concept of LinearAllocator is a memory pool. LinearAllocator
272 class LinearAllocator class in namespace:mcld
277 typedef LinearAllocator<NewDataType, ChunkSize> other;
281 LinearAllocator() : LinearAllocatorBase<Chunk<DataType, ChunkSize> >() {} function in class:mcld::LinearAllocator
283 virtual ~LinearAllocator() {}
287 class LinearAllocator<DataType, 0> class in namespace:mcld
296 explicit LinearAllocator(size_t pNum) function in class:mcld::LinearAllocator
[all...]
H A DGCFactory.h186 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
188 GCFactory() : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {}
193 : public GCFactoryBase<LinearAllocator<DataType, 0> > {
196 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) {}
/frameworks/base/libs/hwui/tests/microbench/
H A DLinearAllocatorBench.cpp19 #include "utils/LinearAllocator.h"
39 LinearAllocator la;
/frameworks/compile/mclinker/unittests/
H A DRTLinearAllocatorTest.h65 mcld::LinearAllocator<Data, 0>* m_pTestee;
H A DLinearAllocatorTest.h18 * \brief The testcase for LinearAllocator
20 * \see LinearAllocator
65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
H A DLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>();
H A DRTLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.cpp136 allocator.~LinearAllocator();
137 new (&allocator) LinearAllocator();

Completed in 170 milliseconds

12