W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 01 Apr 2012 20:56:19 -0400
Message-ID: <4F78F933.70502@mit.edu>
To: Cameron McCormack <cam@mcc.id.au>
CC: Glenn Maynard <glenn@zewt.org>, public_webgl@khronos.org, "public-script-coord@w3.org" <public-script-coord@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC