History

Add basic DebugDeferredBuffer job

Atlante45 committed 10 years ago

Commit baf93e81 parent 19a503a9 files · +155 −14Browse files

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

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+5−2
@@ -18,10 +18,11 @@ · 17 unmodified lines
1818 #include <gpu/Context.h>
1919 #include <gpu/StandardShaderLib.h>
2020
21−#include "FramebufferCache.h"
21+#include "DebugDeferredBuffer.h"
2222 #include "DeferredLightingEffect.h"
23−#include "TextureCache.h"
23+#include "FramebufferCache.h"
2424 #include "HitEffect.h"
25+#include "TextureCache.h"
2526
2627 #include "render/DrawStatus.h"
2728 #include "AmbientOcclusionEffect.h"
@@ -112,6 +113,8 @@ RenderDeferredTask::RenderDeferredTask() : Task() { · 84 unmodified lines
112113 _jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
113114 _jobs.push_back(Job(new DrawTransparentDeferred::JobModel("TransparentDeferred", _jobs.back().getOutput())));
114115
116+ _jobs.push_back(Job(new DebugDeferredBuffer::JobModel("DebugDeferredBuffer")));
117+
115118 // Grab a texture map representing the different status icons and assign that to the drawStatsuJob
116119 auto iconMapPath = PathUtils::resourcesPath() + "icons/statusIconAtlas.svg";
117120

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