Support and General Use > Theming and Appearance Customization
Is there any way to tell how much memory a theme is taking up?
akadewboy:
I'm trying to code a memory efficent WPS theme, and I was wondering if there's anyway to tell how much memory a particular WPS takes up.
Bagder:
All WPSes use the exact same amount of memory since the buffers reserved in Rockbox are fixed-size...
akadewboy:
Oh ok I guess I can be as sloppy as I want then ;)
One more question, do transparent pixels (255, 0, 255) in images fill up the buffer and take up memory or are they just skipped over?
bascule:
--- Quote from: akadewboy on September 12, 2007, 05:05:59 AM ---Oh ok I guess I can be as sloppy as I want then ;)
--- End quote ---
Well, no you can't, because if you exceed the buffer, you will just lose your WPs content after that point. For example:
The first picture is my current WPS. If I replace the standard progress bar with a text-based one using %?px, then I start to lose some of the graphics ...
[attachment deleted by admin for age]
akadewboy:
Yes I understand that, but if my WPS works fine now, there's no reason for me to go over it with a fine tooth comb to make it more memory efficent. I'll just leave it all sloppy.
I'm still curious if transparent pixels are loaded into memory or just skipped over. Anyone know the answer?
Navigation
[0] Message Index
[#] Next page
Go to full version