diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-25 14:20:58 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-26 23:24:55 +0200 |
commit | b53ec8392ee2bfd2791bc30d089f3170909ab300 (patch) | |
tree | 7b6ce7a15c2d611132831b44e83a2e2a902d182d /src/compiler.js | |
parent | 29906a675d9da025fc428d1cb95ed1a0f7bfb691 (diff) |
Added new configuration parameter support 'GL_MAX_TEXTURE_IMAGE_UNITS' to the emscripten Module object so that codebases using fixed-function GL emulation mode can hint to the emulation code how many texture units they are using at maximum. This optimizes the emulation code path to avoid having to examine an unnecessary amount of texture units at each draw call (at minimum the code would loop over to confirm that the unused texunits are really unused, which would burn up some unneeded cycles.)
Diffstat (limited to 'src/compiler.js')
0 files changed, 0 insertions, 0 deletions