/frameworks/base/libs/hwui/ |
H A D | BakedOpState.h | 55 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 D | LayerBuilder.h | 34 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 D | DamageAccumulator.h | 20 #include <utils/LinearAllocator.h> 70 LinearAllocator mAllocator;
|
H A D | BakedOpState.cpp | 33 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 D | Snapshot.h | 23 #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 D | ClipArea.h | 28 class LinearAllocator; 146 WARN_UNUSED_RESULT const ClipBase* serializeClip(LinearAllocator& allocator); 148 LinearAllocator& allocator, const ClipBase* recordedClip,
|
H A D | CanvasState.h | 131 void setClippingOutline(LinearAllocator& allocator, const Outline* outline); 132 void setClippingRoundRect(LinearAllocator& allocator, const Rect& rect, float radius,
|
H A D | DisplayList.h | 26 #include <utils/LinearAllocator.h> 132 LinearAllocator allocator;
|
H A D | LayerBuilder.cpp | 237 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 D | Snapshot.cpp | 116 void Snapshot::setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, float radius, 172 const ClipBase* Snapshot::serializeIntersectedClip(LinearAllocator& allocator,
|
/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 28 #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 D | LinearAllocator.h | 43 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 D | LinearAllocatorTests.cpp | 18 #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 D | BakedOpStateTests.cpp | 28 LinearAllocator allocator; 63 LinearAllocator allocator; 146 LinearAllocator allocator; 173 LinearAllocator allocator; 193 LinearAllocator allocator; 217 LinearAllocator allocator;
|
H A D | SnapshotTests.cpp | 32 LinearAllocator allocator;
|
H A D | ClipAreaTests.cpp | 25 #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 D | UniqueGCFactory.h | 25 : 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 D | Allocators.h | 20 * \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 D | GCFactory.h | 186 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 D | LinearAllocatorBench.cpp | 19 #include "utils/LinearAllocator.h" 39 LinearAllocator la;
|
/frameworks/compile/mclinker/unittests/ |
H A D | RTLinearAllocatorTest.h | 65 mcld::LinearAllocator<Data, 0>* m_pTestee;
|
H A D | LinearAllocatorTest.h | 18 * \brief The testcase for LinearAllocator 20 * \see LinearAllocator 65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
|
H A D | LinearAllocatorTest.cpp | 18 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>();
|
H A D | RTLinearAllocatorTest.cpp | 18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.cpp | 136 allocator.~LinearAllocator(); 137 new (&allocator) LinearAllocator();
|