mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Move most backend functionality to VideoCommon
This commit is contained in:
@ -9,19 +9,10 @@ namespace OGL
|
||||
class BoundingBox
|
||||
{
|
||||
public:
|
||||
static void Init(int target_width, int target_height);
|
||||
static void Init();
|
||||
static void Shutdown();
|
||||
|
||||
static void SetTargetSizeChanged(int target_width, int target_height);
|
||||
|
||||
// When SSBO isn't available, the bounding box is calculated directly from the
|
||||
// stencil buffer.
|
||||
static bool NeedsStencilBuffer();
|
||||
// When the stencil buffer is changed, this function needs to be called to
|
||||
// invalidate the cached bounding box data.
|
||||
static void StencilWasUpdated();
|
||||
|
||||
static void Set(int index, int value);
|
||||
static int Get(int index);
|
||||
};
|
||||
};
|
||||
}; // namespace OGL
|
||||
|
Reference in New Issue
Block a user