testsuite: Add a test for large scale nodes
This test fails if we naively create fullscale intermediate offscreens. This was fixed in the previous commits. This tests the fixes in22ba6b1f33(for cairo) and3a0152b65f(for GL).
This commit is contained in:
committed by
Matthias Clasen
parent
3a0152b65f
commit
8bbf220fdf
8
testsuite/gsk/compare/texture-scale-magnify-10000x.node
Normal file
8
testsuite/gsk/compare/texture-scale-magnify-10000x.node
Normal file
@@ -0,0 +1,8 @@
|
||||
clip {
|
||||
clip: 24995 24995 10 10;
|
||||
child: texture-scale {
|
||||
texture: url("data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAKElEQVQYlWNkYGD4z4AG/v/HEGJgwhDBAQZQIQs2hzMyMtLBauorBACQUgcSISWLRgAAAABJRU5ErkJggg==");
|
||||
bounds: 0 0 50000 50000;
|
||||
filter: nearest;
|
||||
}
|
||||
}
|
||||
BIN
testsuite/gsk/compare/texture-scale-magnify-10000x.png
Normal file
BIN
testsuite/gsk/compare/texture-scale-magnify-10000x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 B |
@@ -66,19 +66,20 @@ compare_render_tests = [
|
||||
'outset_shadow_offset_y',
|
||||
'outset_shadow_rounded_top',
|
||||
'outset_shadow_simple',
|
||||
'scaled-cairo',
|
||||
'scale-textures-negative-ngl',
|
||||
'scale-up-down',
|
||||
'shadow-in-opacity',
|
||||
'texture-url',
|
||||
'repeat',
|
||||
'repeat-no-repeat',
|
||||
'repeat-negative-coords',
|
||||
'repeat-texture',
|
||||
'rounded-clip-in-clip-3d', # not really 3d, but cairo fails it
|
||||
'scale-textures-negative-ngl',
|
||||
'scale-up-down',
|
||||
'scaled-cairo',
|
||||
'scaled-texture',
|
||||
'shadow-in-opacity',
|
||||
'texture-scale-magnify-10000x',
|
||||
'texture-url',
|
||||
'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
|
||||
|
||||
Reference in New Issue
Block a user