diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-16 21:08:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:39 +0100 |
commit | cd7b27ff5c01a533c2c065c4b455ad19df2be3bb (patch) | |
tree | e86d4600bfbfd420dcbd4545d610dd119cd37ec8 /src/cairo-scaled-font-private.h | |
parent | 658cdc7c9aac23f82f3ea5db8df10844aeb3ac75 (diff) |
Add 'flight-data-recorder' utility.
This is a simple variation on cairo-trace that wraps records the last 16
contexts by wrapping the target surface inside a tee surface, along with a
meta/recording surface. Then on receipt of a SIGUSR1, those last 16
contexts are played via a script-surface into /tmp/fdr.trace.
Mostly proof-of-concept, it seems to be causing a number of rendering
glitches whilst testing with firefox -- otherwise, it seems to works.
Diffstat (limited to 'src/cairo-scaled-font-private.h')
-rw-r--r-- | src/cairo-scaled-font-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-scaled-font-private.h b/src/cairo-scaled-font-private.h index dc16ea87..cdc3c73d 100644 --- a/src/cairo-scaled-font-private.h +++ b/src/cairo-scaled-font-private.h @@ -123,4 +123,7 @@ struct _cairo_scaled_font { const cairo_scaled_font_backend_t *backend; }; +cairo_private void +_cairo_scaled_font_revoke_ownership (cairo_scaled_font_t *scaled_font); + #endif /* CAIRO_SCALED_FONT_PRIVATE_H */ |