/frameworks/base/libs/hwui/ |
H A D | DisplayList.h | 71 PlaybackStateStruct(OpenGLRenderer& renderer, int replayFlags, LinearAllocator* allocator) argument 74 , mAllocator(allocator) {} 82 // TODO: move this allocator to be owned by object with clear frame lifecycle 132 // pointers to all ops within display list, pointing into allocator data 160 return allocator.usedSize(); 174 // allocator into which all ops were allocated 175 LinearAllocator allocator; member in class:android::uirenderer::DisplayListData
|
H A D | Snapshot.h | 46 /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/ 47 static void* operator new(size_t size, LinearAllocator& allocator) { argument 48 return allocator.alloc(size); 173 void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds,
|
H A D | StatefulBaseRenderer.h | 98 void setClippingOutline(LinearAllocator& allocator, const Outline* outline); 99 void setClippingRoundRect(LinearAllocator& allocator,
|
H A D | StatefulBaseRenderer.cpp | 197 void StatefulBaseRenderer::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { argument 208 setClippingRoundRect(allocator, bounds, radius, false); 212 void StatefulBaseRenderer::setClippingRoundRect(LinearAllocator& allocator, argument 214 mSnapshot->setClippingRoundRect(allocator, rect, radius, highPriority);
|
H A D | DeferredDisplayList.h | 51 static void* operator new(size_t size, LinearAllocator& allocator) { argument 52 return allocator.alloc(size); 82 friend class DeferStateStruct; // used to give access to allocator
|
H A D | RenderNode.cpp | 436 SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( 445 ClipRectOp* op = new (handler.allocator()) ClipRectOp( 455 renderer.setClippingRoundRect(handler.allocator(), bounds, mProperties.getRevealClip().getRadius()); 457 renderer.setClippingOutline(handler.allocator(), &(mProperties.getOutline())); 591 inline LinearAllocator& allocator() { return *(mDeferStruct.mAllocator); } function in class:android::uirenderer::DeferOperationHandler 618 inline LinearAllocator& allocator() { return *(mReplayStruct.mAllocator); } function in class:android::uirenderer::ReplayOperationHandler 712 DisplayListOp* shadowOp = new (handler.allocator()) DrawShadowOp( 799 LinearAllocator& alloc = handler.allocator(); 895 LinearAllocator& alloc = handler.allocator();
|
H A D | Snapshot.cpp | 219 void Snapshot::setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, argument 231 RoundRectClipState* state = new (allocator) RoundRectClipState;
|
H A D | DisplayListRenderer.h | 175 LinearAllocator& alloc() { return mDisplayListData->allocator; } 191 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T));
|
H A D | DisplayListOp.h | 69 static void* operator new(size_t size, LinearAllocator& allocator) { argument 70 return allocator.alloc(size);
|
/frameworks/native/libs/gui/ |
H A D | BufferQueue.cpp | 58 const sp<IGraphicBufferAlloc>& allocator) { 64 sp<BufferQueueCore> core(new BufferQueueCore(allocator)); 56 createBufferQueue(sp<IGraphicBufferProducer>* outProducer, sp<IGraphicBufferConsumer>* outConsumer, const sp<IGraphicBufferAlloc>& allocator) argument
|
H A D | BufferQueueCore.cpp | 44 BufferQueueCore::BufferQueueCore(const sp<IGraphicBufferAlloc>& allocator) : argument 45 mAllocator(allocator), 71 if (allocator == NULL) {
|
/frameworks/native/include/binder/ |
H A D | MemoryDealer.h | 51 SimpleBestFitAllocator* allocator() const;
|
/frameworks/native/include/gui/ |
H A D | BufferQueue.h | 75 // producers and consumers. allocator is used to allocate all the 79 const sp<IGraphicBufferAlloc>& allocator = NULL);
|
H A D | BufferQueueCore.h | 73 // producers and consumers. allocator is used to allocate all the needed 75 BufferQueueCore(const sp<IGraphicBufferAlloc>& allocator = NULL);
|
/frameworks/native/libs/gui/tests/ |
H A D | StreamSplitter_test.cpp | 79 sp<CountedAllocator> allocator(new CountedAllocator); 83 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator); 87 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer, allocator); 134 ASSERT_EQ(1, allocator->getAllocCount()); 139 sp<CountedAllocator> allocator(new CountedAllocator); 143 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator); 149 &outputConsumers[output], allocator); 203 ASSERT_EQ(1, allocator->getAllocCount());
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 112 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 113 allocator.free(handle); 144 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 145 allocator.free(handle); 154 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); local 155 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
|
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 181 * they're special as they don't have any record in the allocator 242 const ssize_t offset = allocator()->allocate(size); 251 allocator()->deallocate(offset); 256 allocator()->dump(what); 263 SimpleBestFitAllocator* MemoryDealer::allocator() const { function in class:android::MemoryDealer
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 252 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); local 253 jbyteArray buff = allocator->getStorageObjAndReset();
|
H A D | Bitmap.cpp | 356 JavaPixelAllocator allocator(env); 358 if (!src->copyTo(&result, dstCT, &allocator)) { 361 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), 683 JavaPixelAllocator allocator(env); 685 src->extractAlpha(dst, paint, &allocator, &offset); 700 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(),
|