gtk/testsuite/gsk/compare/occlusion-wrong-rect-contains.node
Benjamin Otte 1dd905d976 gpu: Fix wrong rect check in occlusion fallback path
We need to check that the clip is inside the opaque region, not that the
opaque region is inside the clip.

Test included, using the only not that hits the fallback path with an
opaque region smaller than its bounds.
2024-07-08 23:07:36 +02:00

16 lines
224 B
Plaintext

color {
bounds: 0 0 30 30;
color: rgb(0,255,0);
}
cross-fade {
progress: 0.4;
start: color {
bounds: 0 10 30 30;
color: rgb(0,0,255);
}
end: color {
bounds: 10 0 30 30;
color: rgb(255,0,0);
}
}