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

Re: [Public WebGL] Proposal: Restrict PACK_/UNPACK_ params to sane subrects

My understanding of these parameters is slightly different.

SKIP_PIXELS is only applied once, not per row.  Say, I can just skip 10000 pixels.

Again, SKIP_ROWS is also only applied once, not per image.

On Fri, Jul 8, 2016 at 11:57 AM, Jeff Gilbert <jgilbert@mozilla.com> wrote:

Specifically, the following would generate INVALID_OPERATION:

This will:
* Make things cleaner for both implementers and devs
* Remove a source of implementation behavior differences
* Prevent a source of bugs for developers (setting SKIP_PIXELS without

If we find a compelling use-case for relaxing this, no content
breakage will occur if we decide to loosen these restrictions later.

This is the current behavior of Firefox.

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:
unsubscribe public_webgl