cairo/boilerplate
Uli Schlachter 6383e1442c XCB: Check screen size in boilerplate
Trying to create a window for drawing that is larger than the available screen
space is a bad idea. When the test finishes and tries to grab the resulting
image from the X server, the window's area that is outside of the screen will
have undefined content.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-11-07 12:51:56 +00: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-directfb.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-drm.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-egl.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02: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 gl: Add describe string 2010-07-03 02:55:52 +02:00
cairo-boilerplate-pdf.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-private.h whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-ps.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-qt.cpp whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-quartz.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02: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: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-skia.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-svg.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02: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: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-vg.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-wgl.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-win32-printing.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-win32.c boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02:00
cairo-boilerplate-xcb.c XCB: Check screen size in boilerplate 2010-11-07 12:51:56 +00:00
cairo-boilerplate-xlib.c boilerplate: Offset the xlib window 2010-07-17 10:09:14 +01:00
cairo-boilerplate-xlib.h [boilerplate] Add missing headers. Oops! 2007-04-21 07:23:30 -04:00
cairo-boilerplate.c boilerplate: Add describe string 2010-07-03 02:55:52 +02:00
cairo-boilerplate.h boilerplate: Add a describe vfunc 2010-07-03 02:55:52 +02: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 build: Split boilerplate lib generation into two so's 2010-07-11 18:53:42 +02:00
Makefile.win32 [test-win32] Fix static linking of the test suite. 2009-04-01 11:32:58 -04:00
Makefile.win32.features Add cairo-gobject library 2010-08-07 20:19:27 +02: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).