diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-04-25 15:09:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-25 15:29:26 +0300 |
commit | eda7e84aac661f19478b2e5fe94d8899c9782cc8 (patch) | |
tree | f6b0b500c1d291dea7fa626ebec2bba19a19eecf /intern/ghost/GHOST_IWindow.h | |
parent | 9408023a81843f0c034bab117c654e11d2b7343f (diff) |
GHOST: remove OpenGL depth buffer, remove code for other unused buffers
Viewport drawing has moved to offscreen buffers, and we no longer need to have
depth, stencil, aa samples, sRGB buffers as part of the window. So all that
code is removed now. The depth buffer was the only one still being allocated,
its removal save a bit of memory.
Code by Germano and Brecht.
Differential Revision: https://developer.blender.org/D4708
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r-- | intern/ghost/GHOST_IWindow.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h index 0b1b83c36a7..2c5f6e811d3 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.h @@ -211,12 +211,6 @@ class GHOST_IWindow { virtual GHOST_TSuccess getSwapInterval(int &intervalOut) = 0; /** - * Gets the current swap interval for swapBuffers. - * \return Number of AA Samples (0 if there is no multisample buffer) - */ - virtual GHOST_TUns16 getNumOfAASamples() = 0; - - /** * Activates the drawing context of this window. * \return A boolean success indicator. */ |