mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
OGL: only create stencil buffer when needed
This commit is contained in:
parent
ba6e917b49
commit
53224d41d0
5 changed files with 86 additions and 42 deletions
|
@ -15,8 +15,10 @@ public:
|
|||
static void SetTargetSizeChanged(int target_width, int target_height);
|
||||
|
||||
// When SSBO isn't available, the bounding box is calculated directly from the
|
||||
// stencil buffer. When the stencil buffer is changed, this function needs to
|
||||
// be called to invalidate the cached bounding box data.
|
||||
// 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue