Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp46 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 …]
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()
DGralloc2.cpp32 namespace Gralloc2 { namespace
85 Gralloc2::Error Mapper::validateBufferDescriptorInfo( in validateBufferDescriptorInfo()
DAndroid.bp59 "Gralloc2.cpp",
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h38 namespace Gralloc2 {
83 const Gralloc2::Mapper& getGrallocMapper() const in getGrallocMapper()
93 const std::unique_ptr<const Gralloc2::Mapper> mMapper;
DGraphicBufferAllocator.h37 namespace Gralloc2 {
79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
DGralloc2.h30 namespace Gralloc2 {
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h38 namespace Gralloc2 {
83 const Gralloc2::Mapper& getGrallocMapper() const in getGrallocMapper()
93 const std::unique_ptr<const Gralloc2::Mapper> mMapper;
DGraphicBufferAllocator.h37 namespace Gralloc2 {
79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
DGralloc2.h30 namespace Gralloc2 {