Webgl API

60 views
Skip to first unread message

Artem Kunec

unread,
Oct 15, 2020, 10:32:58 AM10/15/20
to angleproject
Does Angle provide Webgl API?
E.g. createBuffer(glGenBuffers), createRenderbuffer(glGenRenderbuffers).

If not, how does chromium use it? Is there one external library for bindings WebGL calls to OpenGLES?

Geoff Lang

unread,
Oct 15, 2020, 11:02:04 AM10/15/20
to reo...@gmail.com, angleproject
ANGLE only provides the OpenGL ES C API with optional validation for WebGL specific differences using EGL_ANGLE_create_context_webgl_compatibility and GL_ANGLE_webgl_compatibility.

Chromium has its own javascript bindings which implement additional WebGL functions such as image element to WebGL uploads and the various WebGL js objects.

There are also various WebGL binding libraries in npm if you search for them, but I have not used any myself.

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/7ee8f6c1-b00b-4ef1-8328-a58f4fa18eaen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages