20 #ifndef MIR_GRAPHICS_MESA_SHM_BUFFER_H_
21 #define MIR_GRAPHICS_MESA_SHM_BUFFER_H_
40 ShmBuffer(std::shared_ptr<ShmFile>
const& shm_file,
56 std::shared_ptr<ShmFile>
const shm_file;
bool can_bypass() const
Definition: shm_buffer.cpp:84
Definition: shm_buffer.h:37
geometry::Stride stride() const
Definition: shm_buffer.cpp:50
std::shared_ptr< MirNativeBuffer > native_buffer_handle() const
Definition: shm_buffer.cpp:68
~ShmBuffer() noexcept
Definition: shm_buffer.cpp:41
ShmBuffer(std::shared_ptr< ShmFile > const &shm_file, geometry::Size const &size, MirPixelFormat const &pixel_format)
Definition: shm_buffer.cpp:29
void bind_to_texture()
Definition: shm_buffer.cpp:60
MirPixelFormat pixel_format() const
Definition: shm_buffer.cpp:55
Definition: buffer_basic.h:29
geometry::Size size() const
Definition: shm_buffer.cpp:45
Definition: dimensions.h:38