summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-15Stop casting return value of malloc() and calloc()Alan Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-21gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-07-21Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-09Fix spelling/wording issuesAlan Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09Update minpixwin info in man page to match implemenationAlan Coopersmith
Scales to 50x50 window since commit 920b070987c00b369bd6c77c6283f68dffbc7b83 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov
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 Hutterer
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 Klausner
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 Jackson
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 Rau
-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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-01-13remove srand(1) call as nothing calls any rand like functions in x11perfMatthieu Herrb
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-10-25Mark bitmap data as constAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-07Fix name collision in -rgb*textPeter Harris
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 Coopersmith
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02configure: Drop AM_MAINTAINER_MODEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-03-10Add '-pause' option to delay between runsKeith Packard
This lets the package cool down to get more consistent performance numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
2014-03-05Switch to 64-bit intsKeith Packard
2014-03-05Add scaling composite testsKeith Packard
2014-03-05Fix reported pixmap format nameKeith Packard
2014-03-05Add up/down scaling composite testsKeith Packard
2013-02-23Assume signal handlers return void, as C89 requiresAlan Coopersmith
Drops use of autoconf's obsolete AC_TYPE_SIGNAL Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-20Drop imake fallback for RETSIGTYPE definitionAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-20Mark usage & AbortTest as _X_NORETURNAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-27x11perf 1.5.4x11perf-1.5.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-10Add MKTEMP to DIR_SUBSTS in MakefileAlan Coopersmith
Needed for commit 1188465112a1 to work after revert of 4af24b2f5b3f8f Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-10Revert "Let autoconf generate x11perfcomp directly instead of doing it via sed"Alan Coopersmith
This reverts commit 4af24b2f5b3f8f2c20271ae323b6fa528b9b2127. Letting autoconf do it failed to handle the recursive expansion needed, resulting in "PATH=${exec_prefix}/lib/X11/x11perfcomp:..." without having exec_prefix defined in x11perfcomp. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-07-01Remove stray remaining CVS id tagAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-01x11perfcomp should use mktemp instead of pid for tmp directoryAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-01Let autoconf generate x11perfcomp directly instead of doing it via sedAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-01x11perfcomp: use saner $PATHAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-11Make Makefile.am's compatible with Solaris makeAlan Coopersmith
Solaris make won't substitute $< in explicit rules, only implicit ones Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-24config: substitute x11perfcompdir using Autoconf @x11perfcompdir@Gaetan Nadon
Use the Autoconf recommended way of substituting bindir and friends, see http://www.gnu.org/software/autoconf/manual/autoconf.html Use # sign for comment in script. Only sed is used, drop the cpp terminology. Reviewed-by: RĂ©mi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-19config: move man pages into their own directoryGaetan Nadon
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-07Add tests for ShmGetImageChris Wilson
Similar to GetImage and ShmPutImage, test the performance of retrieving pixel data from the X server without the overhead of copying the pixels. In the upper bound, using XShmGetImage, the performance will be limited by the RTT latency (x11perf -prop). However, comparing the scaling factors of XShmGetImage and XGetImage will give some insight into the driver efficiency. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-01-05x11perf 1.5.3x11perf-1.5.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-23Merge fixes from git://anongit.freedesktop.org/~peterh/x11perfPeter Harris
2010-11-23Avoid "rep" calculation overflow.Peter Harris
On today's fast machines, "treps" can easily overflow a 32-bit number. Use "long long" to calculate reps. Signed-off-by: Peter Harris <pharris@opentext.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-23Clamp test time to positive values.Peter Harris
If there is some jitter in the sync time, operations can complete in a negative amount of time (confusing both humans and x11perfcomp). Signed-off-by: Peter Harris <pharris@opentext.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2010-11-19Remove unneccessary AC_SUBST of CFLAGS & LIBS vars from PKG_CHECK_MODULESAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-19config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>