Blender Git Loki
Git Commits -> Revision 56ec978
Revision 56ec978 by Alexander Kuznetsov (soc-2012-swiss_cheese) August 10, 2012, 00:40 (GMT) |
Adding gpu_view module. It has functions like setting the viewport and clearing it. Afaik it should be compatible with DirectX We need gpuClear = glClear because calling color with depth clear is more efficent. I will commit most conversions tomorrow. It is much easier than doing REAL_GL_MODE to each viewport function. |
Commit Details:
Full Hash: 56ec978863d7048b867dff7c05fa016636a17992
SVN Revision: 49751
Parent Commit: 09d0f24
Lines Changed: +261, -8
4 Added Paths:
/source/blender/gpu/intern/gpu_view.c (+50, -0) (View)
/source/blender/gpu/intern/gpu_view.h (+63, -0) (View)
/source/blender/gpu/intern/gpu_view_gl.c (+90, -0) (View)
/source/blender/gpu/intern/gpu_view_gl.h (+45, -0) (View)
/source/blender/gpu/intern/gpu_view.h (+63, -0) (View)
/source/blender/gpu/intern/gpu_view_gl.c (+90, -0) (View)
/source/blender/gpu/intern/gpu_view_gl.h (+45, -0) (View)