diff options
author | Emma Anholt <emma@anholt.net> | 2022-01-12 15:20:12 -0800 |
---|---|---|
committer | Emma Anholt <emma@anholt.net> | 2022-01-13 13:45:15 -0800 |
commit | 7f5c600788ddadccdb02e7d0162b6292653dd7bc (patch) | |
tree | f96fb78d2a687793bf3ffa91876f175562a6f2d1 /tests/general/longprim.c | |
parent | 975273f841e2ae41171bb9c407c18bf2ed7b78b0 (diff) |
longprim: Reduce window size to improve performance.
The goal is to test lots of primitives, not to rasterize lots of
pixels (which we don't probe anyway). Reduces llvmpipe runtime on my
system from 12.5s to 3.5s.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/624>
Diffstat (limited to 'tests/general/longprim.c')
-rw-r--r-- | tests/general/longprim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/general/longprim.c b/tests/general/longprim.c index 57bfcbe3c..c5ad0c285 100644 --- a/tests/general/longprim.c +++ b/tests/general/longprim.c @@ -35,6 +35,8 @@ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.window_width = 10; + config.window_height = 10; PIGLIT_GL_TEST_CONFIG_END |