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
38533853
38543854 auto engineContext = _renderEngine->getRenderContext();
38553855 renderInterface->setItemCounts(engineContext->getItemsConfig());
3856+ renderInterface->setJobGPUTimes(engineContext->getAmbientOcclusion().gpuTime);
3857+
38563858 }
38573859
38583860 activeRenderingThread = nullptr;