buffet / kiwmi

A fully programmable Wayland Compositor
Mozilla Public License 2.0
585 stars 22 forks source link

output: wlr_renderer_begin with physical size #66

Closed ghost closed 2 years ago

ghost commented 2 years ago

The rendered region size is independent on the output transform and scale. Until now, an output with scale > 1 would render only its (1 / scale) part; so with a scale of 2, only the top-left quarter (ie. the left 1/2 of the top 1/2) would be visible.

Similarly, a portrait output (constructed as landscape, rotated by 90 degrees) would have an empty area at its bottom.

This bug was found while testing the output-management PR (#62).