Searched refs:GraphicBufferAllocator (Results 1 – 8 of 8) sorted by relevance
43 ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferAllocator )45 Mutex GraphicBufferAllocator::sLock;47 GraphicBufferAllocator::alloc_rec_t> GraphicBufferAllocator::sAllocList;49 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator() function in android::GraphicBufferAllocator62 GraphicBufferAllocator::~GraphicBufferAllocator() {} in ~GraphicBufferAllocator()64 uint64_t GraphicBufferAllocator::getTotalSize() const { in getTotalSize()73 void GraphicBufferAllocator::dump(std::string& result) const { in dump()99 void GraphicBufferAllocator::dumpToSystemLog() in dumpToSystemLog()102 GraphicBufferAllocator::getInstance().dump(s); in dumpToSystemLog()106 status_t GraphicBufferAllocator::allocate(uint32_t width, uint32_t height, in allocate()[all …]
146 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in free_handle()158 GraphicBufferAllocator::dumpToSystemLog(); in dumpAllocationsToSystemLog()182 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in reallocate()205 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in initWithSize()
50 "GraphicBufferAllocator.cpp",
40 class GraphicBufferAllocator : public Singleton<GraphicBufferAllocator>43 static inline GraphicBufferAllocator& get() { return getInstance(); } in get()72 friend class Singleton<GraphicBufferAllocator>;73 GraphicBufferAllocator();74 ~GraphicBufferAllocator();
38 int ret = GraphicBufferAllocator::get().allocate(width, height, format, layerCount, usage, in BufferNode()68 status_t ret = GraphicBufferAllocator::get().free(mBufferHandle); in ~BufferNode()
45 class TestableGraphicBufferAllocator : public GraphicBufferAllocator {
2184 ATRACE_INT64("Total Buffer Size", GraphicBufferAllocator::get().getTotalSize()); in postComposition()5108 const GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in dumpAllLocked()