summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-04-18When users give invalid arguments, tell them what they did wrongHEADmasterAlan Coopersmith1-30/+56
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>
2024-04-18Add -help [options|tests|all] and remove tests from default usage messageAlan Coopersmith3-45/+80
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>
2024-04-18Mark tests introduced in version 1.6 as version 1.6 & laterAlan Coopersmith1-12/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/10>
2024-04-18Mark tests introduced since version 1.6 as version 1.7Alan Coopersmith2-8/+8
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>
2024-04-18Add -version optionAlan Coopersmith2-1/+9
(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>
2024-04-18Add -v1.6 & -v1.7 to recognized version flagsAlan Coopersmith3-46/+68
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>
2024-04-13x11perf.man: Add missing tests inherited from XFree86 4.3Alan Coopersmith1-0/+54
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>
2024-04-13x11perf.man: Add missing tests inherited from X11R6.6Alan Coopersmith1-0/+12
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>
2024-04-13x11perf.man: Add tests for anti-aliased trapezoidsAlan Coopersmith1-0/+72
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>
2024-04-13x11perf.man: Add tests for ShmGetImageAlan Coopersmith1-0/+18
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>
2024-04-13x11perf.man: Add tiled text testAlan Coopersmith1-0/+3
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>
2024-04-13x11perf.man: Add xybitmap putimage testsAlan Coopersmith1-0/+18
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>
2024-04-13man pages: use .BR markup for references to other man pagesAlan Coopersmith2-4/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/9>
2024-04-13configure: use @-style substitutions for man pages instead of __-styleAlan Coopersmith5-13/+13
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>
2024-04-13Move x11perfcomp scripts into datadirMike A. Harris1-1/+1
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>
2024-04-13Fix core AA text tests which now fail due to change in fontconfigKeith Packard2-10/+21
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>
2024-04-13Validate fonts used in Xft testsKeith Packard3-32/+50
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>
2024-04-13Don't try to make XOR 'look good'. Best to make it visible.Keith Packard2-17/+10
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>
2024-04-13Add xybitmap putimage testsKeith Packard2-2/+52
Signed-off-by: Keith Packard <keithp@keithp.com> Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
2024-04-13Make put image tests work with planemasksKeith Packard1-5/+11
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
2024-04-13Add tiled text testKeith Packard2-0/+7
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
2024-04-13Eliminate overlaps in rects and trapsKeith Packard1-10/+10
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
2024-04-13Ensure that 100x100 rectangle outlines do not overlapKeith Packard1-2/+2
Signed-off-by: Keith Packard <keithp@keithp.com> Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
2024-04-13Ensure that 100x100 rectangles do not overlapKeith Packard1-11/+11
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>
2024-04-13Set position of the status window based on perf window posKeith Packard1-1/+1
Part-of: <https://gitlab.freedesktop.org/xorg/test/x11perf/-/merge_requests/1>
2024-04-13Ensure that vertical/horizontal segments do not overlapKeith Packard2-63/+52
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>
2024-04-13Strip trailing whitespace from source filesAlan Coopersmith22-374/+374
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-28x11perf 1.6.2x11perf-1.6.2Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-22tests: Skip trapezoids for unsupported XRender formatsAaron Plattner1-0/+2
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
2022-10-15Stop casting return value of malloc() and calloc()Alan Coopersmith13-36/+36
Not needed in C89 and later, and may hide errors Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-15Variable scope reductions as recommended by cppcheckAlan Coopersmith14-236/+140
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-21gitlab CI: add a basic build testAlan Coopersmith1-0/+97
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-21Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-09Fix spelling/wording issuesAlan Coopersmith3-3/+3
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-03-16x11perf 1.6.1x11perf-1.6.1Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith3-25/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09Update minpixwin info in man page to match implemenationAlan Coopersmith1-1/+1
Scales to 50x50 window since commit 920b070987c00b369bd6c77c6283f68dffbc7b83 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
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>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
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>
2015-07-19Make NameFromFormat() const.Thomas Klausner1-3/+3
Fixes a const-discard warning. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-07-15tests: Fix thinko in minpixwin50Adam Jackson1-2/+2
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>
2015-04-24Add new options from 1.6.0 release to man pageNiveditha Rau1-0/+39
-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>
2015-04-16x11perf 1.6.0x11perf-1.6.0Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-01-13remove srand(1) call as nothing calls any rand like functions in x11perfMatthieu Herrb1-1/+0
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
2014-10-25Combine help_message array into a single stringAlan Coopersmith1-32/+28
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-10-25Mark bitmap data as constAlan Coopersmith1-9/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-07Fix name collision in -rgb*textPeter Harris1-3/+3
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>
2014-06-02autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>