kwaak3 changes
Merge branch 'master' of git://github.com/p3/regal.git
update to latest regal
changed PPAPI build's output directory
Updated PPAPI Release build project files to exclude log, etc
Force uniform update on first use.

In most new programs "ver" is updated through UpdateMatrixVer().
However, when that does not happen a program may end up being
unusable as uniforms are not set correctly.
Add variable to force Desktop GLSL version.

We use this for testing: to run Regal in ES2 mode with GLX.
Merge https://github.com/igor-c/regal glx
Regal::DispatchCode refinements.
Regal::Enum wrapped as struct.
Initialize dbgLogLen before calling glGetProgramInfoLog.

Crash on PPAPI if call glGetProgramInfoLog() with an uninitialized params.
Regal::helper::getInfoLog for accessing various GL info logs.
Add regaltest test coverage for Regal::helper::size::get
Eliminate global/static data in RegalIff.cpp
GL_VERSION_1_2 enums that GLEW missed out on: GL_MAX_ELEMENTS_VERTICES, GL_MAX_ELEMENTS_INDICES
Add GL_SGIS_detail_texture enums to gl.py
Add GL_ARB_viewport_array enums to gl.py
Regal::Config string variables for code generation dispatch layers.
For RegalDispatchCode - name shader and program return variables, rather than generic o output.
Add extra cast through void* to avoid -Wcast-align warning
Fixups for glShaderSource support in RegalDispatchCode
RegalJson for parsing Config and Logging state from JSON
Added RegalConfigure Regal API
Refresh VC and XCode projects
Regal builds need jsonsl library now
Add Mutex and ScopedLock classes for threading purposes
CGL API fixups
GL const parameter fixups
LONG and ULONG_PTR for Windows
Add Logging::process option to log process ID
Avoid glGetAttachedShaders in RegalDispatchLog unless driver logging is actually specifically enabled.
For RegalDispatchCode log the texture data to the header rather than source.
Fix warnings
Build and run tests on NaCl
Merge branch 'test_on_nacl' of https://github.com/sbc100/regal
Add enums for GL_HP_image_transform
Add enums for GL_SGIX_fragment_specular_lighting
Runtime flag for thread locking - work in progress
Platform notes for NaCl builds
Disable extra logging diagnostics for REGAL_SYS_PPAPI=1, for performance reasons
Refresh GLEW with DSA workaround - ignore fp64 stuff.
Add Mesa3D to the lists of known OpenGL implementations for Linux GLX.
Add knobs necessary to expose texture storage emulation