Performance question regarding percentages.
#1
How much of a speed difference would using percentages for nearly all positions/dimensions be in a skin?

Thanks.
Reply
#2
If you could measure it you'd be doing well IMO. It's a multiplication on skin load and that's it. Compared to the thousands of other commands executed for each control, it'll be well and truly in the noise.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
That's all I needed to know before starting another skin. Wink

Thanks.
Reply
#4
@jmarshall - this sounds like it's a one time conversion/calculation on load, but what about window resizing? Won't the percentages adjust to the new window dimensions?
Reply
#5
If XBMCs window is resized, then all that happens is the final scaling from "skin resolution" to screen coordinates changes. That's done regardless of the coordinate system used in the skin.

At the moment there is no "dynamic" positioning should group controls change their size/positioning etc.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Performance question regarding percentages.0