Commit 6ec1d2c0 authored by Chris Wilson's avatar Chris Wilson 🤔

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's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 02c0d20f
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment