|
|
Rockbox mail archiveSubject: Re: Possible optimizations for coldfireRe: Possible optimizations for coldfire
From: Daniel Stenberg <daniel_at_rockbox.org>
Date: 2006-04-20
On Thu, 20 Apr 2006, RaeNye wrote:
Hey
Nice to see a new face digging into core details!
> 1. Currently each PutPixel costs 2 mem reads, 4 mem writes and some shifts
You're talking X5's lcd driver here. Just pointing this out to the audience.
> Would double-buffering help?
It certainly might, but it would possibly also make it worse for the cases
> How can this be profiled, btw?
I suggest:
Pick a plugin that does lots of things on screen (like plasma or perhaps Doom)
I know Jens Arnold has a few (other) ideas on how to improve this driver.
> 2. I might be terribly wrong, but can we shut down all GUI code when the
We've discussed this in the past but we haven't made it do this yet. The
On the X5 we don't even switch off the LCD atm when the backlight goes off...
> 3. GNU's memcpy() and memset() are not using all possible registers
We don't use GNU's versions, we use Jens'! Are you referring to our versions
> The iAudio firmware contains smaller and faster versions, which *I* cannot
You can still _read_ other code and being inspired by that improve other code
-- Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/Received on Thu Apr 20 00:29:49 2006 Page was last modified "Jan 10 2012" The Rockbox Crew |