mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Merge pull request #1322 from degasus/ogl-pp
OGL: force enable postprocessing
This commit is contained in:
@ -14,7 +14,7 @@ struct XFBSourceBase
|
||||
virtual ~XFBSourceBase() {}
|
||||
|
||||
virtual void Draw(const MathUtil::Rectangle<int> &sourcerc,
|
||||
const MathUtil::Rectangle<float> &drawrc) const = 0;
|
||||
const MathUtil::Rectangle<float> &drawrc) const {};
|
||||
|
||||
virtual void DecodeToTexture(u32 xfbAddr, u32 fbWidth, u32 fbHeight) = 0;
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "Common/StringUtil.h"
|
||||
#include "Common/Timer.h"
|
||||
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
class PostProcessingShaderConfiguration
|
||||
{
|
||||
public:
|
||||
@ -88,15 +90,11 @@ public:
|
||||
PostProcessingShaderConfiguration* GetConfig() { return &m_config; }
|
||||
|
||||
// Should be implemented by the backends for backend specific code
|
||||
virtual void BindTargetFramebuffer() = 0;
|
||||
virtual void BlitToScreen() = 0;
|
||||
virtual void Update(u32 width, u32 height) = 0;
|
||||
virtual void BlitFromTexture(TargetRectangle src, TargetRectangle dst,
|
||||
int src_texture, int src_width, int src_height) = 0;
|
||||
virtual void ApplyShader() = 0;
|
||||
|
||||
protected:
|
||||
bool m_enable;
|
||||
u32 m_width;
|
||||
u32 m_height;
|
||||
// Timer for determining our time value
|
||||
Common::Timer m_timer;
|
||||
|
||||
|
Reference in New Issue
Block a user