Blender Git Commit Log

Git Commits -> Revision 9d0818b

July 28, 2012, 03:16 (GMT)
Fix initialization for GPU_ext_config.
Added GPU_gl_type and GPU_GLTYPE_FIXED flag
GPU_GLTYPE_FIXED_ENABLED is true only if system supports fixed pipeline (aka OpenGL 1.1-3.0)
It is false for Shader Only OpenGL (not yet initialized properly for Desktop)
With OpenGL ES, GPU_GLTYPE_FIXED_ENABLED is defined as 0 to allow optimization and removal of the unreachable code.
Soon, all OpenGL branching code will use GPU_GLTYPE_FIXED_ENABLED and !GPU_GLTYPE_FIXED_ENABLED for check instead of #ifdef, making easier migration to OpenGL 3.1+ on Desktop

Commit Details:

Full Hash: 9d0818bff8e9a3f5be407fd2b97d707b5bd4b878
SVN Revision: 49320
Parent Commit: cc776d8
Lines Changed: +11, -2

2 Modified Paths:

/source/blender/gpu/GPU_extensions.h (+8, -1) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021