[Public WebGL] WebGL back buffer contents

Oliver Hunt [email protected]
Wed Jan 27 11:10:28 PST 2010


On Jan 27, 2010, at 11:08 AM, Gregg Tavares wrote:

> Just for clarity are we referring to the buffer size changing, or the display size changing?
> 
> eg. changing canvasElement.width/height vs canvasElement.style.width/height
> 
> To remain in keeping with CanvasRenderingContext2D behaviour, changing display size should not
> have any impact at all on the graphics state, although given that can happen non-programmatically
> we may want an event?
> 
> How does this happen non-programmatically?

<canvas style="width:50%"></canvas>
Then the element resizes with the browser window.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://khronos.org/pipermail/public_webgl_khronos.org/attachments/20100127/017ec166/attachment.html>


More information about the public_webgl mailing list