mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Add a test for scaled textures
This commit is contained in:
parent
d916659781
commit
238e7ec351
7
testsuite/gsk/compare/scaled-texture.node
Normal file
7
testsuite/gsk/compare/scaled-texture.node
Normal file
@ -0,0 +1,7 @@
|
||||
container {
|
||||
texture-scale {
|
||||
texture: url("some-10x10-image-with-content.png");
|
||||
bounds: 0 0 100 100;
|
||||
filter: nearest;
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/scaled-texture.png
Normal file
BIN
testsuite/gsk/compare/scaled-texture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 334 B |
@ -75,6 +75,7 @@ compare_render_tests = [
|
||||
'transform-in-transform',
|
||||
'transform-in-transform-in-transform',
|
||||
'rounded-clip-in-clip-3d', # not really 3d, but cairo fails it
|
||||
'scaled-texture',
|
||||
]
|
||||
|
||||
# these are too sensitive to differences in the renderers
|
||||
|
Loading…
Reference in New Issue
Block a user