gtk/testsuite/gsk/compare/scaled-texture-scale.node
Benjamin Otte bdb3e345c8 testsuite: Add test for scaling texture-scale node
Finally figured out a way to test that a texture-scale node using
NEAREST that is upscaled using a transform node doesn't use NEAREST but
LINEAR.
2023-10-31 00:36:27 +01:00

14 lines
372 B
Plaintext

color-matrix {
matrix: matrix3d(1000, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
child: transform {
transform: scale(4);
child: texture-scale {
bounds: 0 0 10 10;
filter: nearest;
texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAYAAAD0In+KAAAAEUlEQVQImWP4z8Dwn+E/w38AEPgD\
/V+dao0AAAAASUVORK5CYII=\
");
}
}
}