OpenGL: transition to ARB FBOs, remove runtime checks
authorMike Erwin <significant.bit@gmail.com>
Fri, 5 Aug 2016 01:11:45 +0000 (21:11 -0400)
committerMike Erwin <significant.bit@gmail.com>
Fri, 5 Aug 2016 01:11:45 +0000 (21:11 -0400)
commit4571fdde0ecfdebac6a9374364b05be74233aca5
treea8c3885dcc14b5ce146468477a1f542123a5094e
parent58697444bbb9098d8d497ce40ca246d36c8c87a8
OpenGL: transition to ARB FBOs, remove runtime checks

ARB_framebuffer_object replaces several related EXT extensions. The ARB
version pulls GL 3 FBO features into GL 2.1, useful for Mac platform.
Its functions and enums have no ARB suffix so transition to modern GL
will be seamless!

Extension is checked at startup, so is guaranteed to be true at runtime.

Part of T49012
source/blender/editors/space_view3d/view3d_draw.c
source/blender/gpu/intern/gpu_compositing.c
source/blender/gpu/intern/gpu_draw.c
source/blender/gpu/intern/gpu_extensions.c
source/blender/gpu/intern/gpu_framebuffer.c