Searched refs:allocator (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 104 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in free_handle() local 105 allocator.free(handle); in free_handle() 135 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in reallocate() local 136 allocator.free(handle); in reallocate() 145 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in initSize() local 146 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride); in initSize()
|
/frameworks/base/libs/hwui/ |
D | DeferredDisplayList.h | 52 static void* operator new(size_t size, LinearAllocator& allocator) { in new() argument 53 return allocator.alloc(size); in new()
|
D | DisplayListRenderer.h | 199 LinearAllocator& alloc() { return mDisplayListData->allocator; } in alloc() 211 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T)); in refBuffer()
|
D | DisplayList.cpp | 165 mSize = mDisplayListData->allocator.usedSize(); in initFromDisplayListRenderer() 172 LinearAllocator& alloc = mDisplayListData->allocator; in initFromDisplayListRenderer()
|
D | DisplayList.h | 92 LinearAllocator allocator;
|
D | DisplayListOp.h | 65 static void* operator new(size_t size, LinearAllocator& allocator) { in new() argument 66 return allocator.alloc(size); in new()
|
/frameworks/native/include/binder/ |
D | MemoryDealer.h | 50 SimpleBestFitAllocator* allocator() const;
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 242 const ssize_t offset = allocator()->allocate(size); in allocate() 251 allocator()->deallocate(offset); in deallocate() 256 allocator()->dump(what); in dump() 263 SimpleBestFitAllocator* MemoryDealer::allocator() const { in allocator() function in android::MemoryDealer
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 327 JavaPixelAllocator allocator(env); in Bitmap_copy() local 329 if (!src->copyTo(&result, dstConfig, &allocator)) { in Bitmap_copy() 332 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), in Bitmap_copy() 592 JavaPixelAllocator allocator(env); in Bitmap_extractAlpha() local 594 src->extractAlpha(dst, paint, &allocator, &offset); in Bitmap_extractAlpha() 609 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(), in Bitmap_extractAlpha()
|
D | BitmapRegionDecoder.cpp | 250 JavaPixelAllocator* allocator = (JavaPixelAllocator*) decoder->getAllocator(); in nativeDecodeRegion() local 251 jbyteArray buff = allocator->getStorageObjAndReset(); in nativeDecodeRegion()
|
/frameworks/native/include/gui/ |
D | BufferQueue.h | 82 BufferQueue(const sp<IGraphicBufferAlloc>& allocator = NULL);
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 68 BufferQueue::BufferQueue(const sp<IGraphicBufferAlloc>& allocator) : in BufferQueue() argument 89 if (allocator == NULL) { in BufferQueue() 96 mGraphicBufferAlloc = allocator; in BufferQueue()
|
/frameworks/base/docs/html/tools/sdk/ndk/ |
D | index.jd | 676 to move them around. If your app uses a custom allocator that does not always align 677 with a new object's 8-byte boundary in the same way as the default allocator, your app
|