diff --git a/src/driver/fbaccel.h b/src/driver/fbaccel.h index d40176d86..965df48c9 100644 --- a/src/driver/fbaccel.h +++ b/src/driver/fbaccel.h @@ -56,6 +56,7 @@ class CFbAccel #endif /* USE_NEVIS_GXA */ void setColor(fb_pixel_t col); void run(void); + void blit(void); void _blit(void); bool blit_thread; bool blit_pending; @@ -84,7 +85,6 @@ class CFbAccel void blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff, uint32_t xp, uint32_t yp, bool transp); void waitForIdle(void); void mark(int x, int y, int dx, int dy); - void blit(); void update(); #ifdef USE_NEVIS_GXA void setupGXA(void); diff --git a/src/driver/framebuffer_ng.cpp b/src/driver/framebuffer_ng.cpp index 91a642174..ce64c8a97 100644 --- a/src/driver/framebuffer_ng.cpp +++ b/src/driver/framebuffer_ng.cpp @@ -785,7 +785,6 @@ bool CFrameBuffer::paintIcon8(const std::string & filename, const int x, const i } close(lfd); accel->mark(x, y, x + width, y + height); - accel->blit(); return true; } @@ -1092,7 +1091,6 @@ void CFrameBuffer::paintBackground() memmove(((uint8_t *)getFrameBufferPointer()) + i * stride, (background + i * BACKGROUNDIMAGEWIDTH), BACKGROUNDIMAGEWIDTH * sizeof(fb_pixel_t)); checkFbArea(0, 0, xRes, yRes, false); accel->mark(0, 0, xRes, yRes); - accel->blit(); } else { @@ -1143,7 +1141,6 @@ void CFrameBuffer::RestoreScreen(int x, int y, int dx, int dy, fb_pixel_t * cons bkpos += dx; } accel->mark(x, y, x + dx, y + dy); - accel->blit(); checkFbArea(x, y, dx, dy, false); }