From 6b7cb9134b81efe787098f097a52db0f05760301 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 31 Oct 2021 13:24:47 -0400 Subject: [PATCH] cblit diagnostic --- src/lib/visual.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/visual.c b/src/lib/visual.c index ca0592056..fd5ed05a5 100644 --- a/src/lib/visual.c +++ b/src/lib/visual.c @@ -1018,7 +1018,7 @@ ncplane* ncvisual_render_cells(notcurses* nc, ncvisual* ncv, placey = 0; placex = 0; } -//fprintf(stderr, "blit: %dx%d:%d+%d of %d/%d stride %u %p\n", begy, begx, leny, lenx, ncv->pixy, ncv->pixx, ncv->rowstride, ncv->data); + logdebug("cblit: rows/cols: %dx%d plane: %d/%d pix: %d/%d\n", geom->rcelly, geom->rcellx, ncplane_dim_y(n), ncplane_dim_x(n), geom->rpixy, geom->rpixx); blitterargs bargs; bargs.transcolor = transcolor; bargs.begy = geom->begy; @@ -1093,7 +1093,7 @@ ncplane* ncvisual_render_pixels(notcurses* nc, ncvisual* ncv, const struct blits if(n == NULL){ return NULL; } - logdebug("cblit: rows/cols: %dx%d plane: %d/%d\n", geom->rcelly, geom->rcellx, ncplane_dim_y(n), ncplane_dim_x(n)); + logdebug("pblit: rows/cols: %dx%d plane: %d/%d\n", geom->rcelly, geom->rcellx, ncplane_dim_y(n), ncplane_dim_x(n)); if(n->sprite == NULL){ if((n->sprite = sprixel_alloc(&nc->tcache, n, geom->rcelly, geom->rcellx)) == NULL){ ncplane_destroy(createdn);