From: Matthias Clasen Date: Sun, 19 Mar 2023 14:08:01 +0000 (-0400) Subject: testsuite: Add a test setup for slicing X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~526^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ace2122d453d6eca4ba30126475e1c3e8720709d;p=gtk4.git testsuite: Add a test setup for slicing Add a 'wayland_smalltexture' test setup that forces the max texture size to be 1024, which lets us test the texture slicing codepaths. --- diff --git a/testsuite/meson.build b/testsuite/meson.build index 688a253978..f39f66322f 100644 --- a/testsuite/meson.build +++ b/testsuite/meson.build @@ -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