Home
last modified time | relevance | path

Searched refs:Gralloc2 (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp46 : mMapper(std::make_unique<const Gralloc2::Mapper>()) in ANDROID_SINGLETON_STATIC_INSTANCE()
55 Gralloc2::Error error = mMapper->importBuffer( in importBuffer()
58 ALOGW_IF(error != Gralloc2::Error::NONE, "importBuffer(%p) failed: %d", in importBuffer()
73 static inline Gralloc2::IMapper::Rect asGralloc2Rect(const Rect& rect) { in asGralloc2Rect()
74 Gralloc2::IMapper::Rect outRect{}; in asGralloc2Rect()
119 Gralloc2::Error error = mMapper->lock(handle, usage, in lockAsync()
122 ALOGW_IF(error != Gralloc2::Error::NONE, "lock(%p, ...) failed: %d", in lockAsync()
156 Gralloc2::YCbCrLayout layout; in lockAsyncYCbCr()
157 Gralloc2::Error error = mMapper->lock(handle, usage, in lockAsyncYCbCr()
159 if (error == Gralloc2::Error::NONE) { in lockAsyncYCbCr()
DGraphicBufferAllocator.cpp46 mAllocator(std::make_unique<Gralloc2::Allocator>( in GraphicBufferAllocator()
111 Gralloc2::IMapper::BufferDescriptorInfo info = {}; in allocate()
115 info.format = static_cast<Gralloc2::PixelFormat>(format); in allocate()
118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle); in allocate()
119 if (error == Gralloc2::Error::NONE) { in allocate()
DAndroid.bp53 "Gralloc2.cpp",
DGralloc2.cpp30 namespace Gralloc2 { namespace
/frameworks/native/include/ui/
DGraphicBufferMapper.h37 namespace Gralloc2 {
76 const Gralloc2::Mapper& getGrallocMapper() const in getGrallocMapper()
86 const std::unique_ptr<const Gralloc2::Mapper> mMapper;
DGraphicBufferAllocator.h39 namespace Gralloc2 {
81 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
DGralloc2.h29 namespace Gralloc2 {