18 #ifndef MIR_GRAPHICS_ANDROID_ANDROID_ALLOC_ADAPTOR_H_
19 #define MIR_GRAPHICS_ANDROID_ANDROID_ALLOC_ADAPTOR_H_
23 #include <hardware/gralloc.h>
39 std::shared_ptr<DeviceQuirks>
const& quirks);
46 std::shared_ptr<struct alloc_device_t> alloc_dev;
47 std::shared_ptr<DeviceQuirks>
const quirks;
All things Mir.
Definition: atomic_callback.h:25
Definition: android_alloc_adaptor.h:35
BufferUsage
Definition: buffer_usage.h:29
AndroidAllocAdaptor(std::shared_ptr< struct alloc_device_t > const &alloc_device, std::shared_ptr< DeviceQuirks > const &quirks)
Definition: android_alloc_adaptor.cpp:51
Definition: graphic_alloc_adaptor.h:36
Definition: android_input_receiver.h:36
std::shared_ptr< NativeBuffer > alloc_buffer(geometry::Size, MirPixelFormat, BufferUsage usage)
Definition: android_alloc_adaptor.cpp:58