Blender Git Loki

Git Commits -> Revision 361ab2f

Revision 361ab2f by Jason Wilkins (soc-2014-viewport_fx)
July 4, 2014, 16:57 (GMT)
OpenGL Extension Shims

A few things are going on with these "shims":
* OpenGL 2.0 and GLEW_ARB_shader_objects are subtly different.
* Some extensions come in ARB and OES flavors.
* GenerateMipmaps needs a workaround on ATI.
* gpu_buffer_start_update and gpu_buffer_finish_update make usage of buffer objects a bit more abstract

Any use of a shimmed function directly without the shim is caught by GPU_deprecated.h

There are also some other changes that are not related to shims that came along for the ride.

Commit Details:

Full Hash: 361ab2ff2e9f8fc15449f52790ea2a2025972cd5
Parent Commit: c39f6c4
Lines Changed: +1346, -465

11 Modified Paths:

/intern/ghost/intern/GHOST_ContextCGL.mm (+0, -5) (Diff)
/source/blender/gpu/GPU_deprecated.h (+225, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+4, -4) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+132, -124) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_common.c (+4, -4) (Diff)
/source/blender/gpu/intern/gpu_common_intern.h (+5, -5) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+56, -36) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+912, -283) (Diff)
/source/blender/gpu/intern/gpu_immediate_gl.c (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_init_exit.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021