Rockbox mail archiveSubject: Re: Soft Scrolling & CPU usage
Re: Soft Scrolling & CPU usage
Date: Fri, 3 Jan 2003 03:50:00 +0100 (MET)
> That is exactly what we do today. The lcd_update() function is what does
> the copying from the frame buffer to GDRAM.
> > Perhaps, this would make it necessary to some major rewrite of the lcd
> > display
> > manipulation routines - but perhaps this could led to overall better
> > performance and free some cpu-cycles.
> > What do you think ?
> Sure. Go ahead! :-)
ok - if I see right, if just one line of text is scrolled with 10Hz, the
lcd_framebuffer being copied to GDRAM over and over again, i.e. a complete
refresh (lcd_update) is being done, which isn`t necessary
There already is a routine lcd_update_rect() for just updating a fraction of
Does someone know, why it isn`t being used for scrolling ? If there is no
perhaps i could try to update the code - but i`m no good programmer at all,
(hey, i produce lots of crappy code - it may work, but all your hair will
stand on end :D )
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!Received on 2003-01-03