Class WaylandSurface

Inheritance Relationships

Derived Type

Class Documentation

class WaylandSurface

Subclassed by MirEglSurface

Public Functions

WaylandSurface(WaylandApp const *app)
virtual ~WaylandSurface() = default
void attach_buffer(wl_buffer *buffer, int scale)
void commit() const
void set_fullscreen(wl_output *output)

output can be null, user needs to commit after

void add_frame_callback(std::function<void()> &&func)
inline auto app() const -> WaylandApp const*
inline auto surface() const -> wl_surface*
inline auto configured_size() const -> mir::geometry::Size

Protected Functions

inline virtual void configured()

Called when the compositor configures this shell surface.