From baa5de5b81ff8dfd51b22334cb0a78cc44d2a859 Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 20 Mar 2014 17:17:13 +0000 Subject: Tidy up commented out gcoHAL_Commit() and indentation Tidy up the code a little by removing these unnecessary calls to gcoHAL_Commit(), and fix the indentation in vivante_fill(). Signed-off-by: Russell King --- src/vivante_accel.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vivante_accel.c b/src/vivante_accel.c index fd3bf8b..c94ae88 100644 --- a/src/vivante_accel.c +++ b/src/vivante_accel.c @@ -466,7 +466,7 @@ static Bool vivante_fill(struct vivante *vivante, struct vivante_pixmap *vPix, chunk = nBox; for (i = 0, r = rects; i < chunk; i++, r++, b++) - RectBox(r, b, 0, 0); + RectBox(r, b, 0, 0); err = gco2D_Blit(vivante->e2d, chunk, rects, rop, rop, vPix->format); if (err) @@ -478,7 +478,6 @@ static Bool vivante_fill(struct vivante *vivante, struct vivante_pixmap *vPix, if (err != gcvSTATUS_OK) vivante_error(vivante, "Blit", err); -// gcoHAL_Commit(vivante->hal, FALSE); vivante_batch_add(vivante, vPix); @@ -738,8 +737,6 @@ void vivante_accel_CopyNtoN(DrawablePtr pSrc, DrawablePtr pDst, if (err != gcvSTATUS_OK) vivante_error(vivante, "Blit", err); -// gcoHAL_Commit(vivante->hal, FALSE); - vivante_batch_add(vivante, vSrc); vivante_batch_add(vivante, vDst); -- cgit v1.2.3