Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Soft Scrolling & CPU usage
From: for_spam_at_gmx.de
Date: 2003-01-03


> 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
whole
lcd_framebuffer being copied to GDRAM over and over again, i.e. a complete
display
refresh (lcd_update) is being done, which isn`t necessary

There already is a routine lcd_update_rect() for just updating a fraction of
the display.

Does someone know, why it isn`t being used for scrolling ? If there is no
reason,
perhaps i could try to update the code - but i`m no good programmer at all,
though :)
(hey, i produce lots of crappy code - it may work, but all your hair will
stand on end :D )

regards
Roland

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa