[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Re: double-buffering and back buffer preservation

On Nov 18, 2010, at 7:07 PM, Vladimir Vukicevic wrote:

> ----- Original Message -----
>> On Fri, Nov 19, 2010 at 03:38, Vladimir Vukicevic
>> <vladimir@mozilla.com> wrote:
>>> - A context attribute will be added, provisionally called
>>> preserveDrawbuffers, which will default to false.
>>> - When a present occurs:
>>>  - if preserveDrawbuffers is FALSE: the color/stencil/depth buffers
>>>  are set to the default values.
>> What are "default values" ?
> The initial values as specified by GL -- 0,0,0,0 for color, 0 for stencil, and 1.0f for depth.

I proposed on another thread that we should use the current clearColor(), clearDepth() and clearStencil() values. Is there a reason not to do that?


You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: