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: 6,501
Joined: Mar 2009
Reputation: 135
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.

Donate: https://kodi.tv/contribute/donate (foundation), 14CmofXb2PDohNqKtaBYRcMtQV3BBWrLNB (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote
Hitcher Offline
Team-Kodi Member
Posts: 13,022
Joined: Aug 2007
Reputation: 191
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: 6,501
Joined: Mar 2009
Reputation: 135
Location: Cologne, Germany
Post: #3
sounds good. didn´t know that one before. is that the optimal solution?

Donate: https://kodi.tv/contribute/donate (foundation), 14CmofXb2PDohNqKtaBYRcMtQV3BBWrLNB (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
find quote