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

Re: [Public WebGL] How to set a canvas backing store to display units?




On 19/06/2012 11:12, Gregg Tavares (çç) wrote:

Show me a broken app.

All those apps you've been telling us about.

If allocated drawing buffer size < canvas size < MAX_VIEWPORT_DIM then an application using canvas{Width,Height} to set the viewport will end up with only part of its intended view visible in the canvas.

If allocated drawing buffer size >= MAX_VIEWPORT_DIM < canvas size then pixel based features based on hard-coded pixel numbers will be larger than the developer intended, relative to everything else, because there are fewer pixels than expected.

Regards

ÂÂÂ -Mark