Move legacy GL emulation into its own file library_glemu.js. Restore glDrawArrays() and glDrawElements() to be closure minified.
7 files changed
tree: 71755ba5e79f872818945b6be8260dba246038ac
  1. .circleci/
  2. .clang-format
  3. .flake8
  4. .gitattributes
  5. .gitignore
  6. .style.yapf
  7. .travis.yml
  8. AUTHORS
  9. CONTRIBUTING.md
  10. ChangeLog.md
  11. Dockerfile
  12. LICENSE
  13. README.md
  14. cmake/
  15. docs/
  16. em++
  17. em++.bat
  18. em++.py
  19. em-config
  20. em-config.bat
  21. emar
  22. emar.bat
  23. emar.py
  24. embuilder.py
  25. emcc
  26. emcc.bat
  27. emcc.py
  28. emcmake
  29. emcmake.bat
  30. emcmake.py
  31. emconfigure
  32. emconfigure.bat
  33. emconfigure.py
  34. emlink.py
  35. emmake
  36. emmake.bat
  37. emmake.py
  38. emranlib
  39. emranlib.bat
  40. emrun
  41. emrun.bat
  42. emrun.py
  43. emscons
  44. emscons.py
  45. emscripten-version.txt
  46. emscripten.py
  47. media/
  48. package-lock.json
  49. package.json
  50. site/
  51. src/
  52. system/
  53. tests/
  54. third_party/
  55. tools/
README.md

emscripten logo

Build Status CircleCI

Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).

Links to demos, tutorial, FAQ, etc: https://github.com/kripken/emscripten/wiki

Main project page: http://emscripten.org

License

Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.

Both are permissive open source licenses, with little if any practical difference between them.

The reason for offering both is that (1) the MIT license is well-known, while (2) the University of Illinois/NCSA Open Source License allows Emscripten's code to be integrated upstream into LLVM, which uses that license, should the opportunity arise.

See LICENSE for the full content of the licenses.