diff --git a/testsuite/gsk/compare/mipmap-generation-later.node b/testsuite/gsk/compare/mipmap-generation-later.node new file mode 100644 index 0000000000..2c20c93b11 --- /dev/null +++ b/testsuite/gsk/compare/mipmap-generation-later.node @@ -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"; +} diff --git a/testsuite/gsk/compare/mipmap-generation-later.png b/testsuite/gsk/compare/mipmap-generation-later.png new file mode 100644 index 0000000000..f8f3ff8b6d Binary files /dev/null and b/testsuite/gsk/compare/mipmap-generation-later.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index ca789f1c5a..125490fadf 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -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',