Rockbox mail archive
Subject: Re: Scrolling thread on iriver
Re: Scrolling thread on iriver
> You could possibly save the shifting, but not the masking.
> might be a bit more efficient, but imho not that much.
> It would also require additional code in lcd_bitmap(), since
> the current implementation always starts reading at bit 0 in
> the source bitmap.
Yep - because that would be necessary for any kind of 'partial blit' routine
> Btw, the jerky scrolling you observed is certainly not a problem
> with the lcd code performance, but rather caused by other
> threads not yielding frequently enough. Rockbox uses a simple
> cooperative round-robin scheduler, and if even one single thread
> holds the cpu for too long, the scrolling can't be smooth.
Totally agree. So the less time the scroll thread itself requires, the
earlier those other threads can take a chance at running, which would
increase the chance of smooth scrolling ;-)
> Regards, Jens
Received on Tue Jun 14 22:08:30 2005
Page was last modified "Jan 10 2012" The Rockbox Crew