Improve handling of streaming drivers with a setpos and a fillarea acceleration
This commit is contained in:
parent
e6721f70a0
commit
5c84885995
2 changed files with 13 additions and 1 deletions
|
@ -18,7 +18,7 @@ Nokia6610GE12 - Small (130x130) 12bit color LCD (untested)
|
||||||
PCD8544 - Small monochrome LCD
|
PCD8544 - Small monochrome LCD
|
||||||
PCF8812 - Small monochrome LCD
|
PCF8812 - Small monochrome LCD
|
||||||
R61505U - Mid-sized color LCD displays eg RGB565 320x240
|
R61505U - Mid-sized color LCD displays eg RGB565 320x240
|
||||||
RA6963 - Small monochrom LCD
|
RA6963 - Small monochrome LCD
|
||||||
RA8875 - Mid-sized color LCD displays eg RGB565 320x240
|
RA8875 - Mid-sized color LCD displays eg RGB565 320x240
|
||||||
S6D1121 - Mid-sized color LCD displays eg RGB565 320x240
|
S6D1121 - Mid-sized color LCD displays eg RGB565 320x240
|
||||||
SPFD54124B - Mid-sized color LCD displays eg RGB565 320x240
|
SPFD54124B - Mid-sized color LCD displays eg RGB565 320x240
|
||||||
|
|
|
@ -179,6 +179,12 @@ static GFXINLINE void fillarea(GDisplay *g) {
|
||||||
if (gvmt(g)->fill)
|
if (gvmt(g)->fill)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
#if GDISP_HARDWARE_STREAM_POS && GDISP_HARDWARE_STREAM_WRITE
|
||||||
|
if ((g->flags & GDISP_FLG_SCRSTREAM)) {
|
||||||
|
gdisp_lld_write_stop(g);
|
||||||
|
g->flags &= ~GDISP_FLG_SCRSTREAM;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
gdisp_lld_fill_area(g);
|
gdisp_lld_fill_area(g);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -363,6 +369,12 @@ static void vline_clip(GDisplay *g) {
|
||||||
if (gvmt(g)->fill)
|
if (gvmt(g)->fill)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
#if GDISP_HARDWARE_STREAM_POS && GDISP_HARDWARE_STREAM_WRITE
|
||||||
|
if ((g->flags & GDISP_FLG_SCRSTREAM)) {
|
||||||
|
gdisp_lld_write_stop(g);
|
||||||
|
g->flags &= ~GDISP_FLG_SCRSTREAM;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
g->p.cy = g->p.y1 - g->p.y + 1;
|
g->p.cy = g->p.y1 - g->p.y + 1;
|
||||||
g->p.cx = 1;
|
g->p.cx = 1;
|
||||||
gdisp_lld_fill_area(g);
|
gdisp_lld_fill_area(g);
|
||||||
|
|
Loading…
Add table
Reference in a new issue