2009-07-12, 01:24
Came across this while looking up some skinning code..http://wiki.xbmc.org/?title=MultiImage_Control
Don't know if that passage is just for multiimage control or images in general but it might help with the xbox.
Quote:Images should be as close as possible to the nearest highest power of 2 in width and height. The reason for this is XBMC uses swizzled textures which are quicker to render and quicker to load once they're compressed into the Textures.xpr file. Note that the image does not need to be square, and will not be scaled into a power of 2 size. Rather, any pixels outside of a power of two size will simply be dead space (wasted memory). For example, an image of size 513x513 pixels will use 4 times the memory as one of size 512x512. The XBMCTex program that does the image injection into Textures.xpr will warn you of this, but it pays to know it before you start.
Don't know if that passage is just for multiimage control or images in general but it might help with the xbox.