gtk/testsuite/gsk/compare/outset-shadow-corner-blur.node
Benjamin Otte cc3ed89e34 gpu: Draw proper shadows again
The fix in commit 5e7f227d broke shadows while trying to make them
faster.
So use a better way to make them faster.

With the normalized blur radius, we can now conclude that all the values
too far from p.y will cause the gauss() call to return close to 0, so we
can skip any y value that is too far from p.y.

And that allows us to put an upper limit on the loop iterations.

Tests included

Fixes #6888
2024-07-30 01:50:56 +02:00

8 lines
111 B
Plaintext

clip {
clip: 0 0 15 15;
child: outset-shadow {
blur: 10;
outline: 0 0 100 100 / 100 0 100 0;
}
}