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
18#include <gpu/Context.h>18#include <gpu/Context.h>
19#include <gpu/StandardShaderLib.h>19#include <gpu/StandardShaderLib.h>
20 20
21#include "FramebufferCache.h"21#include "DebugDeferredBuffer.h"
22#include "DeferredLightingEffect.h"22#include "DeferredLightingEffect.h"
23#include "TextureCache.h"23#include "FramebufferCache.h"
24#include "HitEffect.h"24#include "HitEffect.h"
25#include "TextureCache.h"
25 26
26#include "render/DrawStatus.h"27#include "render/DrawStatus.h"
27#include "AmbientOcclusionEffect.h"28#include "AmbientOcclusionEffect.h"
@@ -112,6 +113,8 @@ RenderDeferredTask::RenderDeferredTask() : Task() { · 84 unmodified lines
112 _jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));113 _jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
113 _jobs.push_back(Job(new DrawTransparentDeferred::JobModel("TransparentDeferred", _jobs.back().getOutput())));114 _jobs.push_back(Job(new DrawTransparentDeferred::JobModel("TransparentDeferred", _jobs.back().getOutput())));
114 115
116 _jobs.push_back(Job(new DebugDeferredBuffer::JobModel("DebugDeferredBuffer")));
117
115 // Grab a texture map representing the different status icons and assign that to the drawStatsuJob118 // Grab a texture map representing the different status icons and assign that to the drawStatsuJob
116 auto iconMapPath = PathUtils::resourcesPath() + "icons/statusIconAtlas.svg";119 auto iconMapPath = PathUtils::resourcesPath() + "icons/statusIconAtlas.svg";
117 120

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