Fix osd error on nevis

Origin commit data
------------------
Branch: ni/coolstream
Commit: 87e6f328dd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-27 (Wed, 27 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-27 10:04:19 +01:00
parent 36d8afd1dc
commit 8f75b392c0
2 changed files with 3 additions and 0 deletions

View File

@@ -2030,6 +2030,7 @@ void CFrameBuffer::blitBox2FB(const fb_pixel_t* boxBuf, uint32_t width, uint32_t
_write_gxa(gxa_base, cmd, GXA_POINT(xc, yc));
_write_gxa(gxa_base, cmd, GXA_POINT(0, 0));
//printf("\033[33m>>>>\033[0m [%s:%s:%d] USE_NEVIS_GXA x: %d, y: %d, w: %d, h: %d\n", __file__, __func__, __LINE__, xoff, yoff, xc, yc);
add_gxa_sync_marker();
checkFbArea(xoff, yoff, xc, yc, false);
return;
}

View File

@@ -407,6 +407,8 @@ void CInfoViewerBB::showBBButtons(bool paintFooter)
frameBuffer->SaveScreen(buf_x, buf_y, buf_w, buf_h, pixbuf);
paintFoot();
if (pixbuf != NULL) {
if (g_settings.theme.infobar_gradient_bottom)
frameBuffer->waitForIdle("CInfoViewerBB::showBBButtons");
frameBuffer->RestoreScreen(buf_x, buf_y, buf_w, buf_h, pixbuf);
delete [] pixbuf;
}