summaryrefslogtreecommitdiff
path: root/src/cairo-surface-observer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-08-15 11:06:17 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-08-15 11:27:54 +0100
commit7ad4c8e711cc4bdae7b22332fb2d4d95ad484e79 (patch)
treeabda06e1e608a051e2dfac36032949d496e6f2c2 /src/cairo-surface-observer.c
parent545f30856aac98199a49cf66c72dbcb66c1f3a4f (diff)
downloadcairo-7ad4c8e711cc4bdae7b22332fb2d4d95ad484e79.tar.gz
observer: report number of solid patterns first
As these tend to be the quickest, and putting them first keeps the reports are in an estimated fast->slow order. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-surface-observer.c')
-rw-r--r--src/cairo-surface-observer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-surface-observer.c b/src/cairo-surface-observer.c
index ca1190954..3db6b8c0b 100644
--- a/src/cairo-surface-observer.c
+++ b/src/cairo-surface-observer.c
@@ -876,12 +876,12 @@ print_pattern (cairo_output_stream_t *stream,
const struct pattern *p)
{
_cairo_output_stream_printf (stream,
- " %s: %d native, %d record, %d other surface, %d solid, %d linear, %d radial, %d mesh\n",
+ " %s: %d solid, %d native, %d record, %d other surface, %d linear, %d radial, %d mesh\n",
name,
+ p->type[3], /* solid first */
p->type[0],
p->type[1],
p->type[2],
- p->type[3],
p->type[4],
p->type[5],
p->type[6]);