mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
364eaadfe5
Just some inclusions that weren't removed in the initial Hybrid XFB PR.
27 lines
576 B
C++
27 lines
576 B
C++
// Copyright 2010 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
inline bool AddressRangesOverlap(u32 aLower, u32 aUpper, u32 bLower, u32 bUpper)
|
|
{
|
|
return !((aLower >= bUpper) || (bLower >= aUpper));
|
|
}
|
|
|
|
class FramebufferManagerBase
|
|
{
|
|
public:
|
|
virtual ~FramebufferManagerBase();
|
|
|
|
static unsigned int GetEFBLayers() { return m_EFBLayers; }
|
|
protected:
|
|
static unsigned int m_EFBLayers;
|
|
};
|
|
|
|
extern std::unique_ptr<FramebufferManagerBase> g_framebuffer_manager;
|