History

Drafting the Octree and a debugging job

samcake committed 10 years ago

Commit b96bbab1 parent c1626f14 files · +138 −82Browse files

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

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+8−0
@@ -25,6 +25,7 @@ · 24 unmodified lines
25 25
26#include "render/DrawTask.h"26#include "render/DrawTask.h"
27#include "render/DrawStatus.h"27#include "render/DrawStatus.h"
28#include "render/DrawSceneOctree.h"
28#include "AmbientOcclusionEffect.h"29#include "AmbientOcclusionEffect.h"
29#include "AntialiasingEffect.h"30#include "AntialiasingEffect.h"
30 31
@@ -135,6 +136,13 @@ RenderDeferredTask::RenderDeferredTask(CullFunctor cullFunctor) : Task() { · 104 unmodified lines
135 _drawDebugDeferredBufferIndex = (int)_jobs.size() - 1;136 _drawDebugDeferredBufferIndex = (int)_jobs.size() - 1;
136 enableJob(_drawDebugDeferredBufferIndex, false);137 enableJob(_drawDebugDeferredBufferIndex, false);
137 138
139 // Scene Octree Debuging job
140 {
141 addJob<DrawSceneOctree>("DrawSceneOctree");
142 // _drawStatusJobIndex = (int)_jobs.size() - 1;
143 // enableJob(_drawStatusJobIndex, false);
144 }
145
138 // Status icon rendering job146 // Status icon rendering job
139 {147 {
140 // Grab a texture map representing the different status icons and assign that to the drawStatsuJob148 // Grab a texture map representing the different status icons and assign that to the drawStatsuJob