We need to create some windows on the fly. Now we are using WindowManager::loadWindowLayout() to do it. Because it accesses hard disk, or for some other reasons besides, we are suffering performance problem.
Is there any good methods to create windows from layout config in real time?
How to create windows from layout without accessing disk?
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 3
- Joined: Fri Aug 20, 2010 06:41
Re: How to create windows from layout without accessing disk
You haven't posted any logs / version info, so I assume you are on 0.7.5
Perhaps cloning might be of help? You load the layout once and then just clone it to get as many instances as you need.
http://www.cegui.org.uk/wiki/index.php/Performance_tips
Perhaps cloning might be of help? You load the layout once and then just clone it to get as many instances as you need.
http://www.cegui.org.uk/wiki/index.php/Performance_tips
-
- Just popping in
- Posts: 3
- Joined: Fri Aug 20, 2010 06:41
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests