summaryrefslogtreecommitdiff
path: root/util/cairo-sphinx
Commit message (Collapse)AuthorAgeFilesLines
* util: Fix compiler warnings in cairo-sphinxEmmanuele Bassi2023-02-031-3/+8
| | | | Though I'm not sure how useful this tool is.
* Remove autotools buildAdrian Johnson2023-01-081-43/+0
|
* meson: Use more dependency objectsUli Schlachter2021-05-221-3/+3
| | | | | | | | For example, to depend on cairo-script, inccairoscript was added to "include_directories:" and libcairoscript was added to "link_with:". This commit instead uses the libcairoscript_dep dependency everywhere. Signed-off-by: Uli Schlachter <psychon@znc.in>
* Drop the conditional inclusion of config.hEmmanuele Bassi2021-05-012-4/+0
| | | | | | | | | | | | We *always* generate this file, and we depend on its existence. The idea behind HAVE_CONFIG_H was being able to include random files from different projects, back in a time where "libraries" were literally just random files instead of actual shared objects. Since we're not in the '80s any more, and our build system(s) define HAVE_CONFIG_H *and* generate the config.h header file, we don't need a conditional guard around its inclusion.
* Remove stray _GNU_SOURCE definitionsEmmanuele Bassi2021-05-011-2/+0
| | | | | | We define _GNU_SOURCE globally in both the Autotools build, through the use of the AC_USE_SYSTEM_EXTENSIONS macro; and in the Meson build, with add_project_arguments().
* meson: Define HAVE_CONFIG_H as a project flagEmmanuele Bassi2021-05-011-2/+1
| | | | | | | | Precisely what Autotools does, instead of adding it as per-target C argument. Once we remove HAVE_CONFIG_H checks in every source file, we'll be able to drop it.
* build: Include correct poll.hGeorge Matsumura2020-09-051-1/+8
| | | | | | | | | Including sys/poll.h when poll.h is available produces a compile warning on some systems, but only sys/poll.h is present on others such as AIX. This makes sure the most suitable poll.h is included in each situation. Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
* Add meson build definitionsMathieu Duponchelle2020-07-311-0/+26
| | | | | | | Co-Authored by: Nirbheek Chauhan <nirbheek@centricular.com> lb90 <luca.bacci982@gmail.com> Tim-Philipp Müller <tim@centricular.com>
* Bug 29319 - Modules are built as versioned shared objectsBehdad Esfahbod2016-09-021-1/+1
| | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=29319
* skip MAP_NORESERVE when unsupportedMichael Haubenwallner2015-03-051-0/+4
| | | | | | | Fixes a compilation on AIX ('MAP_NORESERVE' undeclared) Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=89340 Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
* sphinx: Add ickle's explanation of what sphinx doesBryce Harrington2014-09-241-0/+8
|
* cairo-sphinx: protect -ldl link with CAIRO_HAS_DL like in cairo-trace.Alexis Ballier2012-10-081-0/+2
| | | | Signed-off-by: Uli Schlachter <psychon@znc.in>
* boilerplate: Remove unused thread id parameterAndrea Canciani2011-11-121-1/+1
| | | | | The thread id is not used anymore (it is always == 0), so it can be removed.
* script: Fix script backend build.M Joonas Pihlaja2010-08-101-0/+1
| | | | | | The flight data recorders were missing an include of cairo-tee.h ever since cairo-tee.h became an optional backend.
* build: Rework pthread detection.M Joonas Pihlaja2010-07-112-1/+6
| | | | | | | | | | Use two levels of pthread support: a minimal level used to build cairo itself, and a full level to build threaded apps which want to use cairo. The minimal level tries to use pthread stubs from libc if possible, but falls back to the full level if that's not possible. We use CFLAGS=-D_REENTRANT LIBS=-lpthread to find a real pthread library since that seems to work on every unix-like test box we can get our hands on.
* build: Fix pthread detectionBenjamin Otte2010-05-131-3/+2
| | | | | | | | | Incorporate the pthread detection code from the autoconf archive. Should fix build on obscure archs that pretend to be UNIXy - like Mac OS X Tiger. http://www.gnu.org/software/autoconf-archive/ http://www.gnu.org/software/autoconf-archive/ax_pthread.html
* configure: check -lrt for shm_open()Chris Wilson2010-03-311-1/+1
| | | | | OS/X includes shm_open() in libc, and fails to link if -lrt is specified. So perform the appropriate configure time magic.
* Silence enumeration warnings following addition of RGB16_565Chris Wilson2010-03-301-0/+1
|
* api: Introduce CAIRO_FORMAT_INVALID formally in the API.M Joonas Pihlaja2010-03-011-3/+6
| | | | | | 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.
* script: Port cairo_script_context_t to cairo_device_tChris Wilson2010-01-222-11/+10
| | | | Use the unifying cairo_device_t for cairo_script_context_t and replace.
* perf: Enable a surface cache for perf-traceChris Wilson2010-01-221-1/+2
| | | | | | | | | | | | | | | | | | | | Real applications that control their Drawable externally to Cairo are 'disadvantaged' by cairo-perf-trace when it creates a similar surface for each new instance of the same Drawable. The difficulty in maintaining one perf surface for every application surface is that the traces do not track lifetimes for the application surfaces, so we would just accumulate stale surfaces. The surface cache takes a different approach and returns the same surface for each active Drawable, and maintains a hold-over of the MRU 16 surfaces. This achieves 60-80% hit rate with firefox, which is probably as good as can be expected. Obviously for double-buffered applications we only every draw to freshly created surfaces (and Gtk+ bypasses cairo to do the final copy -- the ideal application would just use a push-group for double buffering, in which case we would capture and replay the entire expose event). To enable use of the surface cache whilst replaying use -c: ./cairo-perf-trace -c firefox-talos-gfx
* sphinx: Add required pthread libsBenjamin Otte2009-11-021-2/+2
| | | | Try again, this time for real hopefully.
* sphinx: Add required pthread libsChris Wilson2009-11-021-2/+3
| | | | | Switching to pthread-stubs broke the build for sphinx on unbroken platforms [those that do not unnecessarily link against -lpthreads].
* [meta] Rename cairo_meta_surface_t to cairo_recording_surface_t.M Joonas Pihlaja2009-10-221-19/+19
| | | | | | | 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
* [tee] Rename 'append' to 'add' and add symmetric 'remove'Chris Wilson2009-09-011-1/+1
|
* Add cairo-sphinx utility for regression analysisChris Wilson2009-08-294-0/+1826
sphinx is an alternate version of the current cairo-test-trace. It's purpose is to replay a live application (which may just be a replay of a trace) against a backend and its reference. The improvement over the original cairo-test-trace is that the reference backend may be from an older version of cairo.