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

Re: [Public WebGL] WebGL Reftests in Firefox



WebKit also has a few pixel tests at  http://trac.webkit.org/browser/trunk/LayoutTests?order=name#compositing/webgl .


On Mon, Sep 10, 2012 at 4:58 PM, Jeff Gilbert <jgilbert@mozilla.com> wrote:

Simple reftests for WebGL landed in Nightly 18 a few days ago in bug 782860. [1]
It's not directly applicable to other browsers, but perhaps it's useful to share what we are doing. Also, if anyone has any questions/feedback, they're always appreciated.

These reftests are trivial, WebGL-wise, since we already have plenty of coverage for that in the conformance suite. However, the reftests make sure that pixels actually get to the screen, and that the canvas is the correct color, alpha, and orientation.

We also have two tests to assure that we still render properly when WebGL leaves the framebuffer binding bound to something non-zero, or the scissor test active. We've had bugs with this in the past, since this is commonly something that non-trivial demos will do, but simple demos might not.

-Jeff

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=782860

-----------------------------------------------------------
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
-----------------------------------------------------------