On 5/7/14, 12:34 PM, Ehsan Akhgari wrote:
Implementations are free to return a context that implements a higher
version, should that be appropriate in the future, but never lower.

As pointed out, this fails the explicit opt-in bit.

There is also another problem here. If we go with this setup but drop the "may return higher version" bit, how can a consumer handed a WebGLRenderingContext tell whether v2 APIs are OK to use with it short of trying one and having it throw? Do we want to expose the context version on the context somehow?

This is only an issue if the code being handed the context and the code that did the getContext() call are not tightly cooperating, of course.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to