- add post processing support to the software renderer and softpoly

This commit is contained in:
Magnus Norddahl 2018-08-04 14:58:55 +02:00
commit 48c83d36b5
4 changed files with 17 additions and 2 deletions

View file

@ -44,7 +44,6 @@ public:
IUniformBuffer *CreateUniformBuffer(size_t size, bool staticuse = false) override;
IShaderProgram *CreateShaderProgram() override;
// Retrieves a buffer containing image data for a screenshot.
// Hint: Pitch can be negative for upside-down images, in which case buffer
// points to the last row in the buffer, which will be the first row output.
@ -60,6 +59,7 @@ public:
void SetVSync(bool vsync);
void Draw2D() override;
void PostProcessScene(int fixedcm, const std::function<void()> &afterBloomDrawEndScene2D) override;
bool HWGammaActive = false; // Are we using hardware or software gamma?
std::shared_ptr<FGLDebug> mDebug; // Debug API