-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebGL2 in std #5770
Comments
Chrome and firefox aim to ship webgl2 in january as stated here: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/VAEv-MUFGC8 |
Hey @nadako, I've created a PR (HaxeFoundation/html-externs#8) to get the generator repo up and running with the latest WebIDLs. Here's the generated WebGL2 context extern WebGL2RenderingContext.hx |
Here's a complete delta for new js.html externs generated from the latest WebIDLs (and then passed through @markknol's html-extern-api-docs to add comments): development...haxiomic:development |
Great, I would say, do a pull request 👍 (BTW, I do remember we manually fixed some stupid stuff in these definitions, but can't remember what exactly so we might have to look those up.) |
Hey @markknol, I've been reviewing the diff and I unfortunately can see quite a lot of manual changes – I bet we can automate them but since that will take a while, for the time being I'll just PR for the higher priority extern changes like adding WebGL2, updating MediaElement and InputElement Question for @Simn: do changes to the html externs have to be backward compatible for the 4.0 release? For example, the latest WebIDLs have renamed a few things: |
WebGL2 externs are now available at |
I wasn't able to find any discussion about WebGL2 in Haxe. I believe the spec is pretty much at final draft, browser have had implementations for a year (behind a flag), and it makes sense to be able to developed for WebGL2 in anticipation for its likely shipping soon.
What's the process for generating a new set of bindings from the IDLs? I wasn't able to find the generator code in the haxe repro. The WebGL2 IDL is here:
https://www.khronos.org/registry/webgl/specs/latest/2.0/webgl2.idl
The text was updated successfully, but these errors were encountered: