mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
gsk: Add another test
Compare clipped repeat nodes. Must skip cairo here since it blurred the child by scaling after rendering. Also skip the gl renderer, since it hasn't been fixed for this yet. ngl passes this test.
This commit is contained in:
parent
6f62107656
commit
b5df1299ec
32
testsuite/gsk/compare/clipped-repeat-3d-ngl.node
Normal file
32
testsuite/gsk/compare/clipped-repeat-3d-ngl.node
Normal file
@ -0,0 +1,32 @@
|
||||
transform {
|
||||
child: transform {
|
||||
child: rounded-clip {
|
||||
child: container {
|
||||
repeat {
|
||||
bounds: 0 0 159 34;
|
||||
child: container {
|
||||
color {
|
||||
bounds: 0 0 10 10;
|
||||
color: rgb(168,168,168);
|
||||
}
|
||||
color {
|
||||
bounds: 10 0 10 10;
|
||||
color: rgb(84,84,84);
|
||||
}
|
||||
color {
|
||||
bounds: 0 10 10 10;
|
||||
color: rgb(84,84,84);
|
||||
}
|
||||
color {
|
||||
bounds: 10 10 10 10;
|
||||
color: rgb(168,168,168);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
clip: 0 0 159 34 / 6;
|
||||
}
|
||||
transform: scale(4, 4);
|
||||
}
|
||||
transform: translate(6, 20);
|
||||
}
|
BIN
testsuite/gsk/compare/clipped-repeat-3d-ngl.png
Normal file
BIN
testsuite/gsk/compare/clipped-repeat-3d-ngl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -76,6 +76,7 @@ compare_render_tests = [
|
||||
'clip-in-rounded-clip2',
|
||||
'clip-in-rounded-clip3',
|
||||
'rounded-clip-in-clip-3d', # not really 3d, but cairo fails it
|
||||
'clipped-repeat-3d-ngl',
|
||||
'issue-3615'
|
||||
]
|
||||
|
||||
@ -89,7 +90,7 @@ informative_render_tests = [
|
||||
|
||||
renderers = [
|
||||
# name exclude term
|
||||
[ 'gl', '' ],
|
||||
[ 'gl', '-ngl' ],
|
||||
[ 'ngl', '' ],
|
||||
[ 'broadway', '-3d' ],
|
||||
[ 'cairo', '-3d' ],
|
||||
|
Loading…
Reference in New Issue
Block a user