Blender Git Commit Log
Git Commits -> Revision ba4d23f
Revision ba4d23f by Sergey Sharybin (master) April 19, 2017, 13:22 (GMT) |
Fix node editor drawing when built with core profile There are two major things in this commit. First one is to have proper stack for projection matrices. This is something what OpenGL specification grants to have at least 2 elements for and what is required to have for proper editor drawing without refactoring the way how we restore projection matrix. Supporting this stack have following advantages: - Our GPU stack is closer to OpenGL specs, making it easier to follow by other developers who are always familiar with OpenGL. - Makes it easier to port all editors to a new API. - Should help us getting rid of extra matrix push/pop added in various commits to 2.8 branch. The new API follows the following convention: - gpuPushMatrix/gpuPopMatrix ALWAYS deals with model view matrix and nothing more. While this name does not fully indicate that it's only model view matrix operator, it matches behavior of other matrix operations such as transform which also doesn't indicate what matrix type they are operating on. - Projection matrix has dedicated calls for push/pop which are gpuPushProjectionMatrix/gpuPopProjectionMatrix. |
Commit Details:
Full Hash: ba4d23fe37ee626c92c61bf0f78f64dcc2d95114
Parent Commit: 781108c
Lines Changed: +66, -26
6 Modified Paths:
/source/blender/editors/space_node/drawnode.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+5, -5) (Diff)
/source/blender/gpu/GPU_matrix.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+51, -15) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+5, -5) (Diff)
/source/blender/gpu/GPU_matrix.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+51, -15) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -2) (Diff)