Skip to content

clutter/stage-view: Ignore clipping rectangle for offscreen blit

Olivier Fourdan requested to merge ofourdan/mutter:fb-clipping into master

In clutter_stage_view_blit_offscreen(), the given clipping rectangle is in “view” coordinates whereas we intend to copy the whole actual framebuffer, meaning that we cannot use the clipping rectangle.

Use the actual framebuffer size, starting at (0, 0) instead.

That fixes the issue with partial repainting with shadow framebuffer when fractional scaling is enabled.

Edited by Olivier Fourdan

Merge request reports