mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-26 06:19:23 -05:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user