aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-11-28 14:35:27 +0200
committerJukka Jylänki <jujjyl@gmail.com>2013-11-28 14:35:27 +0200
commit3b56ecaeb5634639a76629d4ff35214eb946c56c (patch)
tree2557263ce3d3e82a1d821a7f762c454db8fd915b /src
parent9d9c56a6e25a83c216d443cc5169d88c6877dbe5 (diff)
Document GL_FFP_ONLY setting in src/settings.js.
Diffstat (limited to 'src')
-rw-r--r--src/settings.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 64884eec..753e2367 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -224,6 +224,10 @@ var GL_UNSAFE_OPTS = 1; // Enables some potentially-unsafe optimizations in GL e
var FULL_ES2 = 0; // Forces support for all GLES2 features, not just the WebGL-friendly subset.
var LEGACY_GL_EMULATION = 0; // Includes code to emulate various desktop GL features. Incomplete but useful
// in some cases, see https://github.com/kripken/emscripten/wiki/OpenGL-support
+var GL_FFP_ONLY = 0; // If you specified LEGACY_GL_EMULATION = 1 and only use fixed function pipeline in your code,
+ // you can also set this to 1 to signal the GL emulation layer that it can perform extra
+ // optimizations by knowing that the user code does not use shaders at all. If
+ // LEGACY_GL_EMULATION = 0, this setting has no effect.
var STB_IMAGE = 0; // Enables building of stb-image, a tiny public-domain library for decoding images, allowing
// decoding of images without using the browser's built-in decoders. The benefit is that this