HomeSort by relevance Sort by last modified time
    Searched refs:Gralloc2 (Results 1 - 7 of 7) sorted by null

  /frameworks/native/libs/ui/
GraphicBufferMapper.cpp 35 #include <ui/Gralloc2.h>
46 Gralloc2::Mapper::preload();
50 : mMapper(std::make_unique<const Gralloc2::Mapper>())
62 Gralloc2::Error error = mMapper->importBuffer(
64 if (error != Gralloc2::Error::NONE) {
69 Gralloc2::IMapper::BufferDescriptorInfo info = {};
73 info.format = static_cast<Gralloc2::PixelFormat>(format);
77 if (error != Gralloc2::Error::NONE) {
103 static inline Gralloc2::IMapper::Rect asGralloc2Rect(const Rect& rect) {
104 Gralloc2::IMapper::Rect outRect{}
    [all...]
GraphicBufferAllocator.cpp 32 #include <ui/Gralloc2.h>
46 mAllocator(std::make_unique<Gralloc2::Allocator>(
111 Gralloc2::IMapper::BufferDescriptorInfo info = {};
115 info.format = static_cast<Gralloc2::PixelFormat>(format);
118 Gralloc2::Error error = mAllocator->allocate(info, stride, handle);
119 if (error == Gralloc2::Error::NONE) {
Gralloc2.cpp 17 #define LOG_TAG "Gralloc2"
21 #include <ui/Gralloc2.h>
32 namespace Gralloc2 {
85 Gralloc2::Error Mapper::validateBufferDescriptorInfo(
370 } // namespace Gralloc2
GraphicBuffer.cpp 26 #include <ui/Gralloc2.h>
  /frameworks/native/libs/ui/include/ui/
GraphicBufferMapper.h 38 namespace Gralloc2 {
83 const Gralloc2::Mapper& getGrallocMapper() const
93 const std::unique_ptr<const Gralloc2::Mapper> mMapper;
GraphicBufferAllocator.h 37 namespace Gralloc2 {
79 const std::unique_ptr<const Gralloc2::Allocator> mAllocator;
Gralloc2.h 30 namespace Gralloc2 {
137 } // namespace Gralloc2

Completed in 1061 milliseconds