19 #ifndef MIR_GRAPHICS_ANDROID_GRAPHIC_ALLOC_ADAPTOR_H_
20 #define MIR_GRAPHICS_ANDROID_GRAPHIC_ALLOC_ADAPTOR_H_
36 class GraphicAllocAdaptor
39 virtual std::shared_ptr<NativeBuffer> alloc_buffer(geometry::Size
size,
42 GraphicAllocAdaptor() =
default;
43 virtual ~GraphicAllocAdaptor() {}
44 GraphicAllocAdaptor(
const GraphicAllocAdaptor&) =
delete;
45 GraphicAllocAdaptor& operator=(
const GraphicAllocAdaptor&) =
delete;
struct MirBufferPackage NativeBuffer
Definition: native_buffer.h:35
BufferUsage
How a buffer is going to be used.
Definition: buffer_properties.h:36
int const size
Definition: make_socket_rpc_channel.cpp:50