[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] Null return values on context loss
On Tue, Nov 29, 2011 at 9:59 PM, Cedric Vivier <email@example.com> wrote:
Glenn convinced me such a change would be great to lessen the pain of
On Thu, Nov 17, 2011 at 00:32, Glenn Maynard <firstname.lastname@example.org
> On Wed, Nov 16, 2011 at 10:59 AM, Cedric Vivier <email@example.com
>> The "placeholder value" could be ES 2.0's initial value  ?
>> It would avoid adding too much text to the spec, while returning
>> sensible 'defaults' that should not break apps.
> That might work. getShaderParameter and getProgramParameter don't have
> this, though.
>> getSupportedExtensions should return an empty array as if no extension
>> is supported.
> Also getAttachedShaders.
dealing with (by definition - unexpected) context loss for WebGL
Anyone else has an opinion on this?
Could we consider this a part of the whole context loss specification
polish underway for the next revision of the spec?
Let's defer this discussion until the rewrite of context lost and restored events is complete.
This proposed change involves a lot of additional specification and code in implementations. I am not convinced that the semantics would be sufficiently improved to warrant the additional complexity.