37 class Q_WAYLANDCOMPOSITOR_EXPORT Viewport
38 :
public QtWaylandServer::wp_viewport
41 explicit Viewport(QWaylandSurface *surface, wl_client *client,
int id);
43 void checkCommittedState();
46 void wp_viewport_destroy_resource(Resource *resource) override;
47 void wp_viewport_destroy(Resource *resource) override;
48 void wp_viewport_set_source(Resource *resource, wl_fixed_t x, wl_fixed_t y, wl_fixed_t width, wl_fixed_t height) override;
49 void wp_viewport_set_destination(Resource *resource, int32_t width, int32_t height) override;
52 QPointer<QWaylandSurface> m_surface =
nullptr;