History

Start capping the time budget for draw opaque

samcake committed 9 years ago

Commit 37541e41 parent 542a6683 files · +108 −2Browse files

Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 3 files). Show all

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+2−1
@@ -295,7 +295,8 @@ void DrawStateSortDeferred::run(const SceneContextPointer& sceneContext, const R · 294 unmodified lines
295 batch.setUniformBuffer(render::ShapePipeline::Slot::LIGHTING_MODEL, lightingModel->getParametersBuffer());295 batch.setUniformBuffer(render::ShapePipeline::Slot::LIGHTING_MODEL, lightingModel->getParametersBuffer());
296 296
297 if (_stateSort) {297 if (_stateSort) {
298 renderStateSortShapes(sceneContext, renderContext, _shapePlumber, inItems, _maxDrawn);298 // renderStateSortShapes(sceneContext, renderContext, _shapePlumber, inItems, _maxDrawn);
299 renderStateSortShapesCapped(sceneContext, renderContext, _shapePlumber, inItems, 2.0, _maxDrawn);
299 } else {300 } else {
300 renderShapes(sceneContext, renderContext, _shapePlumber, inItems, _maxDrawn);301 renderShapes(sceneContext, renderContext, _shapePlumber, inItems, _maxDrawn);
301 }302 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t