> On Apr 2, 2015, at 1:43 PM, Sergey Kurdakov <[email protected]> wrote:
>
> ...
>
> >I do not know which of the extensions you have mentioned are supported by
> >Emscripten’s OpenGL ES emulation.
>
> so those functions I mentioned in first email are supported ( it is clear by
> looking at library_gl.js ) and more - they are implemented via those IMG
> ANGLE functions at Windows platform in Firefox and Chrome -
>
> But correct headers for OpenGL ES programs using those functions to work
> seamlessly are missing - one needs to fix headers manually so the correct
> OpengGL ES program starts to compile to correct webgl program in browser.
>
You cannot assume from the similar names that the functions are identical. You
need to read the OpenGL ES extension specifications and compare with the OpenGL
specification.
The correct way to fix this is for Emscripten’s OpenGL ES emulation to expose
these functions as the extensions they are. The implementations of those
extensions can share code with the implementations of the similar functions in
the OpenGL emulation.
Regards
-Mark
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.