Class WaylandSurface¶
Defined in File wayland_surface.h
Inheritance Relationships¶
Derived Type¶
private MirEglSurface
(Class MirEglSurface)
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*¶
Protected Functions
-
inline virtual void configured()¶
Called when the compositor configures this shell surface.
-
WaylandSurface(WaylandApp const *app)¶