History

more work on batch optimzation

Brad Hefta-Gaub committed 11 years ago

Commit 85b23221 parent b2bbaf413 files · +142 −116Browse files

Showing the changes to libraries/input-plugins/src/input-plugins/ViveControllerManager.cpp (1 of 13 files). Show all

Unified · Split

libraries/input-plugins/src/input-plugins/ViveControllerManager.cpp+1−1
@@ -173,7 +173,7 @@ void ViveControllerManager::updateRendering(RenderArgs* args, render::ScenePoint · 172 unmodified lines
173173 UserInputMapper::PoseValue leftHand = _poseStateMap[makeInput(JointChannel::LEFT_HAND).getChannel()];
174174 UserInputMapper::PoseValue rightHand = _poseStateMap[makeInput(JointChannel::RIGHT_HAND).getChannel()];
175175
176− doInBatch(args->_context, [=](gpu::Batch& batch) {
176+ gpu::doInBatch(args->_context, [=](gpu::Batch& batch) {
177177 auto geometryCache = DependencyManager::get<GeometryCache>();
178178 geometryCache->useSimpleDrawPipeline(batch);
179179 DependencyManager::get<DeferredLightingEffect>()->bindSimpleProgram(batch, true);