18 #ifndef MIR_GRAPHICS_ANDROID_ANDROID_ALLOC_ADAPTOR_H_
19 #define MIR_GRAPHICS_ANDROID_ANDROID_ALLOC_ADAPTOR_H_
23 #include <hardware/gralloc.h>
44 std::shared_ptr<struct alloc_device_t> alloc_dev;
All things Mir.
Definition: aging_buffer.h:24
AndroidAllocAdaptor(const std::shared_ptr< struct alloc_device_t > &alloc_device)
Definition: android_alloc_adaptor.cpp:49
Definition: android_alloc_adaptor.h:34
BufferUsage
Definition: buffer_usage.h:29
Definition: graphic_alloc_adaptor.h:36
Definition: android_input_receiver.h:32
std::shared_ptr< NativeBuffer > alloc_buffer(geometry::Size, MirPixelFormat, BufferUsage usage)
Definition: android_alloc_adaptor.cpp:54