Age | Commit message (Collapse) | Author |
|
Found by gcc 14.1:
x11perf.c: In function ‘invalid_arg’:
x11perf.c:339:21: warning: too many arguments for format [-Wformat-extra-args]
339 | fprintf(stderr, "Error: invalid argument to %s\n", arg, option);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: e7a6545 ("When users give invalid arguments, tell them what they did wrong")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/11>
|
|
Don't just dump a usage message and leave them to figure it out
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
|
|
Previously, the error message when giving a bad option was over 350 lines
long. This moves the list of tests out into the `-help tests` option and
makes the usage error message a much more reasonable 32 lines long.
(Also accepts but does not document --help.)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
|
|
Also bumps package version to 1.6.99.0 to prepare for 1.7 release.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
|
|
(Also accepts but does not document --version)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
|
|
Also adds missing -v1.4 & -v1.5 to the man page.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
|
|
Fixes: ee11b04 ("XFree86 4.3.0.1")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Fixes: d7d99c8 ("R6.6 is the Xorg base-line")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Fixes: 9f86498 ("Add RenderAddTraps. Rewrite trapezoid rendering code.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Fixes: 7f46d58 ("Add tests for ShmGetImage")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Fixes: 0fcb26e ("Add tiled text test")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Fixes: bd6b810 ("Add xybitmap putimage tests")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
Moves substitution of variables from Makefile.am to configure.ac
in preparation for allowing meson.build to do the same.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
|
|
These don't need to be in libdir, they're not arch-sensitive.
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/2>
|
|
Xft can no longer support 'render' in font names due to a
change in fontconfig. Work around this by removing that from
the font names and apply it to the pattern manually whenever
the 'bfont' name is not NULL.
Signed-off-by: Keith Packard <keithp@keithp.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
This compares the font family from the loaded font with the requested
family and skips tests where the requested family wasn't available.
It's not perfect, as someone could have a mis-configured font family,
but should catch most incorrect font usages.
I've also switched from Charter to DejaVu Sans as that is more widely
installed.
Signed-off-by: Keith Packard <keithp@keithp.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Attempts to pick 'good' pixel values to make XOR rendering look decent
instead make it invisible on modern TrueColor visuals. Just use the
defined fg/bg pixel values, which at least make it appear.
Adapt to this change by drawing the lines for the blt tests in copy
mode so they appear on the screen.
Signed-off-by: Keith Packard <keithp@keithp.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
This avoids the obvious optimization which catch overlapping
rectangles to avoid re-rendering the same pixels.
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Some drivers manage to optimize the solid block of segments into a
single square fill operation, which is a nifty optimization, but
doesn't really measure what we're interested here.
Signed-off-by: Keith Packard <keithp@keithp.com>
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
xserver commit 436fd7e8b4966c305ea9c43f3c14c2ca04c35539 removed support
for PictStandardA4. x11perf assumes this format always exists, so trying
to run the -aa4trap* tests causes a segmentation fault when
`XRenderFindStandardFormat (xp->d, PictStandardA4)` returns NULL.
Since the server change was intentional, skip the tests if
XRenderFindStandardFormat() returns NULL.
See also: https://gitlab.freedesktop.org/xorg/xserver/-/commit/436fd7e8b4966c305ea9c43f3c14c2ca04c35539
|
|
Not needed in C89 and later, and may hide errors
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Scales to 50x50 window since commit 920b070987c00b369bd6c77c6283f68dffbc7b83
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
|
|
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
fall-outs, when they contain space.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Syncs the invocation of configure with the one from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
|
|
Fixes a const-discard warning.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
The other minpixwin tests draw to a window 50% the size of the pixmap,
it's clear this one was meant to too.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
-pause, -compwinwin*, -comppixwin*, -magpixwin*, -minpixwin*
Signed-off-by: Niveditha Rau <niveditha.rau@oracle.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Prepend a c to the test names of the "core" versions, to match the
-aa*text and -caa*text tests.
Signed-off-by: Peter Harris <pharris@opentext.com>
|