summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2014-03-20 17:17:13 +0000
committerRussell King <rmk@arm.linux.org.uk>2014-03-20 17:17:13 +0000
commitbaa5de5b81ff8dfd51b22334cb0a78cc44d2a859 (patch)
treecefa6da54205a1078713c3c71577408e3dbcada1
parentba36833fb4003407d2e895aa58536f0841a9a464 (diff)
downloadxf86-video-armada-baa5de5b81ff8dfd51b22334cb0a78cc44d2a859.tar.gz
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 <rmk@arm.linux.org.uk>
-rw-r--r--src/vivante_accel.c5
1 files changed, 1 insertions, 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);