Home
last modified time | relevance | path

Searched refs:GraphicBufferAllocator (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/codec2/hal/client/
DGraphicBufferAllocator.cpp31 std::weak_ptr<GraphicBufferAllocator> mAllocator;
35 const std::shared_ptr<GraphicBufferAllocator> &allocator) in OnBufferReleasedListener()
47 ::ndk::ScopedAStatus GraphicBufferAllocator::allocate( in allocate()
63 ::ndk::ScopedAStatus GraphicBufferAllocator::deallocate(int64_t in_id, bool* _aidl_return) { in deallocate()
68 ::ndk::ScopedAStatus GraphicBufferAllocator::getWaitableFd( in getWaitableFd()
79 bool GraphicBufferAllocator::configure( in configure()
100 void GraphicBufferAllocator::updateMaxDequeueBufferCount(int count) { in updateMaxDequeueBufferCount()
107 void GraphicBufferAllocator::reset() { in reset()
111 const ::android::sp<::android::IProducerListener> GraphicBufferAllocator::createReleaseListener( in createReleaseListener()
113 return new OnBufferReleasedListener(generation, ref<GraphicBufferAllocator>()); in createReleaseListener()
[all …]
DAndroid.bp26 "GraphicBufferAllocator.cpp",
Dclient.cpp103 implementation::GraphicBufferAllocator;
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp45 ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferAllocator )
47 Mutex GraphicBufferAllocator::sLock;
49 GraphicBufferAllocator::alloc_rec_t> GraphicBufferAllocator::sAllocList;
51 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator() function in android::GraphicBufferAllocator
75 GraphicBufferAllocator::~GraphicBufferAllocator() {} in ~GraphicBufferAllocator()
77 uint64_t GraphicBufferAllocator::getTotalSize() const { in getTotalSize()
86 void GraphicBufferAllocator::dump(std::string& result, bool less) const { in dump()
110 void GraphicBufferAllocator::dumpToSystemLog(bool less) { in dumpToSystemLog()
112 GraphicBufferAllocator::getInstance().dump(s, less); in dumpToSystemLog()
116 auto GraphicBufferAllocator::allocate(const AllocationRequest& request) -> AllocationResult { in allocate()
[all …]
DGraphicBuffer.cpp141 GraphicBuffer::GraphicBuffer(const GraphicBufferAllocator::AllocationRequest& request) in GraphicBuffer()
143 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in GraphicBuffer()
177 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in free_handle()
189 GraphicBufferAllocator::dumpToSystemLog(); in dumpAllocationsToSystemLog()
217 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); in reallocate()
240 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get(); in initWithSize()
DGralloc5.cpp229 auto result = allocate(GraphicBufferAllocator::AllocationRequest{ in allocate()
244 GraphicBufferAllocator::AllocationResult Gralloc5Allocator::allocate( in allocate()
245 const GraphicBufferAllocator::AllocationRequest& request) const { in allocate()
249 return GraphicBufferAllocator::AllocationResult{BAD_VALUE}; in allocate()
277 return GraphicBufferAllocator::AllocationResult{error}; in allocate()
280 GraphicBufferAllocator::AllocationResult ret{OK}; in allocate()
286 return GraphicBufferAllocator::AllocationResult{error}; in allocate()
291 return GraphicBufferAllocator::AllocationResult{NO_MEMORY}; in allocate()
DAndroid.bp137 "GraphicBufferAllocator.cpp",
/frameworks/native/libs/ui/include/ui/
DGraphicBufferAllocator.h41 class GraphicBufferAllocator : public Singleton<GraphicBufferAllocator>
44 static inline GraphicBufferAllocator& get() { return getInstance(); } in get()
131 friend class Singleton<GraphicBufferAllocator>;
132 GraphicBufferAllocator();
133 ~GraphicBufferAllocator();
DGralloc.h225 virtual GraphicBufferAllocator::AllocationResult allocate( in allocate()
226 const GraphicBufferAllocator::AllocationRequest&) const { in allocate()
227 return GraphicBufferAllocator::AllocationResult(UNKNOWN_TRANSACTION); in allocate()
DGralloc5.h178 [[nodiscard]] GraphicBufferAllocator::AllocationResult allocate(
179 const GraphicBufferAllocator::AllocationRequest&) const override;
DGraphicBuffer.h107 GraphicBuffer(const GraphicBufferAllocator::AllocationRequest&);
DGralloc4.h128 friend class GraphicBufferAllocator;
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferAllocator.h41 class GraphicBufferAllocator : public Singleton<GraphicBufferAllocator>
44 static inline GraphicBufferAllocator& get() { return getInstance(); } in get()
131 friend class Singleton<GraphicBufferAllocator>;
132 GraphicBufferAllocator();
133 ~GraphicBufferAllocator();
DGraphicBuffer.h107 GraphicBuffer(const GraphicBufferAllocator::AllocationRequest&);
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/
DGraphicBufferAllocator.h33 struct GraphicBufferAllocator : public BnGraphicBufferAllocator { struct
133 ~GraphicBufferAllocator();
144 static std::shared_ptr<GraphicBufferAllocator> CreateGraphicBufferAllocator(
147 GraphicBufferAllocator(int maxDequeueCount);
/frameworks/native/libs/ui/tests/
DGraphicBufferAllocator_test.cpp45 class TestableGraphicBufferAllocator : public GraphicBufferAllocator {
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp604 std::vector<GraphicBufferAllocator::AdditionalOptions> extras; in AHardwareBuffer_allocateWithOptions()
607 extras.push_back(GraphicBufferAllocator::AdditionalOptions{additionalOptions[i].name, in AHardwareBuffer_allocateWithOptions()
612 auto gbuffer = sp<GraphicBuffer>::make(GraphicBufferAllocator::AllocationRequest{ in AHardwareBuffer_allocateWithOptions()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp593 std::vector<GraphicBufferAllocator::AdditionalOptions> tempOptions; in dequeueBuffer()
598 const GraphicBufferAllocator::AllocationRequest allocRequest = { in dequeueBuffer()
1549 std::vector<GraphicBufferAllocator::AdditionalOptions> tempOptions; in allocateBuffers()
1554 const GraphicBufferAllocator::AllocationRequest allocRequest = { in allocateBuffers()
1868 if (!GraphicBufferAllocator::get().supportsAdditionalOptions()) { in setAdditionalOptions()
DSurface.cpp2645 if (!GraphicBufferAllocator::get().supportsAdditionalOptions()) { in setAdditionalOptions()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp338 GraphicBufferAllocator::getInstance().dump(grallocInfo); in dumpGraphicsMemory()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp1221 status_t err = GraphicBufferAllocator::get().allocateRawHandle(width, height, format, in newGraphicAllocation()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3347 ATRACE_INT64("Total Buffer Size", GraphicBufferAllocator::get().getTotalSize()); in onCompositionPresented()
6988 const GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in dumpAll()