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

Re: [Public WebGL] WebGL back buffer contents

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.