mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
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>
This commit is contained in:
parent
02c0d20fa8
commit
6ec1d2c0ae
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user