Searched refs:Gralloc2 (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 46 : 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()
|
D | GraphicBufferAllocator.cpp | 46 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()
|
D | Android.bp | 53 "Gralloc2.cpp",
|
D | Gralloc2.cpp | 30 namespace Gralloc2 { namespace
|
/frameworks/native/include/ui/ |
D | GraphicBufferMapper.h | 37 namespace Gralloc2 { 76 const Gralloc2::Mapper& getGrallocMapper() const in getGrallocMapper() 86 const std::unique_ptr<const Gralloc2::Mapper> mMapper;
|
D | GraphicBufferAllocator.h | 39 namespace Gralloc2 { 81 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
|
D | Gralloc2.h | 29 namespace Gralloc2 {
|