Support and General Use > Theming and Appearance Customization
Code Optimization - Spacer Images
(1/1)
DrewVosburg:
I have been working on a theme update, and things are behaving the way i want them to. I am now refactoring, and I have a few questions as far as system load goes.
There are several instances where I need white rectangles of various sizes. I have .bmp files of each size i need, but each image into the biggest image's resolution.
Is it better RAM-wise to load different images of correct sizes, or to load the larger image into correct-sized viewports? Right now I'm actually going to guess the latter, since I only have to load (i'm assuming, load into RAM?) the image file once, whereas with multiple files, I have to load each one into RAM.
I'm not hitting any technical limits, but obviously I want as little load on the player as possible.
Progweed:
I wouldn't worry about that, because the skin buffers size is static anyway. As long as you don't exceed the limits there shouldn't be a problem.
DrewVosburg:
What is it in a theme adds to the skin buffer size? I am working on what I would consider a fairly simple theme, but i'm already using a lot of skin RAM...
EDIT: Figured it out. I was loading images for each screen (.wps, .sbs, and .fms) when i can just display the .sbs all the time. cut the skin buffer in half!
Navigation
[0] Message Index
Go to full version