History

Exposing the gpu RangeTimer counter for the AO effect

samcake committed 10 years ago

Commit 93c7c181 parent 10de1ac9 files · +42 −13Browse files

Showing the changes to interface/src/Application.cpp (1 of 9 files). Show all

Unified · Split

interface/src/Application.cpp+2−0
@@ -3853,6 +3853,8 @@ void Application::displaySide(RenderArgs* renderArgs, Camera& theCamera, bool se · 3852 unmodified lines
3853 3853
3854 auto engineContext = _renderEngine->getRenderContext();3854 auto engineContext = _renderEngine->getRenderContext();
3855 renderInterface->setItemCounts(engineContext->getItemsConfig());3855 renderInterface->setItemCounts(engineContext->getItemsConfig());
3856 renderInterface->setJobGPUTimes(engineContext->getAmbientOcclusion().gpuTime);
3857
3856 }3858 }
3857 3859
3858 activeRenderingThread = nullptr;3860 activeRenderingThread = nullptr;