mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 02:59:00 +00:00
Renderer: Change SetBlendState to accept a BlendingState
This decouples the state generation (from the emulated GPU) from the management of internal backend state.
This commit is contained in:
parent
22b8cbae35
commit
3dd675e613
8 changed files with 14 additions and 18 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "VideoCommon/AVIDump.h"
|
||||
#include "VideoCommon/BPMemory.h"
|
||||
#include "VideoCommon/FPSCounter.h"
|
||||
#include "VideoCommon/RenderState.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
|
||||
class PostProcessingShaderImplementation;
|
||||
|
@ -63,7 +64,7 @@ public:
|
|||
PP_EFB_COPY_CLOCKS
|
||||
};
|
||||
|
||||
virtual void SetBlendMode(bool forceUpdate) {}
|
||||
virtual void SetBlendingState(const BlendingState& state) {}
|
||||
virtual void SetScissorRect(const EFBRectangle& rc) {}
|
||||
virtual void SetGenerationMode() {}
|
||||
virtual void SetDepthMode() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue