Different Handling for Skin Backgrounds

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
phil65 Offline
Team-Kodi Developer
Posts: 5,938
Joined: Mar 2009
Reputation: 110
Location: Cologne, Germany
Post: #1
Ok, I´ll try to explain...
atm the active window gets completely unloaded when changing windows (including background)
if you have the actual running movie as background this leads to stuttering when changing windows.
a proposal (if that would solve these issues):
having a seperate xml which is shown under all other windows which manages the backgrounds and doesn´t get unloaded on window change.
I´m not even sure if this could improve improve performance, that´s why I´m askin.
find quote
Hitcher Offline
Skilled Skinner
Posts: 12,239
Joined: Aug 2007
Reputation: 156
Location: Eastleigh, UK
Post: #2
I use <backgroundcolor>0</backgroundcolor>.

Quote:backgroundcolor
Specifies whether the window needs clearing prior to rendering, and if so which colour to use. Defaults to clearing to black. Set to 0 (or 0x00000000) to have no clearing at all. If your skin always renders opaque textures over the entire screen (eg using a backdrop image or multiple backdrop images) then setting the background color to 0 is the most optimal value and may improve performance significantly on slow GPUs.
find quote
phil65 Offline
Team-Kodi Developer
Posts: 5,938
Joined: Mar 2009
Reputation: 110
Location: Cologne, Germany
Post: #3
sounds good. didn´t know that one before. is that the optimal solution?
find quote