gtk/testsuite/gsk/compare/nested-rounded-clips.node
Timm Bäder b9ed957af3 gl renderer: Fix nested rounded clip rendering
If the inner clip intersects with the corners of the outer clip, we
potentially need a texture. We should add more fine-grained checks for
this in the future though.

Test case included.
2020-05-13 08:07:55 +02:00

36 lines
470 B
Plaintext

transform {
child: rounded-clip {
child: rounded-clip {
clip: 10 10 30 30 / 5;
child: color {
color: teal;
bounds: 12 12 26 26;
}
}
clip: 10 10 30 30 / 25 0 0 0;
}
transform: scale(5);
}
color {
color: black;
bounds: 55 100 40 40;
}
color {
color: black;
bounds: 70 80 20 20;
}
color {
color: black;
bounds: 90 70 40 40;
}
color {
color: black;
bounds: 105 55 30 20;
}