Commit ba7af4f7 authored by Robert Mader's avatar Robert Mader Committed by Jonas Ådahl

wayland/surface: Add support for wp_viewporter

This adds the required bits to wayland surfaces and ties them up
to the compositor parts.

It is based on and very similar in nature to buffer transforms.

From the specification:
> The global interface exposing surface cropping and scaling
> capabilities is used to instantiate an interface extension for a
> wl_surface object. This extended interface will then allow cropping
> and scaling the surface contents, effectively disconnecting the
> direct relationship between the buffer and the surface size.

parent edfe5cc3
Pipeline #56823 passed with stages
in 3 minutes and 36 seconds