Hi, after commeting out onRenderingStarted and onRenderingEnded in Window::bufferGeometry(), I find the FPS increased from 33 to 60. I know only the windows really need redraw will bufferGeometry and fire these events. There are several windows update in every frame, but not too many. And there is not any handler functions connected to these events. Why does the events cost so much?
LCY.
Firing an event costs so much FPS?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Firing an event costs so much FPS?
lcy03406 wrote:Why does the events cost so much?
Who knows?!
CE
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
- DtD
- Just popping in
- Posts: 14
- Joined: Fri Oct 09, 2009 18:54
- Location: Kansas, United States
- Contact:
Re: Firing an event costs so much FPS?
It might be worth while to go down the stack and see what CEGUI is doing internally with those. See if some optimizations can be made.
~DtD
~DtD
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: Bing [Bot] and 1 guest