Commit graph

13 commits

Author SHA1 Message Date
Scott Nations
8dda434953 Now using glsloptimizer to parse and rewrite shaders.
Major enhancements to the state web server.
Added state-based shader instancing to avoid recompiles.
Fixed issue #113 - Possible bug with REGAL_STATISTICS
Corrected handling of GL_POINT_SIZE_MAX state in RegalState.
Refreshed apitrace, civetweb, libpng, and GLEW from upstream.
2014-03-27 10:14:36 -05:00
Nigel Stewart
b6bc25405b Add Emu::Quads emulation layer - work in progress, not enabled yet
Fixups for Regal::ContextInfo context limit query, GL error checking added
Modularized Mac OS X projects - iOS to follow
Add doc/config for example JSON configurations
GL Core context check for GL 3.2 onwards only
Do not strip googletest static library
Need to query provoking vertex convention for Quads emulation purposes
Default to 1024 for maxLength in Regal::Marker
For minimal footprint, optional REGAL_ENUM_TO_STRING at build-time
Respect REGAL_LOG_POINTERS and REGAL_LOG_THREAD in a few more places
2013-10-14 10:23:10 -05:00
Nigel Stewart
89ff20c375 Fixes for Android
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
2013-08-30 18:57:56 -05:00
Scott Nations
d4065e8033 New version of RegalPpca based on RegalClientState.h 2013-08-05 20:46:49 -05:00
Nigel Stewart
11e4f18fa1 More Regal::Emu::Ppa (push/pop attrib) support.
GL_EXT_blend_color, GL_EXT_blend_subtract and GL_NV_blend_square emulation for ES 2.0.
ARB_shader_subroutine completeness for NV_gpu_program5 purposes.
Better log nesting for begin/end, push/pop log pairs.
Regal.cpp codegen tidy-up: reduce casting for default return values.
Regal context sharing for WGL too.
Log the return values of global functions (WGL, etc) in the driver logging stream.
Regal::Marker needs two versions of toString, depending on the relevant extension being emulated.
2013-04-19 17:19:30 -05:00
Nigel Stewart
ff41547b92 Extend Regal::Config to have a configFile setting for read/write JSON configuration.
Also can be specified via REGAL_CONFIG_FILE environment variable.
Initial migration of Regal::Json::Output to boost::print::json::output
Update GLEW to sf/github TOT.
2013-03-20 14:12:02 -05:00
Nigel Stewart
fcf8e606de For Makefile build, specify MODE=debug for debug-mode build.
Fixup: exit glFrameTerminatorGREMEDY appropriately whether Regal::Frame is in use, or not.
Use -O1 for linux-arm Makefile build, to workaround goofy assembler error.
Fixes for Regal extensions handling.
eglGetProcAddress fix.
Improved EGL logging.
2012-11-29 11:03:15 -06:00
Nigel Stewart
79f4316f0e Consolidate frame hashing and capture into Regal::Frame
Add support to use glXSwapBuffers for frame counting
Support for wglSwapBuffers, eglSwapBuffers and CGLFlushDrawable too
VC and XCode project updates
Bug fix for Init::destroyContext, set TLS for NULL context, as necessary
2012-11-15 13:47:18 -06:00
Nigel Stewart
55c8f6ef26 Infrastructure for context sharing.
- Regal shared_ptr, shared_map and shared_list added.
- Initial sharing support for RegalObj and RegalVao, not used yet.
- RegalContext has a shared_list of other contexts for sharing, not used yet.
2012-11-01 12:19:12 -05:00
Nigel Stewart
b734791038 Refactor Regal::Dispatcher into a linked-list of dispatch tables.
Add md5sum library.
Add GL_GREMEDY_frame_terminator support.
2012-09-24 08:31:59 -05:00
Nigel Stewart
0dcf2f035e Add support for REGAL_LOG_FILE environment variable.
Add REGAL_LOG for enable/disable logging.
Bugfix for RegalDispatch stepping.
2012-09-14 09:13:24 -05:00
Nigel Stewart
6179f0a973 Replace DispatchState with Dispatcher
Further NaCL branch harmonization
Add initial static-linking ES2 dispatch support
2012-08-21 00:04:09 -05:00
Nigel Stewart
30b994ac14 Add code generation scripts. (make export)
Add GL, GLX, WGL, CGL, EGL API databases for code generation purposes.
Reduce the order dependence of code generation.
Android build refinements.
2012-08-01 23:53:54 -05:00