cairo/boilerplate
Chris Wilson 1236c41072 xcb: Refresh.
Still an experimental backend, it's now a little too late to stabilise
for 1.10, but this should represent a major step forward in its feature
set and an attempt to catch up with all the bug fixes that have been
performed on xlib. Notably not tested yet (and expected to be broken)
are mixed-endian connections and low bitdepth servers (the dithering
support has not been copied over for instance). However, it seems robust
enough for daily use...

Of particular note in this update is that the xcb surface is now capable
of subverting the xlib surface through the ./configure --enable-xlib-xcb
option. This replaces the xlib surface with a proxy that forwards all
operations to an equivalent xcb surface whilst preserving the cairo-xlib
API that is required for compatibility with the existing applications,
for instance GTK+ and Mozilla. Also you can experiment with enabling a
DRM bypass, though you need to be extremely foolhardy to do so.
2010-01-22 23:01:52 +00:00
..
.gitignore [boilerplate] Add make-...-constructors to .gitignore 2009-07-14 19:11:56 +01:00
cairo-boilerplate-beos.cpp [boilerpate] Move target definition to backends. 2009-07-04 21:43:27 +01:00
cairo-boilerplate-directfb.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-drm.c drm: Add backends for i915 and i965. 2010-01-22 23:01:52 +00:00
cairo-boilerplate-getopt.c [test] Preparatory work for running under memfault. 2008-08-13 21:54:59 +01:00
cairo-boilerplate-getopt.h [cairo-boilerplate] Silence compiler warning. 2008-06-13 21:34:43 +01:00
cairo-boilerplate-gl.c gl: Exercise Window destinations with boilerplate 2010-01-22 23:01:51 +00:00
cairo-boilerplate-glitz-agl.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-glitz-glx.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-glitz-wgl.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-pdf.c configure: Globally define AC_GNU_SOURCE 2010-01-22 23:01:50 +00:00
cairo-boilerplate-private.h [boilerplate] Add missing header file. 2009-07-05 09:22:44 +01:00
cairo-boilerplate-ps.c configure: Globally define AC_GNU_SOURCE 2010-01-22 23:01:50 +00:00
cairo-boilerplate-qt.cpp qt: Trivial compile fix for boilerplate. 2010-01-22 23:01:51 +00:00
cairo-boilerplate-quartz.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-scaled-font.h [scaled-font] Get rid of _cairo_scaled_font_test_set_max_glyphs_cached_per_font 2007-04-21 03:43:04 -04:00
cairo-boilerplate-script.c script: Port cairo_script_context_t to cairo_device_t 2010-01-22 23:01:50 +00:00
cairo-boilerplate-skia.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-svg.c [meta] Rename cairo_meta_surface_t to cairo_recording_surface_t. 2009-10-22 02:29:47 +03:00
cairo-boilerplate-system.c [perf] Benchmark traces 2009-06-02 15:13:47 +01:00
cairo-boilerplate-system.h [perf] Benchmark traces 2009-06-02 15:13:47 +01:00
cairo-boilerplate-test-surfaces.c [meta] Rename cairo_meta_surface_t to cairo_recording_surface_t. 2009-10-22 02:29:47 +03:00
cairo-boilerplate-vg.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-win32-printing.c [meta] Rename cairo_meta_surface_t to cairo_recording_surface_t. 2009-10-22 02:29:47 +03:00
cairo-boilerplate-win32.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-xcb.c xcb: Refresh. 2010-01-22 23:01:52 +00:00
cairo-boilerplate-xlib.c [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
cairo-boilerplate-xlib.h [boilerplate] Add missing headers. Oops! 2007-04-21 07:23:30 -04:00
cairo-boilerplate.c script: Port cairo_script_context_t to cairo_device_t 2010-01-22 23:01:50 +00:00
cairo-boilerplate.h [meta] Rename cairo_meta_surface_t to cairo_recording_surface_t. 2009-10-22 02:29:47 +03: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 [boilerplate] Runtime library check 2009-08-29 17:07:38 +01:00
Makefile.sources Add skia backend 2009-08-29 17:07:35 +01:00
Makefile.win32 [test-win32] Fix static linking of the test suite. 2009-04-01 11:32:58 -04:00
Makefile.win32.features xcb: Refresh. 2010-01-22 23:01:52 +00: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).