News for hackers. Stuff that matters.
Re:OpenGL API Documentation by ronjouch on Friday June 19, 2015 @07:00AM (#9743981)
As a complete newcomer to OpenGL, my first thought was "where's the WebGL column?"

Now, that makes probably no sense; can someone clarify what these versions mean (apart from API availability described by this table, obviously), and if there's a relationship to the WebGL subset (it is a subset, right?).

Re:OpenGL API Documentation by dietrichepp on Friday June 19, 2015 @08:35AM (#9744253)
WebGL has some differences from OpenGL ES, but the functions mostly have the same functionality. For example, instead of passing a pointer to glTexImage2D(), you can pass a typed array or an image element from the HTML DOM. Objects such as textures are also passed to the API as opaque objects rather than integer indexes.
Re:OpenGL API Documentation by saurik on Friday June 19, 2015 @07:02AM (#9743990)
https://www.khronos.org/webgl/

"WebGL: OpenGL ES 2.0 for the Web"

Re:OpenGL API Documentation by shurcooL on Friday June 19, 2015 @01:09PM (#9746183)
There are some minor differences beyond types. For example, getShaderParameter is WebGL only.

See https://github.com/BSVino/docs.gl/issues/9.

Re:OpenGL API Documentation by ronjouch on Friday June 19, 2015 @08:29AM (#9744229)
Simple. Was expected something more complicated, I could have looked further before asking ^^.

Anyway, thanks!

Re:OpenGL API Documentation by BSVino on Friday June 19, 2015 @05:59PM (#9747921)
Hello, dev of docs.gl here. I would be happy to support WebGL but I don't use it myself so I've not prioritized adding it. I'm happy to work with any enterprising person who wants to help add it :)
Re:OpenGL API Documentation by TazeTSchnitzel on Friday June 19, 2015 @07:45AM (#9744084)
WebGL is based on OpenGL ES, so look at the es2 column.