Class GLBuffer¶ Defined in File mirbuffer.h Class Documentation¶ class GLBuffer¶ Public Functions ~GLBuffer()¶ explicit GLBuffer(std::shared_ptr<mir::graphics::Buffer> const &buffer)¶ bool has_alpha_channel() const¶ mir::geometry::Size size() const¶ void bind()¶ void reset(std::shared_ptr<mir::graphics::Buffer> const &buffer)¶ void reset()¶ bool empty()¶ Public Static Functions static std::shared_ptr<GLBuffer> from_mir_buffer(std::shared_ptr<mir::graphics::Buffer> const &buffer)¶