testsuite: Add a test setup for slicing
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Mar 2023 14:08:01 +0000 (10:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Mar 2023 14:15:22 +0000 (10:15 -0400)
Add a 'wayland_smalltexture' test setup that forces
the max texture size to be 1024, which lets us test
the texture slicing codepaths.

testsuite/meson.build

index 688a253978055c01fe511234619160ec1c0ba804..f39f66322f7789e76dcc244ead5a47af95791f8a 100644 (file)
@@ -15,10 +15,15 @@ exclude_unstable = ['flaky', 'failing']
 setups = [
   { 'backend': 'x11', 'if': x11_enabled, },
   { 'backend': 'wayland', 'if': wayland_enabled, 'is_default': true, },
-  { 'name': 'waylandgles', 'backend': 'wayland', 'if': wayland_enabled,
+  { 'name': 'waylandgles',
+    'backend': 'wayland', 'if': wayland_enabled,
     'env': ['GDK_DEBUG=gl-gles,default-settings'], },
   { 'backend': 'win32', 'if': os_win32 },
   { 'backend': 'broadway', 'if': broadway_enabled, },
+  { 'name': 'wayland_smalltexture',
+    'backend': 'wayland', 'if': wayland_enabled,
+    'env': ['GSK_MAX_TEXTURE_SIZE=1024'], },
+  { 'backend': 'win32', 'if': os_win32 },
 ]
 
 foreach setup : setups