diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2025-11-05 21:52:54 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2025-11-05 21:52:54 -0600 |
| commit | 2f20c12d82d367e6ebd3f5b772ebea62ccf05da7 (patch) | |
| tree | 26654aa778568f8f1bfc68d71ead9972f2bf2b3e /Source/Core/VideoCommon/FramebufferManager.h | |
| parent | 2170080f5355fa7f808a22b58e7ff67d0b89edc8 (diff) | |
VideoCommon: pass the EFB buffer scale into the FramebufferManager instead of pulling it from config, in the future this will allow us to have multiple framebuffers
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.h')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferManager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManager.h b/Source/Core/VideoCommon/FramebufferManager.h index 62c8c177fc..7654698070 100644 --- a/Source/Core/VideoCommon/FramebufferManager.h +++ b/Source/Core/VideoCommon/FramebufferManager.h @@ -85,10 +85,10 @@ public: float EFBToScaledYf(float y) const; // First-time setup. - bool Initialize(); + bool Initialize(int efb_scale); // Recreate EFB framebuffers, call when the EFB size (IR) changes. - void RecreateEFBFramebuffer(); + void RecreateEFBFramebuffer(int efb_scale); // Recompile shaders, use when MSAA mode changes. void RecompileShaders(); @@ -160,7 +160,7 @@ protected: bool needs_flush; }; - bool CreateEFBFramebuffer(); + bool CreateEFBFramebuffer(int efb_scale); void DestroyEFBFramebuffer(); bool CompileConversionPipelines(); @@ -189,7 +189,7 @@ protected: void DrawPokeVertices(const EFBPokeVertex* vertices, u32 vertex_count, const AbstractPipeline* pipeline); - std::tuple<u32, u32> CalculateTargetSize(); + std::tuple<u32, u32> CalculateTargetSize(int efb_scale); void DoLoadState(PointerWrap& p); void DoSaveState(PointerWrap& p); |
