Blender Git Commits

Blender Git "soc-2012-swiss_cheese" branch commits.

Page: 4 / 14

August 2, 2012, 04:11 (GMT)
whitespace changes
August 1, 2012, 22:01 (GMT)
added gpuInitializeLighting/gpuShutdownLighting to blenderplayer
August 1, 2012, 22:00 (GMT)
missed adding gpu_lighting_gl11.c
August 1, 2012, 21:45 (GMT)
GPUlighting - thin layer to wrap OpenGL's Phong-Blinn lighting state functions
August 1, 2012, 20:44 (GMT)
moved 'restrict' definition to BLI_utildefines.h
August 1, 2012, 20:15 (GMT)
Added GPU_matrix.h into GPU_compatibility.h
August 1, 2012, 19:44 (GMT)
another 'const int' parameter
August 1, 2012, 19:44 (GMT)
void function returning a value
August 1, 2012, 19:23 (GMT)
'const int' parameters are weird
July 28, 2012, 19:54 (GMT)
BGE doc update to make it clear that async only currently works for "Scene" and not "Mesh" or "Action."
July 28, 2012, 08:51 (GMT)
The API now builds and is included without causing build errors. :D

Information is not yet being sent to the touch manager.
July 28, 2012, 04:11 (GMT)
Use glGenerateMipmaps() when supported rather than gluBuild2DMipmaps(). This helps speed up texture loads on supported hardware. The GLES code is also using glGenerateMipmaps(), so we might want to do a bit more combining at some point (for GenerateMipmapRGBA()). However, for the time being I'm keeping it separate to make merging easier.
July 28, 2012, 04:03 (GMT)
Converting GE VBO to gpu API which allows greater compatibility between different OpenGL.
Allows to use OpenGL ES on Android.
No need for glEnableClientState. gpu functions handles it.
No #ifdef GLES and no weird #include REAL_GL_MODE
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
July 28, 2012, 02:50 (GMT)
Ghost side of window size fix for Android.
If we cannot get the size, initialize to 400x400
July 28, 2012, 02:43 (GMT)
Adding gpu functions for VBO for compatibility between standard, ES and ARB

gpuGenBuffers = glGenBuffers
gpuBindBuffer = glBindBuffer
gpuBufferData = glBufferData
gpuDeleteBuffers = glDeleteBuffers
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
July 28, 2012, 01:14 (GMT)
Getting rid of a glIsEnabled() check in the BGE's vertex array code (using a simple boolean check now).
July 27, 2012, 19:38 (GMT)
Fix for m_viewport. Value wasn't initilized.
July 27, 2012, 03:10 (GMT)
Caching the results of BL_Texture::GetMaxUnits()'s glGet call. This reduces the overall Capture Time reported by Nvidia Nsight for glGetIntegerv from 7.21% to 5.38% (about a 25% reduction), and dropped glGetIntegerv from the second highest Capture Time to fourth.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021