Commit graph

16 commits

Author SHA1 Message Date
Scott Nations
bc7e48247e Enabled use of client-side memory in vertex, element, indirect, and count buffer
Added support for glArrayElement(EXT|) to the immediate mode layer.
    Support NUM_EXTENSIONS in glGet(Integer|Float|Double|Boolean|Integer64)v(EXT|)
    Added interception for glGetStringi and glGetIntergerv
    Improve loading of GLES and EGL libraries on Android
    Various bug fixes...
    Merged pull requests:
     #131  NaCL Pepper now uses GLES2 prefix for ES2.0 functions, rather than gl
     #130  Copyright bump to 2014
     #129  NaCL-related build tweaks for regaltest, nacl example and pnacl.
     #128  GLEW refresh
     #126  boost::print fix for mapping 'long' and 'long long' to 32-bit or 64-bit for length purposes
     #125  Resolve clang compilation error: lookup of 'Depth' in member access expression is ambiguous
     #124  Add Makefile support for gcc-4.4, gcc-4.6 and clang toolchains on Linux.
     #116  Make it compile with Visual Studio 2013 (VC12)
2014-08-07 12:24:42 -05:00
Nigel Stewart
5157da1820 Emscripten now working for dreamtorus.
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.
2013-08-23 09:49:09 -05:00
Nigel Stewart
1c72872ed1 Enable GL_CLAMP on ES2.0/3.0 and core GL contexts by remapping to equivalent GL_CLAMP_TO_EDGE
Add emulation support for glInterleavedArrays().
Add emulation support for DSA VertexArray*OffsetEXT routines.
RegalUtil.h namespace macros moved to RegalNamespace.h
2013-06-20 12:26:56 -05:00
Nigel Stewart
be8dc8b892 Emulation support for DSA gl(Enable|Disable)VertexArrayEXT and VertexArrayOffset commands.
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.
2013-06-15 08:52:59 -05:00
Nigel Stewart
0c089bf5bc DispatcherGlobal added for global (GLX/WGL/EGL) API dispatch layering.
Work-in-progress: apitrace dispatch layer for Regal, not enabled yet.
Added All.sln for VC10 purposes.
2013-06-05 23:06:03 -05:00
Jason Allen
e3b299062e Add knobs necessary to expose texture storage emulation 2013-04-10 10:36:29 -05:00
Jason Allen
ccc0a46c9a Fix Dsa emulation of renderbuffer objects
Move renderbuffer functions out of dsa framebuffer emulation
Add code to track/restore renderbuffer objects for dsa renderbuffer
emulation
Fix an issue with calling glFramebufferTextureFace on Intel GPUs
2013-04-07 18:35:07 -05:00
Cass Everitt
a1eaf3b8b3 more general proposed solution to issue #68 reported by jra101 for EMU_DSA handling of object deletion 2013-04-07 17:06:41 -05:00
Cass Everitt
8b5428240e when the drv version of a texture gets deleted, change the restore target to 0 2013-04-07 02:07:26 -05:00
Cass Everitt
a03d89da43 proposed fix for issue #68 reported by jra101 2013-04-06 12:45:09 -05:00
Nigel Stewart
d718ee2b14 For DSA emulation layer, use Regal::DispatchTable::call rather than calling back into the emulation layer directly. For github issue #65.
https://github.com/p3/regal/issues/65
2013-04-04 17:25:23 -05:00
Nigel Stewart
9f92aa94e7 Restructure scripts directory - scripts/api for database and Api code
Extend GL database to list per-extension information
EmuFilter layer - selective ES 2.0 filtering
Increase the strictness of emulation regex matching - must be unique
Initial implementation of JSON output
2013-02-12 14:22:00 -06:00
Nigel Stewart
a939e58a7f Enable info/warning/error logging for release-mode builds. REGAL_LOG=0 to disable.
Fixups for texture image size helpers.
DSA emulation fixes.
boost::print logging fix for quoting NULL c-strings.
boost::print logging fix for NULL arrays.
2013-01-30 10:24:27 -06: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
a08b97c9d2 Update GL, GLX and WGL API databases to GL 4.3 and related extensions. 2012-08-07 11:42:24 -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