forked from AuroraMiddleware/gtk
testsuite: Add a color matrix test case
Color matrix nodes with an identity matrix and no offset should still produce the expected image.
This commit is contained in:
parent
ccb9877534
commit
2979aea3ae
8
testsuite/gsk/compare/color-matrix-identity.node
Normal file
8
testsuite/gsk/compare/color-matrix-identity.node
Normal file
@ -0,0 +1,8 @@
|
||||
color-matrix {
|
||||
child: color {
|
||||
bounds: 0 0 50 50;
|
||||
color: rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
matrix: none;
|
||||
offset: 0 0 0 0;
|
||||
}
|
BIN
testsuite/gsk/compare/color-matrix-identity.png
Normal file
BIN
testsuite/gsk/compare/color-matrix-identity.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 B |
@ -40,6 +40,7 @@ compare_render_tests = [
|
||||
'outset_shadow_simple',
|
||||
'shadow-in-opacity',
|
||||
'texture-url',
|
||||
'color-matrix-identity',
|
||||
]
|
||||
|
||||
renderers = [
|
||||
|
Loading…
Reference in New Issue
Block a user