Skip to content

Don't offscreen subsurface nodes

Benjamin Otte requested to merge wip/otte/for-main into main

This code tightens our clip handling, in particular for scissor rects.

The main benefit is that we stop offscreening subsurface nodes when we shouldn't, which would lead to punching holes in offscreens.

This code is rather brittle still, and would benefit from sharing the clip handling code with gskoffload.c so those 2 make the same decisions about offscreening - but it works.

Edited by Benjamin Otte

Merge request reports