Searched refs:Gralloc2 (Results 1 – 10 of 10) sorted by relevance
46 Gralloc2::Mapper::preload(); in ANDROID_SINGLETON_STATIC_INSTANCE()50 : mMapper(std::make_unique<const Gralloc2::Mapper>()) in GraphicBufferMapper()62 Gralloc2::Error error = mMapper->importBuffer( in importBuffer()64 if (error != Gralloc2::Error::NONE) { in importBuffer()69 Gralloc2::IMapper::BufferDescriptorInfo info = {}; in importBuffer()73 info.format = static_cast<Gralloc2::PixelFormat>(format); in importBuffer()77 if (error != Gralloc2::Error::NONE) { in importBuffer()103 static inline Gralloc2::IMapper::Rect asGralloc2Rect(const Rect& rect) { in asGralloc2Rect()104 Gralloc2::IMapper::Rect outRect{}; in asGralloc2Rect()149 Gralloc2::Error error = mMapper->lock(handle, usage, in lockAsync()[all …]
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()
32 namespace Gralloc2 { namespace85 Gralloc2::Error Mapper::validateBufferDescriptorInfo( in validateBufferDescriptorInfo()
59 "Gralloc2.cpp",
38 namespace Gralloc2 {83 const Gralloc2::Mapper& getGrallocMapper() const in getGrallocMapper()93 const std::unique_ptr<const Gralloc2::Mapper> mMapper;
37 namespace Gralloc2 {79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
30 namespace Gralloc2 {