summaryrefslogtreecommitdiff
path: root/boilerplate
Commit message (Collapse)AuthorAgeFilesLines
...
* boilerplate: Fix use after free from 3ae5723Chris Wilson2010-04-301-3/+10
| | | | | | If we want to access the surface during the cleanup, we must hold our own reference to it. Make it so for the forced finish of the recording surface.
* boilerplate: Ensure that the recording surfaces are finished.Chris Wilson2010-04-304-8/+17
| | | | | Be paranoid and explicitly call finish to cleanup self-referential leaks when using paginated/recording surfaces.
* boilerplate: Destroy the redundant image referenceChris Wilson2010-04-301-0/+2
| | | | | When using a script surface to record the recording surface, we replace the local reference to the image surface.
* Update FSF addressAndrea Canciani2010-04-274-4/+4
| | | | | | | | | | | I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
* Win32 features updateChris Wilson2010-04-231-8/+0
|
* Win32 features update.Chris Wilson2010-04-141-0/+8
|
* boilerplate: Compile xlib without xrenderAndrea Canciani2010-04-101-0/+6
| | | | | | cairo_boilerplate_xlib_surface_disable_render() is not defined when compiling without XRender, but it was used nonetheless. Replace it with an empty stub when XRender is not available.
* boilerplate: Allox xlib-fallback to build without RENDERChris Wilson2010-04-011-68/+4
| | | | | This surface doesn't use RENDER and should produce the same results when cairo-xlib is compiled without any support for RENDER.
* xlib: Rearrange xrender stubs to restore compilation without xrender.hChris Wilson2010-04-011-8/+0
|
* boilerplate: Create an image16 targetChris Wilson2010-03-2717-53/+118
| | | | | | In order to exercise the newly restored r5g6g5 support, we need to create an appropriate surface and feed it through the test and performance suites.
* boilerplate: Cleanup the list of backends upon shutdown.Chris Wilson2010-03-232-0/+16
|
* gl: Add EGL interfaceChris Wilson2010-03-112-0/+106
| | | | Enable the EGL backend for GL.
* xcb: Update minimum required versions of libxcb.M Joonas Pihlaja2010-03-011-0/+6
| | | | | | | The new xcb surface uses xcb_writev() and xcb_take_socket() which were introduced in libxcb 1.1.92. The boilerplate in turn uses the major_code and minor_code fields in xcb_generic_error_t, which were introduced in 1.4.
* api: Introduce CAIRO_FORMAT_INVALID formally in the API.M Joonas Pihlaja2010-03-011-1/+1
| | | | | | We were exposing the actual value of CAIRO_FORMAT_INVALID through API functions already, so it makes sense to just go ahead and put it in the cairo_format_t enum.
* boilerplate: Include X11.h for GL/GLXChris Wilson2010-02-121-0/+3
|
* gl: Remove eagle supportChris Wilson2010-02-111-10/+0
| | | | | Eagle is no more, Kristian has superseded it with true EGL support. He is so happy...
* [gl] When making a boilerplate GLX window, ensure it has alpha.Eric Anholt2010-02-051-8/+9
| | | | | | cairo_gl_surface_create_for_window assumes CONTENT_COLOR_ALPHA, so make sure the fbconfig we choose is good enough. Fixes gl-window testcase results to basically match the non-window testcases.
* build: Remove glitz surfaceBenjamin Otte2010-01-276-672/+0
| | | | glitz is unmaintained and the GL surface is far superior anyway.
* xcb: Make shm optionalChris Wilson2010-01-251-0/+10
| | | | | | Trying to build xcb on a system without SHM wrapped by xcb. The right answer would be to build libxcb-shm. The quick answer is to compile out shm support.
* xcb: Refresh.Chris Wilson2010-01-222-25/+517
| | | | | | | | | | | | | | | | | | 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.
* drm: Add backends for i915 and i965.Chris Wilson2010-01-221-1/+1
| | | | | | | | | | | | | As proof-of-principle add the nearly working demonstrations of using DRM to render directly with the GPU bypassing both RENDER and GL for performance whilst preserving high quality rendering. The basis behind developing these chip specific backends is that this is the idealised interface that we desire for this chips, and so a target for cairo-gl as we continue to develop both it and our GL stack. Note that this backends do not yet fully pass the test suite, so only use if you are brave and willing to help develop them further.
* qt: Trivial compile fix for boilerplate.Chris Wilson2010-01-221-0/+2
|
* gl: Exercise Window destinations with boilerplateChris Wilson2010-01-221-0/+99
| | | | | | Add a gl-window boilerplate target to exercise using GL to render to a visible Drawable -- for instance, a window has a different coordinate system to a framebuffer...
* gl: Port to cairo_device_tChris Wilson2010-01-221-10/+18
|
* script: Port cairo_script_context_t to cairo_device_tChris Wilson2010-01-222-6/+6
| | | | Use the unifying cairo_device_t for cairo_script_context_t and replace.
* configure: Globally define AC_GNU_SOURCEChris Wilson2010-01-222-0/+8
| | | | | | We were using _GNU_SOURCE throughout the codebase, so simply define it once during configure. This is the easiest method to enable recursive mutexes using pthreads, as required in a pending patch.
* [dirty] Add more missing surface dirtying notifications.M Joonas Pihlaja2009-11-291-0/+1
| | | | | | Now that the image surface actually cares about cairo_surface_mark_dirty() we're hitting cases where we've forgotten to mark surfaces dirty.
* [meta] Rename cairo_meta_surface_t to cairo_recording_surface_t.M Joonas Pihlaja2009-10-228-44/+44
| | | | | | | The new name is more descriptive than the rather opaque meta surface. Discussed with vigour on the mailing list and #cairo: http://lists.cairographics.org/archives/cairo/2009-July/017571.html
* [boilerplate/xcb] Fix pixmap depthChris Wilson2009-09-301-3/+16
| | | | | All the error checking, finally pointed out that I was creating a pixmap with the wrong depth! Oops.
* [xcb] Deferred error checking.Chris Wilson2009-09-301-0/+17
| | | | | | | | | XCB avoids the dreaded abort on XError mechanism by forcing the client to perform deferred error checking. So do so. This allows us to combine the fire-and-forget rendering model with accurate error checking, without killing the client or mixing our errors with theirs. XCB for the win!
* [boilerplate/xcb] Check for connection errors during testChris Wilson2009-09-301-11/+40
|
* [build] Check for dlsym in both libdl and libc.M Joonas Pihlaja2009-09-141-2/+2
| | | | The BSDs have dlsym() in libc rather than libdl.
* [build] Add a default message for when GLEW isn't builtChris Wilson2009-09-141-8/+0
| | | | | And it appears I touched the build system again and autoregenerated the feature headers.
* Add a private copy of GLEWChris Wilson2009-09-141-0/+8
| | | | | | | | | This appears to be the simplest mechanism to build libglew at the moment - should a system copy be unavailable. Fortunately libglew is now distributed under a permissive licence. If you want to pass 'make -C src check' you have to use the system copy, or spend quite a bit of time cairo-fying libglew.
* [configure] --enable-symbol-lookupChris Wilson2009-09-131-0/+7
| | | | | | | | There you go Joonas, I don't always ignore your suggestions! This is simple patch to allow the user to disable symbol loops in case the auto-detection fails on some obscure (perhaps OpenBSD) platform. Or in case the user really wants to trim a few bytes from a library only used during tracing!
* [build] Improve handling of missing test apparatusChris Wilson2009-09-084-0/+13
| | | | | Improve detection, reporting and disabling of test backends when we lack the required libraries and utilities.
* [configure] Add option to disable trace.Chris Wilson2009-09-051-0/+7
| | | | | | | | Some environments may be broken beyond our capabilities to detect, or maybe the user is just insane and doesn't want to build my nice shiny cairo-trace. Whatever, give them the option to choose: $ ./configure --disable-trace
* [boilerplate] Support wildcard ? in CAIRO_TEST_TARGET{,_EXCLUDE}.M Joonas Pihlaja2009-09-051-4/+6
| | | | Useful for running tests only for a given content type.
* [boilerplate] Support giving content in CAIRO_TEST_TARGET{,_EXCLUDE}.M Joonas Pihlaja2009-09-051-4/+57
| | | | | | | Sometimes it's convenient to run the regression or performance tests against a given target with a given content. Now we accept an optional content specifier as a suffix .<content> on a target name, where <content> is rgb or rgba.
* [boilerplate] Handle errors whilst creating GL surfaceChris Wilson2009-09-031-5/+6
|
* [boilerplate/test] Use numerical equality not string equalityChris Wilson2009-09-021-1/+1
| | | | test == != -eq
* [constructors] Guard against being called without any input files.M Joonas Pihlaja2009-09-021-1/+6
| | | | | The make-cairo-(test|boilerplate)-constructors scripts ought never to be called without arguments lest we are left constructorless.
* [boilerplate] Use xlib as fallback reference for xcbChris Wilson2009-09-011-1/+12
| | | | And exercise RGB code-paths.
* [boilerplate] Runtime library checkChris Wilson2009-08-2921-3/+78
| | | | | | | For the purposes of benchmarking it is useful to run cairo-perf against a different library from the one it was compiled against. In order to do so, we need to check that the runtime library contains the required entry points for our targets - which we can check by using dlsym.
* Add skia backendVladimir Vukicevic2009-08-293-0/+61
| | | | | | | | | Originally written by Vladimir Vukicevic to investigate using Skia for Mozilla, it provides a nice integration with a rather interesting code base. By hooking Skia underneath Cairo it allows us to directly compare code paths... which is interesting. [updated by Chris Wilson]
* Add xml surfaceChris Wilson2009-08-291-0/+10
| | | | | | | A very simple surface that produces a hierarchical DAG in a simple XML format. It is intended to be used whilst debugging, for example with the automatic regression finding tools of cairo-sphinx, and with test suites that just want to verify that their code made a particular Cairo call.
* Introduce cairo_tee_surface_tChris Wilson2009-08-291-0/+8
| | | | | | | Add a new surface type that multiplies it input onto several output surfaces. The only limitation is that it requires a master surface that is used whenever we need to query surface options, such as font options and extents.
* [script] Emit surface contentChris Wilson2009-08-291-1/+1
| | | | Include the desired content with the creation info.
* [script] Introduce cairo_script_context_tChris Wilson2009-08-292-23/+8
| | | | | | cairo_script_context_t is an encapsulation object for interfacing with the output - multiple surfaces can share the same context, meaning that they write to the same destination file/stream.
* [boilerplate/test] Convert make-*-constructors to shellChris Wilson2009-08-063-176/+28
| | | | | | Remove the intermediate C program that was a nuisance whilst cross-compiling and replace it with a simple shell script that is just a combination of cat + sed.