Re: [Public WebGL] Should WebGLContextAttributes be a callback interface?

On 4/1/12 7:12 PM, Cameron McCormack wrote:
> This is an interesting idea, but I wonder if it is really a pattern we
> want to encourage by supporting it directly in the IDL. Is it too
> troublesome not to handle it in prose, by leaving getContext defined as
>
> object? getContext(DOMString contextId, any... args);
>
> in the HTML spec, and then having some prose hooks for what to do for
> particular types that the WebGL spec could refer to?

That might work, I guess...

-Boris

Received on Monday, 2 April 2012 00:56:51 UTC