| commit | 7ad70139bb0fcfa707959b6be1c7bce75188fea5 | [log] [tgz] |
|---|---|---|
| author | juj <jujjyl@gmail.com> | Mon May 04 08:19:35 2020 |
| committer | GitHub <noreply@github.com> | Mon May 04 08:19:35 2020 |
| tree | 893a862f3f4012dff82d692a1df5bd4c3b2cd1b4 | |
| parent | ee73e38434dc0879e26ebe1efb463ef4c8395cd7 [diff] |
WEBGL_draw_instanced_base_vertex_base_instance (#11054) * Add support for WEBGL_draw_instanced_base_vertex_base_instance WebGL 2 draft extension. Move webgl headers from private lib generation time to public headers directory. Add support for -s GL_SUPPORT_SIMPLE_ENABLE_EXTENSIONS=0 flag to allow dropping code size dependency to all possible WebGL extensions. * Fix WebGL include directives * Fixup, and add test
Main project page: http://emscripten.org
Emscripten compiles C and C++ to WebAssembly using LLVM and Binaryen. Emscripten output can run on the Web, in Node.js, and in wasm runtimes.
Emscripten provides Web support for popular portable APIs such as OpenGL and SDL2, allowing complex graphical native applications to be ported, such as the Unity game engine and Google Earth. It can probably port your codebase, too!
While Emscripten mostly focuses on compiling C and C++ using Clang, it can be integrated with other LLVM-using compilers (for example, Rust has Emscripten integration, with the wasm32-unknown-emscripten and asmjs-unknown-emscripten targets).
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.