theuni/xbmc — comment on commit 353d79bbad6664ba6552502ba397987f043ae711
File: xbmc/guilib/GUITexture.cpp line 316
By jmarshallnz:

This isn't really good enough, unfortunately. You need to scale m_width and m_height by whatever transform is in play. Generally you need only multiply by the skin res -> screen res scaling (eg skin may be coded in 720p coords, screen may be 1080p, so need to scale by 4/3).

This presents another problem - the first requested size is the one loaded subsequently (assuming the same texture is used across multiple controls). This may be a theoretical problem mainly - not sure (does Confluence settings use the same images for the settings screen as it does for backdrops on home?)

A way to fix might be to use path,width,height combined as the key in the largetexturemanager map. Might have to restrict the sizes somewhat (to powers of 2 of the actual image size perhaps?)