I have implemented a deferred renderer for some time and now i started to profile a little.
Right now I am kind of dissappointed for the following reason:
My test scene looks like this, some Geometry with 100 pointlights moving in circles:
The values for rendering buffers and lights and updating are ok by me.
It throws me off that the Present call consumes that much time. Im calling it this way: Present(0, 0) - so it should be rendered as fast as possible.
Here are the Profiling results:
|Update/Render||8.1||4.7||(Time updating the scene and rendering combined just for doublechecking)|
|Present||57.5||30||(The SwapChain::Present call)|
|UpdateScene||3.7||2.2||(Updating scene only)|
|UpdateLights||0.5||0.3||(Updating light buffers)|
|SSAO||1.5||1.0||(Rendering SSAO + Blur)|
Edited by Wh0p, 04 October 2013 - 11:55 AM.