• Robert Mader's avatar
    wayland/surface: Add support for wp_viewporter · ba7af4f7
    Robert Mader authored
    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.
    
    !323
    ba7af4f7
meta-wayland-actor-surface.c 12.6 KB