mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoCommon: Move the blit methods to the backend class
The parameter types will be different for each backend currently, anyway (e.g. textures/render passes/etc).
This commit is contained in:
@ -60,6 +60,7 @@ public:
|
||||
bool IsDirty() { return m_any_options_dirty; }
|
||||
void SetDirty(bool dirty) { m_any_options_dirty = dirty; }
|
||||
bool HasOptions() { return m_options.size() > 0; }
|
||||
const ConfigMap& GetOptions() const { return m_options; }
|
||||
ConfigMap& GetOptions() { return m_options; }
|
||||
const ConfigurationOption& GetOption(const std::string& option) { return m_options[option]; }
|
||||
// For updating option's values
|
||||
@ -83,11 +84,6 @@ public:
|
||||
virtual ~PostProcessingShaderImplementation();
|
||||
|
||||
PostProcessingShaderConfiguration* GetConfig() { return &m_config; }
|
||||
// Should be implemented by the backends for backend specific code
|
||||
virtual void BlitFromTexture(TargetRectangle src, TargetRectangle dst, int src_texture,
|
||||
int src_width, int src_height, int layer = 0) = 0;
|
||||
virtual void ApplyShader() = 0;
|
||||
|
||||
protected:
|
||||
// Timer for determining our time value
|
||||
Common::Timer m_timer;
|
||||
|
Reference in New Issue
Block a user