Hi, we need a layout which has many widgets and 4 layouts in it.
This is 1 StaticImage which has 6 StaticTexts on it:
And there is a PushButton above this image for click.
We have ten of above widget in a Tab load by TabControl, and we have 4 tabs(layouts).
When we load the TabControl using release version,the performance killed.
Couldn't we put so many items on it?
too many widgets causes performance problems?
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
The number shouldn't be real issue... unless you often make modifications to one or more widgets. For example if you change the text values each frame, then things get expensive. If that's the case, try to only set new text when different then the current value.
Please let us know your progress on this, since now and then performance threads pop up
Please let us know your progress on this, since now and then performance threads pop up
Check out my released snake game using Cegui!
one of the reasons seems to be the tiled problem...
I create another layout which has no StaticText.
There is 1 FrameWindow with 3 buttons on it,
and i add 1 StaticImage above it, which is tiled,
then lag appears.
ps.i modified the FrameWindow widget's top,left,right,bottom and background edges to be tiled, so did the TabControl.
i'll keep trying.
I create another layout which has no StaticText.
There is 1 FrameWindow with 3 buttons on it,
and i add 1 StaticImage above it, which is tiled,
then lag appears.
ps.i modified the FrameWindow widget's top,left,right,bottom and background edges to be tiled, so did the TabControl.
i'll keep trying.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 16 guests