mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-05 13:13:54 +00:00
VideoCommon: Make FramebufferManagerBase::GetTargetSize public
This commit is contained in:
parent
a0a62c0f46
commit
a83ca587c6
@ -60,6 +60,8 @@ public:
|
|||||||
static int ScaleToVirtualXfbHeight(int y);
|
static int ScaleToVirtualXfbHeight(int y);
|
||||||
|
|
||||||
static unsigned int GetEFBLayers() { return m_EFBLayers; }
|
static unsigned int GetEFBLayers() { return m_EFBLayers; }
|
||||||
|
virtual void GetTargetSize(unsigned int* width, unsigned int* height) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
struct VirtualXFB
|
struct VirtualXFB
|
||||||
{
|
{
|
||||||
@ -79,8 +81,6 @@ protected:
|
|||||||
private:
|
private:
|
||||||
virtual std::unique_ptr<XFBSourceBase>
|
virtual std::unique_ptr<XFBSourceBase>
|
||||||
CreateXFBSource(unsigned int target_width, unsigned int target_height, unsigned int layers) = 0;
|
CreateXFBSource(unsigned int target_width, unsigned int target_height, unsigned int layers) = 0;
|
||||||
// TODO: figure out why OGL is different for this guy
|
|
||||||
virtual void GetTargetSize(unsigned int* width, unsigned int* height) = 0;
|
|
||||||
|
|
||||||
static VirtualXFBListType::iterator FindVirtualXFB(u32 xfbAddr, u32 width, u32 height);
|
static VirtualXFBListType::iterator FindVirtualXFB(u32 xfbAddr, u32 width, u32 height);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user