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