diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-26 23:32:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-26 23:39:01 +0100 |
commit | 6ec1d2c0ae631a3c0af445d4baa53561228be9a5 (patch) | |
tree | 241309a4fa834942fbedd0723c67b1b317816757 | |
parent | 02c0d20fa87aaad4b791407e4eb3eaf4d6079de6 (diff) |
overlay: Align the process names in the memory table
And use a shade of gray to distinguish from the total instead.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | overlay/overlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c index f0d8a49a..27281fd6 100644 --- a/overlay/overlay.c +++ b/overlay/overlay.c @@ -689,13 +689,13 @@ static void show_gem_objects(struct overlay_context *ctx, struct overlay_gem_obj cairo_show_text(ctx->cr, buf); y += 14; + cairo_set_source_rgba(ctx->cr, .8, .8, .8, 1); for (comm = go->gem_objects.comm; comm; comm = comm->next) { if ((comm->bytes >> 20) == 0) break; - sprintf(buf, " %s %ldMB, %ld objects", + sprintf(buf, "%s %ldMB, %ld objects", comm->name, comm->bytes >> 20, comm->count); - cairo_set_source_rgba(ctx->cr, 1, 1, 1, 1); cairo_move_to(ctx->cr, x, y); cairo_show_text(ctx->cr, buf); y += 14; |