/frameworks/native/libs/gui/ |
H A D | BufferQueue.cpp | 66 const sp<IGraphicBufferAlloc>& allocator) { 72 sp<BufferQueueCore> core(new BufferQueueCore(allocator)); 64 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), 77 if (allocator == NULL) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 242 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); local 246 return GraphicsJNI::createBitmap(env, allocator->getStorageObjAndReset(),
|
/frameworks/base/libs/hwui/ |
H A D | CanvasState.cpp | 172 void CanvasState::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { argument 183 setClippingRoundRect(allocator, bounds, radius, false); 187 void CanvasState::setClippingRoundRect(LinearAllocator& allocator, argument 189 mSnapshot->setClippingRoundRect(allocator, rect, radius, highPriority); 192 void CanvasState::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) { argument 193 mSnapshot->setProjectionPathMask(allocator, path);
|
H A D | DeferredDisplayList.h | 51 static void* operator new(size_t size, LinearAllocator& allocator) { argument 52 return allocator.alloc(size); 82 friend struct DeferStateStruct; // used to give access to allocator
|
H A D | DisplayList.h | 72 PlaybackStateStruct(OpenGLRenderer& renderer, int replayFlags, LinearAllocator* allocator) argument 75 , mAllocator(allocator) {} 83 // TODO: move this allocator to be owned by object with clear frame lifecycle 130 // pointers to all ops within display list, pointing into allocator data 156 return allocator.usedSize(); 170 // allocator into which all ops were allocated 171 LinearAllocator allocator; member in class:android::uirenderer::DisplayListData
|
H A D | Snapshot.cpp | 178 void Snapshot::setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, argument 190 RoundRectClipState* state = new (allocator) RoundRectClipState; 224 void Snapshot::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) { argument 226 ProjectionPathMask* mask = new (allocator) ProjectionPathMask;
|
H A D | Snapshot.h | 47 /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/ 48 static void* operator new(size_t size, LinearAllocator& allocator) { argument 49 return allocator.alloc(size); 68 /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/ 69 static void* operator new(size_t size, LinearAllocator& allocator) { argument 70 return allocator.alloc(size); 200 void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, 206 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path);
|
H A D | RenderNode.cpp | 430 SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( 449 ClipRectOp* op = new (handler.allocator()) ClipRectOp( 459 renderer.setClippingRoundRect(handler.allocator(), bounds, mProperties.getRevealClip().getRadius()); 461 renderer.setClippingOutline(handler.allocator(), &(mProperties.getOutline())); 595 inline LinearAllocator& allocator() { return *(mDeferStruct.mAllocator); } function in class:android::uirenderer::DeferOperationHandler 622 inline LinearAllocator& allocator() { return *(mReplayStruct.mAllocator); } function in class:android::uirenderer::ReplayOperationHandler 718 DisplayListOp* shadowOp = new (handler.allocator()) DrawShadowOp( 804 LinearAllocator& alloc = handler.allocator(); 880 LinearAllocator& alloc = handler.allocator();
|
H A D | DisplayListOp.h | 66 static void* operator new(size_t size, LinearAllocator& allocator) { argument 67 return allocator.alloc(size);
|
H A D | OpenGLRenderer.cpp | 2193 void OpenGLRenderer::setClippingOutline(LinearAllocator& allocator, const Outline* outline) { argument 2194 mState.setClippingOutline(allocator, outline); 2197 void OpenGLRenderer::setClippingRoundRect(LinearAllocator& allocator, argument 2199 mState.setClippingRoundRect(allocator, rect, radius, highPriority); 2202 void OpenGLRenderer::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) { argument 2203 mState.setProjectionPathMask(allocator, path);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 112 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 113 allocator.free(handle); 148 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 149 allocator.free(handle); 168 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); local 170 status_t err = allocator.alloc(inWidth, inHeight, inFormat, inUsage,
|
/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
|