diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-08 17:38:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-08 17:38:14 +0100 |
commit | 09492288b33c36093e50d39e4e7e632ab659a0e2 (patch) | |
tree | bdb3b5c5c07fe8c551658436b9cf41c0fd65cb3f /util | |
parent | 39bac6edddb8913d07fb25f14f088967ca846a78 (diff) |
[trace] Option to re-enable mark-dirty
Applications such as swfdec have a strictly correct use of mark-dirty and
so we need an option to re-enable mark-dirty tracing in conjunction with
--profile.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/cairo-trace.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/cairo-trace/cairo-trace.in b/util/cairo-trace/cairo-trace.in index 8a1e1b81a..16cdad62e 100644 --- a/util/cairo-trace/cairo-trace.in +++ b/util/cairo-trace/cairo-trace.in @@ -20,6 +20,7 @@ Whatever else happens is driven by its argument: --no-file - Disable the creation of an output file. Outputs to the terminal instead. --no-callers - Do not lookup the caller address/symbol/line whilst tracing. + --mark-dirty - Record image data for cairo_mark_dirty() [default] --no-mark-dirty - Do not record image data for cairo_mark_dirty() --compress - Compress the output with LZMA --profile - Combine --no-callers and --no-mark-dirty and --compress @@ -47,6 +48,10 @@ while test $skip -eq 1; do skip=1 nocallers=1 ;; + --mark-dirty) + skip=1 + nomarkdirty= + ;; --no-mark-dirty) skip=1 nomarkdirty=1 |