Skip to content

SanchesS/quickjs-webgl

 
 

Repository files navigation

WebGL bindings for QuickJs

This is a simple WebGL bindings for QuickJs. Now it not fully complete and use
GLFW (https://www.glfw.org/) under the hood.

Getting Started 

    make download - download quickjs distro
    make          - build a shared library
    make test     - run a simple test

Schema

    gl2.h -- (bindgen.js) --> webgl.c \
                                       + -- (cc) --> webgl.so
                          additions.c /
     

TO DO

    1. Improve bindgen to support `glShaderSource` and `glGetVertexAttribPointerv` routines.
    2. Verify bindings aganist WebGL specification.
    3. Docs
    4. Examples

About

WebGL bindings for QuickJs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 72.7%
  • JavaScript 25.9%
  • Makefile 1.4%