projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02c0d20
)
overlay: Align the process names in the memory table
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 26 Aug 2013 22:32:07 +0000
(23:32 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 26 Aug 2013 22:39:01 +0000
(23:39 +0100)
And use a shade of gray to distinguish from the total instead.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
overlay/overlay.c
patch
|
blob
|
history
diff --git
a/overlay/overlay.c
b/overlay/overlay.c
index
f0d8a49
..
27281fd
100644
(file)
--- 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;