mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
testsuite: Add a test for a recent mipmap generation bug
Tests the fix in ab1fba6fdc
.
Related: #6298
Related: !6704
This commit is contained in:
parent
603de8361c
commit
ac64948efd
13
testsuite/gsk/compare/mipmap-generation-later.node
Normal file
13
testsuite/gsk/compare/mipmap-generation-later.node
Normal file
@ -0,0 +1,13 @@
|
||||
texture-scale {
|
||||
bounds: 0 0 10 10;
|
||||
filter: nearest;
|
||||
texture: "texture1" url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAZklEQVRYhe3SoQ3AMBAEwXOUQtJ/\
|
||||
Ve7kAxJqtOTADrGOWa9dszN58tn/W7TXJNPwkdO+Uu7OTsWlTrv+gjZI2SBlg5QNUjZI2SBlg5QN\
|
||||
UjZI2SBlg5QNUjZI2SBlg5QNUjZI1Tf4AnlN8eRDOVeLAAAAAElFTkSuQmCC\
|
||||
");
|
||||
}
|
||||
texture-scale {
|
||||
bounds: 15 0 10 10;
|
||||
filter: trilinear;
|
||||
texture: "texture1";
|
||||
}
|
BIN
testsuite/gsk/compare/mipmap-generation-later.png
Normal file
BIN
testsuite/gsk/compare/mipmap-generation-later.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 B |
@ -85,6 +85,7 @@ compare_render_tests = [
|
||||
'mask-modes-in-opacity',
|
||||
'mask-modes-with-alpha',
|
||||
'mask-texture-color-alpha',
|
||||
'mipmap-generation-later',
|
||||
'nested-rounded-clips',
|
||||
'offscreen-pixel-alignment-nogl-nocairo',
|
||||
'opacity_clip',
|
||||
|
Loading…
Reference in New Issue
Block a user