remove all fb->blit() calls

TODO: check if plugins etc. need extra treatment
This commit is contained in:
Stefan Seyfried
2013-09-28 13:01:03 +02:00
parent 116aba09b0
commit c68ffa2155
39 changed files with 6 additions and 147 deletions

View File

@@ -809,13 +809,10 @@ void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, con
infoViewerBB->showIcon_RadioText(false);
}
if (!calledFromNumZap) {
//loop(fadeValue, show_dot , fadeIn);
loop(show_dot);
}
else
frameBuffer->blit();
aspectRatio = 0;
fileplay = 0;
}
@@ -855,7 +852,6 @@ void CInfoViewer::loop(bool show_dot)
CVolume::getInstance()->showVolscale();
while (!(res & (messages_return::cancel_info | messages_return::cancel_all))) {
frameBuffer->blit();
g_RCInput->getMsgAbsoluteTimeout (&msg, &data, &timeoutEnd);
#ifdef ENABLE_PIP
@@ -1132,10 +1128,8 @@ void CInfoViewer::showRadiotext()
if (g_Radiotext->RT_Text[i][0] != '\0') lines++;
}
if (lines == 0)
{
frameBuffer->paintBackgroundBox(rt_x, rt_y, rt_w, rt_h);
frameBuffer->blit();
}
if (g_Radiotext->RT_MsgShow) {
if (g_Radiotext->S_RtOsdTitle == 1) {
@@ -1150,7 +1144,6 @@ void CInfoViewer::showRadiotext()
frameBuffer->paintBoxRel(rt_x+SHADOW_OFFSET, rt_y+SHADOW_OFFSET, rt_dx, rt_dy, COL_INFOBAR_SHADOW_PLUS_0, RADIUS_LARGE, CORNER_TOP);
frameBuffer->paintBoxRel(rt_x, rt_y, rt_dx, rt_dy, COL_INFOBAR_PLUS_0, RADIUS_LARGE, CORNER_TOP);
g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->RenderString(rt_x+10, rt_y+ 30, rt_dx-20, stext[0], COL_INFOBAR_TEXT, 0, RTisIsUTF); // UTF-8
frameBuffer->blit();
}
// yoff = 17;
ii = 1;
@@ -1197,7 +1190,6 @@ void CInfoViewer::showRadiotext()
for (int i = g_Radiotext->S_RtOsdRows-1; i > ind; i--)
g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->RenderString(rts_x, rts_y + (ii++)*rt_dy, rts_dx, g_Radiotext->RT_Text[i], COL_INFOBAR_TEXT, 0, RTisIsUTF); // UTF-8
}
frameBuffer->blit();
}
#if 0
// + RT-Plus or PS-Text = 2 rows
@@ -1926,7 +1918,6 @@ void CInfoViewer::killTitle()
}
killInfobarText();
frameBuffer->blit();
}
showButtonBar = false;
}