Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-23 | use correct bufferData method when passing a NULL pointer | Anthony Pesch | |
2014-01-22 | Merge pull request #1905 from juj/glGetTexEnv | Alon Zakai | |
Gl get tex env | |||
2014-01-22 | Fix default vertex color to (1,1,1,1) and properly enable correct attribute ↵ | Jukka Jylänki | |
streams when doing immediate mode rendering when GL_FFP_ONLY is set. | |||
2014-01-18 | handle #if !X in preprocessor | Alon Zakai | |
2014-01-18 | Fix GL emulation cleanup to properly update the state it changes. | Jukka Jylänki | |
2014-01-18 | Fix FFP GL emulation directives. The form !GL_FFP_ONLY is not supported, use ↵ | Jukka Jylänki | |
GL_FFP_ONLY == 0 instead. | |||
2014-01-17 | Fix GL_FFP_ONLY path to enable/disable vertex attribute arrays as a response ↵ | Jukka Jylänki | |
to glEnable/DisableClientState instead of adjusting that during rendering. | |||
2014-01-15 | Optimize FFP GL shader generation in the case when GL_COMBINE is used. This ↵ | Jukka Jylänki | |
merges duplicate texture loads into one and avoids a redundant * 1.0 op. | |||
2014-01-15 | Optimize rendering from client-side memory by maintaining a set of ↵ | Jukka Jylänki | |
doublebuffered VBOs. This improves performance by reducing CPU-GPU pipeline stalls. | |||
2014-01-15 | Further optimize FFP GL getRenderer() operation. | Jukka Jylänki | |
2014-01-14 | Fix GLImmediate signature after rebase. | Jukka Jylänki | |
2014-01-14 | Add test for glGetTexEnv implementation. Fix output of GL_TEXTURE_ENV_COLOR ↵ | Jukka Jylänki | |
color data from glGetTexEnvfv. | |||
2014-01-14 | Fix typo in case of abort_noSupport in library_gl.js. | Jukka Jylänki | |
2014-01-14 | Implement glGetTexEnviv and glGetTexEnvfv in GL emulation mode. | Jukka Jylänki | |
2014-01-14 | Fix (harmless) out-of-bounds access on vertex attribute indices in GL ↵ | Jukka Jylänki | |
emulation init when GL_FFP_ONLY is set. | |||
2014-01-14 | Fix typo in GL library abort function case. | Jukka Jylänki | |
2014-01-14 | Fix GL emulation regression with VBO data caused by commit ↵ | Jukka Jylänki | |
https://github.com/kripken/emscripten/commit/4e3c1b3e862ffd8e324cd1f24ed84692bd50a83b#commitcomment-5056244 | |||
2014-01-13 | Reintroduce liveClientAttributes to optimize the case where GL emulation ↵ | Jukka Jylänki | |
code is called with a very large GLImmediate.MAX_TEXTURES size. | |||
2014-01-10 | Optimize GL emulation prepareClientAttributes. Fix issues where the slow ↵ | Jukka Jylänki | |
path was not able to handle unaligned source data. Annotate some unsupported cases. Remove liveClientAttributes, which does not seem to be a win in profiles. | |||
2014-01-09 | Fix preprocessor ifdef in GL emulation library. | Jukka Jylänki | |
2014-01-09 | Add var GLctx; declaration to GL init to avoid polluting global namespace. ↵ | Jukka Jylänki | |
Replace all 'this.xxx' with 'GLImmediate.xxx' when this==GLImmediate, to avoid throwing off Closure minification pass. | |||
2014-01-09 | Rename GLImmediate.matrix.lib to GLImmediate.matrixLib to not alias with ↵ | Jukka Jylänki | |
GLImmediate.matrix array that contains emulated modelview,projection and texture matrices. Restore compressedTexImage2D symbols to be closure-friendly. | |||
2014-01-09 | Simplify GL emulation matrix stack initialization. Update code after rebase. | Jukka Jylänki | |
2014-01-09 | Simplify verbose object dereference hierarchy in library_gl.js by storing ↵ | Jukka Jylänki | |
global WebGL context in the variable GLctx in addition to Module.ctx. | |||
2014-01-09 | Simplify verbose object dereference chains in GL library by consistently ↵ | Jukka Jylänki | |
using the global name GLImmediate over the GL.immediate form. | |||
2014-01-09 | Make caching of last bound GL_ARRAY_BUFFER in FFP emulation mode safe and ↵ | Jukka Jylänki | |
always enable that optimization. | |||
2014-01-09 | Optimize glBindBuffer when GL emulation modes are not used. In that case, ↵ | Jukka Jylänki | |
currently bound buffers do not need to be tracked. | |||
2014-01-09 | Optimize glEnableClientState by avoiding it to be called with different ↵ | Jukka Jylänki | |
param count. | |||
2014-01-09 | Optimize GL FFP emulation layer by omitting redundant glUseProgram for ↵ | Jukka Jylänki | |
identical shader programs. | |||
2014-01-09 | Minor optimization to FFP emulation: Use integers instead of strings as key ↵ | Jukka Jylänki | |
to FFP matrix file. This allows using arrays instead of maps to store the file, and avoids unnecessary string operations. | |||
2014-01-09 | Fix GL emulation problems that caused particles and ground to disappear in ↵ | Jukka Jylänki | |
Bananabread demo, caused by previous commit https://github.com/kripken/emscripten/commit/fc5dd62fc359397245aca85b1cc847393ba5858f that only partially tracked the changes to the FFP emulation state. | |||
2014-01-03 | fix output in glGetFramebufferAttachmentParameteriv | Alon Zakai | |
2014-01-03 | properly handle getParameter returning null when it means a null object ↵ | Alon Zakai | |
(e.g., no buffer is bound) and not an invalid name | |||
2014-01-01 | ensure we add precision in gl emulation to both fragment and vertex shaders | Alon Zakai | |
2014-01-01 | fix gl typos | Alon Zakai | |
2013-12-17 | add OpenGL Desktop/ES 2.0 hardware instancing extensions compatibility functions | Antoine Lambert | |
2013-12-17 | use GL_ASSERTIONS instead of ASSERTIONS | Antoine Lambert | |
2013-12-17 | add support for WebGL hardware instancing through extension ↵ | Antoine Lambert | |
ANGLE_instanced_arrays | |||
2013-12-13 | Fix glGetIntegerv(GL_SHADER_BINARY_FORMATS) to not write anything to the out ↵ | Jukka Jylänki | |
pointer, since the output array is empty. | |||
2013-12-13 | Generate an GL_INVALID_VALUE error when user calls glGetXXX() with a null ↵ | Jukka Jylänki | |
out pointer instead of crashing. Fix glGetIntegerv of GL_SHADER_BINARY_FORMATS to not write anything out to the provided buffer. | |||
2013-12-03 | Fixed glSampleCoverage signature (vi to vii) | onnoj | |
The signature for glSampleCoverage was incorrect (vi); glSampleCoverage takes two arguments (vii). See: https://www.khronos.org/registry/webgl/specs/1.0.2/#5.14.3 and http://www.khronos.org/opengles/sdk/docs/man/xhtml/glSampleCoverage.xml | |||
2013-11-28 | cleanup and consolidate glGet | Alon Zakai | |
2013-11-27 | Merge pull request #1863 from juj/gl_emulation_opts_rebased | Alon Zakai | |
Optimize GL emulation layer. | |||
2013-11-27 | GL_IMPLEMENTATION_COLOR_READ_TYPE and GL_IMPLEMENTATION_COLOR_READ_FORMAT | Alon Zakai | |
2013-11-27 | Cast GL emulation matrix version numbers back to integers after increment. ↵ | Jukka Jylänki | |
Code cleanup and clarify comments. | |||
2013-11-26 | Add new GL emulation related #define GL_FFP_ONLY which is used to signal ↵ | Jukka Jylänki | |
that the C/C++ client code will not use any GL shaders, allowing more efficient optimizations to be performed in the FFP GL emulation code knowing that it doesn't need to worry about shader programs from the user. | |||
2013-11-26 | Skip looping twice over textures in GL emulation renderer prepare() code. ↵ | Jukka Jylänki | |
Clean up unnecessary variable. | |||
2013-11-26 | Name GL functions that show up as anonymous in the profile. | Jukka Jylänki | |
2013-11-26 | Version immediate mode GL matrix stack data, so that the matrices don't need ↵ | Jukka Jylänki | |
to be reset on each program if they didn't change. | |||
2013-11-26 | Fix GL logging message when GL_UNSAFE_OPTS is disabled. | Jukka Jylänki | |