Blender Git Commit Log
Git Commits -> Revision eda7e84
Revision eda7e84 by Germano Cavalcante (master) April 25, 2019, 12:29 (GMT) |
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 |
Commit Details:
Full Hash: eda7e84aac661f19478b2e5fe94d8899c9782cc8
Parent Commit: 9408023
Committed By: Brecht Van Lommel
Lines Changed: +102, -509
34 Modified Paths:
/intern/ghost/GHOST_C-api.h (+0, -6) (Diff)
/intern/ghost/GHOST_ISystem.h (+1, -2) (Diff)
/intern/ghost/GHOST_IWindow.h (+0, -6) (Diff)
/intern/ghost/GHOST_Types.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+0, -7) (Diff)
/intern/ghost/intern/GHOST_Context.h (+1, -11) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.mm (+3, -70) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.cpp (+1, -36) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.cpp (+4, -31) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.h (+2, -7) (Diff)
/intern/ghost/intern/GHOST_ContextNone.h (+1, -2) (Diff)
/intern/ghost/intern/GHOST_ContextSDL.cpp (+1, -18) (Diff)
/intern/ghost/intern/GHOST_ContextSDL.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.cpp (+26, -127) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.h (+3, -9) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+3, -6) (Diff)
/intern/ghost/intern/GHOST_System.h (+2, -4) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+0, -2) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.cpp (+1, -6) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+0, -4) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+0, -3) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+3, -10) (Diff)
/intern/ghost/intern/GHOST_Window.h (+1, -12) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+0, -2) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+1, -3) (Diff)
/intern/ghost/intern/GHOST_WindowNULL.h (+2, -3) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+2, -4) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+1, -2) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+1, -5) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+0, -2) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+42, -103) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+0, -2) (Diff)
/intern/ghost/GHOST_ISystem.h (+1, -2) (Diff)
/intern/ghost/GHOST_IWindow.h (+0, -6) (Diff)
/intern/ghost/GHOST_Types.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+0, -7) (Diff)
/intern/ghost/intern/GHOST_Context.h (+1, -11) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_ContextCGL.mm (+3, -70) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.cpp (+1, -36) (Diff)
/intern/ghost/intern/GHOST_ContextEGL.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.cpp (+4, -31) (Diff)
/intern/ghost/intern/GHOST_ContextGLX.h (+2, -7) (Diff)
/intern/ghost/intern/GHOST_ContextNone.h (+1, -2) (Diff)
/intern/ghost/intern/GHOST_ContextSDL.cpp (+1, -18) (Diff)
/intern/ghost/intern/GHOST_ContextSDL.h (+0, -1) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.cpp (+26, -127) (Diff)
/intern/ghost/intern/GHOST_ContextWGL.h (+3, -9) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+3, -6) (Diff)
/intern/ghost/intern/GHOST_System.h (+2, -4) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+0, -2) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.cpp (+1, -6) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+0, -4) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+0, -3) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+3, -10) (Diff)
/intern/ghost/intern/GHOST_Window.h (+1, -12) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+0, -2) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+1, -3) (Diff)
/intern/ghost/intern/GHOST_WindowNULL.h (+2, -3) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+2, -4) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+1, -2) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+1, -5) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+0, -2) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+42, -103) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+0, -2) (Diff)