summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-27 15:42:48 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-27 15:43:38 +0100
commitb1d2a78a5db34e835a323364328263f5f4c605ce (patch)
tree95ed89e9b2f46aeeb6ee07cf842e7db31587691c /overlay
parent65d2481900c619846eddadb85086edbc578d6c17 (diff)
overlay: Restore the correct default font size
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r--overlay/overlay.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c
index 1cdf7391..08b90aef 100644
--- a/overlay/overlay.c
+++ b/overlay/overlay.c
@@ -536,8 +536,8 @@ static void show_gpu_freq(struct overlay_context *ctx, struct overlay_gpu_freq *
y1 = y2 = y;
if (has_freq) {
- y2 += 14;
- y2 += 10;
+ y2 += 12;
+ y2 += 12;
}
if (has_rc6)
y2 += 14;
@@ -565,16 +565,16 @@ static void show_gpu_freq(struct overlay_context *ctx, struct overlay_gpu_freq *
sprintf(buf + len, " (requested %dMHz)", gf->gpu_freq.request);
cairo_move_to(ctx->cr, PAD, y);
cairo_show_text(ctx->cr, buf);
- y += 14;
+ y += 12;
cairo_text_extents(ctx->cr, "Frequency: ", &extents);
- cairo_set_font_size(ctx->cr, 10);
+ cairo_set_font_size(ctx->cr, 8);
sprintf(buf, " min: %dMHz, max: %dMHz", gf->gpu_freq.min, gf->gpu_freq.max);
cairo_set_source_rgba(ctx->cr, .8, .8, .8, 1);
cairo_move_to(ctx->cr, PAD + extents.width, y);
cairo_show_text(ctx->cr, buf);
- cairo_set_font_size(ctx->cr, 12);
+ cairo_set_font_size(ctx->cr, 10);
y += 12;
}
@@ -701,10 +701,10 @@ static void show_gem_objects(struct overlay_context *ctx, struct overlay_gem_obj
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;
+ y += 12;
cairo_set_source_rgba(ctx->cr, .8, .8, .8, 1);
- cairo_set_font_size(ctx->cr, 10);
+ cairo_set_font_size(ctx->cr, 8);
for (comm = go->gem_objects.comm; comm; comm = comm->next) {
if ((comm->bytes >> 20) == 0)
break;