diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-08-14 18:11:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-08-14 20:54:53 +0100 |
commit | eee66899cdbd2d431b08b468ac2b285bb855e6da (patch) | |
tree | 08deff81060ee06329c1d5b77989713e21207502 /build | |
parent | f6fc6f1ad0315d51b6b395749f8035fb7dcccbbc (diff) |
Introduce cairo_surface_observer_t for performance analysis
Another logging passthrough surface that records the style of operations
performed trying to categorise what is slow/fast/important.
In combination with perf/cairo-analyse-trace it is very useful for
understanding what a trace does. The next steps for this tool would be
to identify the slow operations that the trace does. Baby steps.
This should be generally useful in similar situations outside of perf/
and should be extensible to become an online performance probe.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'build')
-rw-r--r-- | build/Makefile.win32.features-h | 1 | ||||
-rw-r--r-- | build/configure.ac.features | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/build/Makefile.win32.features-h b/build/Makefile.win32.features-h index e35cc6c5e..e49ad6e6d 100644 --- a/build/Makefile.win32.features-h +++ b/build/Makefile.win32.features-h @@ -100,6 +100,7 @@ ifeq ($(CAIRO_HAS_TEST_SURFACES),1) endif @echo "#define CAIRO_HAS_IMAGE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h @echo "#define CAIRO_HAS_RECORDING_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h + @echo "#define CAIRO_HAS_OBSERVER_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h ifeq ($(CAIRO_HAS_TEE_SURFACE),1) @echo "#define CAIRO_HAS_TEE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h endif diff --git a/build/configure.ac.features b/build/configure.ac.features index 4cccd9cf3..4f774e308 100644 --- a/build/configure.ac.features +++ b/build/configure.ac.features @@ -365,6 +365,7 @@ AC_DEFUN([CAIRO_REPORT], echo "The following surface backends:" echo " Image: yes (always builtin)" echo " Recording: yes (always builtin)" + echo " Observer: yes (always builtin)" echo " Tee: $use_tee" echo " XML: $use_xml" echo " Skia: $use_skia" |