cairo/boilerplate
Martin Robinson f6efecdfef boilerplate/gl: Disable thread awareness
This dramatically speeds up testing on NVidia and actually makes it
possible to run traces within a reasonable amount of time.

cairo-perf-trace results for:
NVIDIA Corporation GeForce GTS 250/PCIe/SSE2 3.3.0 NVIDIA 310.14

Before:
test              min(s)  median(s) stddev. count
gvim              30.924  31.251    0.72%   5/6
firefox-fishbowl  168.751 201.017   12.46%  8/8
(exited early)

After:
test              min(s)  median(s) stddev. count
gvim              1.294   1.325     1.79%   6/6
firefox-fishbowl  18.540  19.104    1.54%   6/6
2013-04-04 12:04:50 -07:00
..
.gitignore [boilerplate] Add make-...-constructors to .gitignore 2009-07-14 19:11:56 +01:00
cairo-boilerplate-beos.cpp whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-cogl.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-directfb.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-drm.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-egl.c boilerplate/gl: Disable thread awareness 2013-04-04 12:04:50 -07:00
cairo-boilerplate-getopt.c whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-getopt.h [cairo-boilerplate] Silence compiler warning. 2008-06-13 21:34:43 +01:00
cairo-boilerplate-glx.c boilerplate/gl: Disable thread awareness 2013-04-04 12:04:50 -07:00
cairo-boilerplate-pdf.c Revert accidental push of ps debugging API. 2012-04-14 14:54:07 +01:00
cairo-boilerplate-private.h test: Fix compilation on win32 2011-06-14 16:46:32 +02:00
cairo-boilerplate-ps.c Revert accidental push of ps debugging API. 2012-04-14 14:54:07 +01:00
cairo-boilerplate-qt.cpp qt: Fix compilation, also minor fix for building against Qt5 2012-02-12 09:57:00 +00:00
cairo-boilerplate-quartz.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-scaled-font.h whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-script.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-skia.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-svg.c boilerplate: Fix svg extension 2011-11-12 20:49:08 +01:00
cairo-boilerplate-system.c whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-system.h whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-test-surfaces.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-vg.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-wgl.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-win32-printing.c Add _cairo_win32_print_gdi_error to boilerplate code 2012-04-10 12:09:02 +01:00
cairo-boilerplate-win32.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-xcb.c boilerplate: rename xcb-render-0.0 to xcb-render-0_0 2013-03-22 14:04:44 +01:00
cairo-boilerplate-xlib.c boilerplate/xlib: Exercise the mask based compositor for xrender version 0.0 2012-02-22 11:24:14 +00:00
cairo-boilerplate-xlib.h [boilerplate] Add missing headers. Oops! 2007-04-21 07:23:30 -04:00
cairo-boilerplate.c test: Fix handling of dots in CAIRO_TEST_TARGET 2013-03-22 14:02:09 +01:00
cairo-boilerplate.h boilerplate: Add a mode for running threaded perf tests 2013-04-04 12:04:50 -07:00
check-link.c [boilerplate/check-link.c] Oops. Add it. 2008-09-02 22:03:05 -04:00
make-cairo-boilerplate-constructors.sh [boilerplate/test] Use numerical equality not string equality 2009-09-02 10:09:50 +01:00
Makefile.am build: Add explicit dependcy to cxx lib 2010-07-16 19:49:53 +02:00
Makefile.sources backends: Adds a new Cogl based backend 2011-10-11 09:05:45 +01:00
Makefile.win32 build: Clean up environment variables and flags for the win32 build 2011-06-20 10:24:21 +02:00
Makefile.win32.features backends: Adds a new Cogl based backend 2011-10-11 09:05:45 +01:00
README Add boilerplate/README explaining its purpose 2006-08-30 22:33:53 -07:00

This directory provides code that is common to both of cairo's tests
suites:

 * The test suite for correctness in test/
 * The test suite for performance in perf/

We call it boilerplate as it consists primarily of the boilerplate
code necessary for initializing a backend in order to create a surface
for that backend.

The code here just might be useful for someone looking to get started
writing cairo code to use a particular backend, (but there are no
promises that the boilerplate code found here for any particular
backend is exemplary).