On 2014-05-06, 6:41 PM, Jonas Sicking wrote:
That's why if we just expose different features on the object returned by
getContext("webgl") depending on client hardware details, we will create a
compatibility mess, unlike other Web APIs.

The main probably that you have is that you haven't designed the API
as to allow authors to test if the API is available.

If you had, this discussion would be moot.

But since you haven't, you're now stuck having to find some other way
of detecting if these features are implemented or not.

Yeah, I think this is the core of the issue. Can we just make sure that WebGL2 features which are not in WebGL1 are all designed so that they are individually feature detectible? And if we do that, would there be any other reason why we would want to define a new version of the context object?

Cheers,
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to