gtk/testsuite/gsk/compare/scale-textures-negative-ngl.node
Matthias Clasen 8390363abe testsuite: Avoid negative scales with gl renderer
The fix in 1c90bb522e was only for the ngl renderer,
so don't use the test with the gl renderer, until it is
fixed as well.
2021-07-16 07:11:20 -04:00

49 lines
1.1 KiB
Plaintext

transform {
transform: scale(1, 1);
child: opacity {
opacity: 0.6;
child: container {
texture {
bounds: 0 0 50 50;
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='red'/></svg>");
}
}
}
}
transform {
transform: scale(1, -1);
child: opacity {
opacity: 0.6;
child: container {
texture {
bounds: 0 0 50 50;
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='lime'/></svg>");
}
}
}
}
transform {
transform: scale(-1, -1);
child: opacity {
opacity: 0.6;
child: container {
texture {
bounds: 0 0 50 50;
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='blue'/></svg>");
}
}
}
}
transform {
transform: scale(-1, 1);
child: opacity {
opacity: 0.6;
child: container {
texture {
bounds: 0 0 50 50;
texture: url("data:,<svg width='50' height='50'><rect x='25' y='25' width='25' height='25' fill='yellow'/></svg>");
}
}
}
}