mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
remove all fb->blit() calls
TODO: check if plugins etc. need extra treatment
This commit is contained in:
@@ -181,9 +181,6 @@ void cDvbSubtitleBitmaps::Draw(int &min_x, int &min_y, int &max_x, int &max_y)
|
||||
max_y = yoff + nh;
|
||||
}
|
||||
|
||||
if (Count()) /* sync framebuffer */
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
|
||||
// if(Count())
|
||||
// dbgconverter("cDvbSubtitleBitmaps::Draw: finish, min/max screen: x=% d y= %d, w= %d, h= %d\n", min_x, min_y, max_x-min_x, max_y-min_y);
|
||||
// dbgconverter("\n");
|
||||
@@ -269,7 +266,6 @@ void cDvbSubtitleConverter::Clear(void)
|
||||
// dbgconverter("cDvbSubtitleConverter::Clear: x=% d y= %d, w= %d, h= %d\n", min_x, min_y, max_x-min_x, max_y-min_y);
|
||||
if(running && (max_x-min_x > 0) && (max_y-min_y > 0)) {
|
||||
CFrameBuffer::getInstance()->paintBackgroundBoxRel (min_x, min_y, max_x-min_x, max_y-min_y);
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
/* reset area to clear */
|
||||
min_x = screen_w;
|
||||
min_y = screen_h;
|
||||
|
@@ -276,7 +276,6 @@ void ClearB(int color)
|
||||
{
|
||||
FillRect(0, 0, var_screeninfo.xres, var_screeninfo.yres, color); /* framebuffer */
|
||||
FillRect(0, var_screeninfo.yres, var_screeninfo.xres, var_screeninfo.yres, color); /* backbuffer */
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
}
|
||||
#endif
|
||||
int GetCurFontWidth()
|
||||
@@ -2837,7 +2836,6 @@ void Menu_Init(char *menu, int current_pid, int menuitem, int hotindex)
|
||||
national_subset = national_subset_bak;
|
||||
Menu_HighlightLine(menu, MenuLine[menuitem], 1);
|
||||
Menu_UpdateHotlist(menu, hotindex, menuitem);
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
}
|
||||
|
||||
void ConfigMenu(int Init)
|
||||
@@ -3427,7 +3425,6 @@ void ConfigMenu(int Init)
|
||||
break;
|
||||
}
|
||||
}
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
UpdateLCD(); /* update number of cached pages */
|
||||
} while ((RCCode != RC_HOME) && (RCCode != RC_DBOX) && (RCCode != RC_MUTE));
|
||||
|
||||
@@ -3727,7 +3724,6 @@ void PageCatching()
|
||||
RCCode = -1;
|
||||
return;
|
||||
}
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
UpdateLCD();
|
||||
} while (RCCode != RC_OK);
|
||||
|
||||
@@ -5195,7 +5191,6 @@ void DoFlashing(int startrow)
|
||||
}
|
||||
PosY += fontheight*factor;
|
||||
}
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
}
|
||||
|
||||
void RenderPage()
|
||||
@@ -5405,7 +5400,6 @@ void RenderPage()
|
||||
RenderCharFB(ns[0],&atrtable[ATR_WB]);
|
||||
RenderCharFB(ns[1],&atrtable[ATR_WB]);
|
||||
RenderCharFB(ns[2],&atrtable[ATR_WB]);
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
|
||||
tuxtxt_cache.pageupdate=0;
|
||||
}
|
||||
@@ -5655,7 +5649,6 @@ void CopyBB2FB()
|
||||
#else
|
||||
#ifdef HAVE_SPARK_HARDWARE
|
||||
f->blit2FB(lbb, var_screeninfo.xres, var_screeninfo.yres, 0, 0, 0, 0, true);
|
||||
f->blit();
|
||||
#else
|
||||
memcpy(lfb, lbb, fix_screeninfo.line_length*var_screeninfo.yres);
|
||||
#endif
|
||||
@@ -5755,7 +5748,6 @@ void CopyBB2FB()
|
||||
}
|
||||
#ifdef HAVE_SPARK_HARDWARE
|
||||
f->mark(0, 0, var_screeninfo.xres, var_screeninfo.yres);
|
||||
f->blit();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user