19 #ifndef MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_
20 #define MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_
33 class BackBufferStrategy;
46 void write (
unsigned char const* data,
size_t size)
override;
49 explicit TemporaryBuffer(std::shared_ptr<mg::Buffer>
const& real_buffer);
50 std::shared_ptr<mg::Buffer>
const buffer;
57 std::shared_ptr<BufferBundle>
const& bun,
void const* user_id);
61 std::shared_ptr<BufferBundle>
const bundle;
68 std::shared_ptr<BufferBundle>
const& bun);
72 std::shared_ptr<BufferBundle>
const bundle;
Definition: temporary_buffers.h:35
All things Mir.
Definition: buffer_stream.h:37
std::shared_ptr< mg::Buffer > const buffer
Definition: temporary_buffers.h:50
~TemporarySnapshotBuffer()
Definition: temporary_buffers.cpp:53
geometry::Size size() const override
Definition: temporary_buffers.cpp:58
bool can_bypass() const override
Definition: temporary_buffers.cpp:88
Graphics subsystem. Mediates interaction between core system and the graphics environment.
Definition: android_driver_interpreter.h:28
geometry::Stride stride() const override
Definition: temporary_buffers.cpp:63
std::shared_ptr< mg::NativeBuffer > native_buffer_handle() const override
Definition: temporary_buffers.cpp:83
Definition: temporary_buffers.h:53
MirPixelFormat pixel_format() const override
Definition: temporary_buffers.cpp:68
Definition: temporary_buffers.h:64
TemporaryBuffer(std::shared_ptr< mg::Buffer > const &real_buffer)
Definition: temporary_buffers.cpp:29
TemporaryCompositorBuffer(std::shared_ptr< BufferBundle > const &bun, void const *user_id)
Definition: temporary_buffers.cpp:34
void gl_bind_to_texture() override
Definition: temporary_buffers.cpp:78
TemporarySnapshotBuffer(std::shared_ptr< BufferBundle > const &bun)
Definition: temporary_buffers.cpp:46
~TemporaryCompositorBuffer()
Definition: temporary_buffers.cpp:41
mg::BufferID id() const override
Definition: temporary_buffers.cpp:73
void write(unsigned char const *data, size_t size) override
Definition: temporary_buffers.cpp:93
Definition: dimensions.h:38