|
Rockbox mail archiveSubject: Re: Soft Scrolling & CPU usageRe: Soft Scrolling & CPU usage
From: <for_spam_at_gmx.de>
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 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!Received on 2003-01-03 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |