cairo_set_source_rgb(ctx->cr, 1, 1, 1);
- y = 12;
+ y = 12 + 12 - 2;
cairo_set_source_rgba(ctx->cr, 0.75, 0.25, 0.75, 1.);
cairo_move_to(ctx->cr, 12, y);
sprintf(txt, "CPU: %d%% busy", gt->cpu_top.busy);
gpu_perf_update(&gp->gpu_perf);
- y = 12;
+ y = 12 + 12 - 2;
x = ctx->width/2 + 12;
for (comm = gp->gpu_perf.comm; comm; comm = comm->next) {
chart_draw(&gf->request, ctx->cr);
chart_draw(&gf->current, ctx->cr);
- y = ctx->height/2 + 6;
+ y = ctx->height/2 + 6 + 12 - 2;
len = sprintf(buf, "Frequency: %dMHz", gf->gpu_freq.current);
if (gf->gpu_freq.request)
sprintf(buf + len, " (requested %dMHz)", gf->gpu_freq.request);
chart_draw(&go->gtt, ctx->cr);
chart_draw(&go->aperture, ctx->cr);
- y = ctx->height/2 + 6;
+ y = ctx->height/2 + 6 + 12 - 2;
x = ctx->width/2 + 12;
sprintf(buf, "Total: %ldMB, %d objects",
go->gem_objects.total_bytes >> 20, go->gem_objects.total_count);