Page 1 of 1

Firing an event costs so much FPS?

Posted: Tue Oct 20, 2009 01:09
by lcy03406
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.

Re: Firing an event costs so much FPS?

Posted: Tue Oct 20, 2009 08:46
by CrazyEddie
lcy03406 wrote:Why does the events cost so much?


Who knows?!

CE

Re: Firing an event costs so much FPS?

Posted: Tue Oct 20, 2009 08:53
by lcy03406
:shock:

Re: Firing an event costs so much FPS?

Posted: Tue Nov 17, 2009 00:15
by DtD
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