Blender Git Loki
Git Commits -> Revision 9f90cab
Revision 9f90cab by Alexander Kuznetsov (soc-2012-swiss_cheese) July 28, 2012, 02:38 (GMT) |
Adding more OpenGL-like functions for object manipulation gpuTexCoordPointer = glTexCoordPointer gpuClientActiveTexture = glClientActiveTexture Now, in gl11 implementation, calling any gl*Pointer enables GL_*_ARRAY with glEnableClientState; So, no need to call glEnableClientState gpuCleanupAfterDraw must be called after glDraw* function to disable any enabled GL_*_ARRAY and reset internal state In GLES functions gpuTexCoordPointer and gpuClientActiveTexture aren't yet implemented |
Commit Details:
Full Hash: 9f90cab7c9a19bc7c4af42c14427399f04be3714
SVN Revision: 49317
Parent Commit: 8236971
Lines Changed: +89, -7
6 Modified Paths:
/source/blender/gpu/GPU_object.h (+10, -4) (Diff)
/source/blender/gpu/intern/gpu_object.c (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_object_gl11.c (+44, -2) (Diff)
/source/blender/gpu/intern/gpu_object_gl11.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_object_gles.c (+19, -0) (Diff)
/source/blender/gpu/intern/gpu_object_gles.h (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_object.c (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_object_gl11.c (+44, -2) (Diff)
/source/blender/gpu/intern/gpu_object_gl11.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_object_gles.c (+19, -0) (Diff)
/source/blender/gpu/intern/gpu_object_gles.h (+5, -1) (Diff)