Update googletest sources
Add ContextInfo support for GL 4.3 and 4.4
Improved Ppca test coverage
Added logging for Regal API methods
Improved layer enable/disable logic in RegalContext
JSON parser updates
Makefile build of tiger example added
Using scoped_ptr for RegalContext data
Initial scaffolding for GLX emulation on EGL/WGL/CGL.
Ppca refinements.
Add GL_NV_blend_equation_advanced and GL_NV_blend_equation_advanced_coherent support.
RegalX11.cpp added for fake X11 purposes for GLX emulation.
GLEW refresh.
Fixups for REGAL_SYS_EMSCRIPTEN_STATIC mode.
ARB_texture_cube_map and EXT_texture_cube_map for ES 2.0
IFF emulation improvements
Emscripten build improvements
Update zlib to version 1.2.8
Update libpng to version 1.6.3
Update mongoose to version 3.8
Merge and harmonize src/apitrace with upstream
Merging Emscripten changes from Vladimir Vukicevic, except Makefile
More entry points for RegalDispatchGMock
- Use BIN.SUFFIX instead of BIN_EXTENSION for consistency
- Don't build static/shared lib if the filename isn't specified
- Examples should depend on static lib if shared isn't built
- Allow overriding release-mode defines for LOG/TLS
- Add SYSTEM=emscripten config
GLEW refresh to Sourceforge top-of-tree
Codegen refinement - sort enums by name for switch statements, etc
ARB_multitexture emulation for ES 2.0
(ARB|EXT)_texture_env_combine and (ARB|EXT)_texture_env_dot3 for ES 2.0
Without correct defaults some combinations miss texture data.
For example the following sequence of calls will fail to produce
RGB colors upon rendering:
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE)
glTexEnvi(GL_TEXTURE_ENV, GL_COMBINE_ALPHA, GL_REPLACE)
glTexEnvi(GL_TEXTURE_ENV, GL_SOURCE0_ALPHA, GL_PRIMARY_COLOR)
The spec tells that correct defaults are:
mode=GL_MODULATE
src0=GL_TEXTURE
src1=GL_PREVIOUS
src2=GL_CONSTANT
See pages 185 and 279 at http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
Also updates paths in README.
GLEW refresh (w.r.t opengl.org)
Some GL API harmonization with apitrace.
Add Regal support for GL_SGIX_ycrcb
Further GL_REGAL_enable support for glEnable/glDisable of dispatch layers.
DSA emulation moved to downstream of Regal::Emu::Iff
Trace dispatch fixes for WGL
Support for REGAL_TRACE_FILE setting, and JSON property.
Tidy-up of Regal::Emu::Filt
Add emulation support for glInterleavedArrays().
Add emulation support for DSA VertexArray*OffsetEXT routines.
RegalUtil.h namespace macros moved to RegalNamespace.h
Initial implementation of Draw*Elements*BaseVertex* emulation.
IBM_texture_mirrored_repeat extension emulation for ES 2.0.
Use REGAL_CALL for GLDEBUGPROC* function typedefs.
Fix logging of string in glNamedProgramStringARB.
Fix logging of commands with ref and mask.
Add RegalPlugin private API for plugin dispatch layers to call back into Regal.
Resolve snappy library Windows compilation warnings.
Improvements for filtering emulation.
Support EXT_framebuffer_object on ES 2
Cube map support for texture caching.
Improved ES 2.0 API filtering.
Fix for MAX_TEXTURE_SIZE and SUBPIXEL_BITS queries.
Improved logging for glSamplerParmeter calls.
Eliminate some errors being reported when running under the Pepper
implementation of GLES.
1) With 8 vertex attributes allowed, RegalIff.cpp was passing in 99
(RFF2A_Invalid) for the index of the SecondaryColor attribute,
presumably from RFF2AMap8. Added a check for Invalid before
binding the attribute.
2) Pepper GLES does not allow client side array data to be passed in via
glVertexAttribPointer without an ARRAY_BUFFER being bound, and will
generate an error if it is done. There were two places in the code where
this could happen.
* In Iff::Cleanup() the code was calling glVertexAttribPointer directly to
reset state to default values with no ARRAY_BUFFER bound.
* In RegalPpca when popping the client vertex array state, the code makes
calls to the fixed function glVertexPointer, glNormalPointer, etc, which
are then translated to calls to glVertexAttribPointer
For both cases, I added some checks to detect PepperGLES, and avoid calls
to reset the client vertex array state when non ARRAY_BUFFER is bound.
Tested by building and running the unit tests under osx/darwin x86_64,
and under nacl_x86-64 and nacl_i686 (on Linux). Tested more fully with
an integration test framework on nacl_i686 for our application which
will is set to fail for any detected GL errors.