Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move WebGL reftests to wpt/mozilla | Emilio Cobos Álvarez | 2015-11-01 | 12 | -625/+0 |
| | |||||
* | webgl: Add test for passing a canvas with no context as texture source | Emilio Cobos Álvarez | 2015-09-25 | 2 | -0/+137 |
| | |||||
* | webgl: Add tests for canvas texturing | Emilio Cobos Álvarez | 2015-09-25 | 3 | -0/+233 |
| | |||||
* | webgl: Add shader validation and translation | ecoal95 | 2015-08-30 | 1 | -0/+2 |
| | | | | | | | | This commit adds angle-based validation and translation to WebGL shaders. The changes to the tex_image_2d test is neccessary (it was not valid GLES 2.0 shader language). | ||||
* | webgl: Implement multiple calls and improve error detection | ecoal95 | 2015-08-25 | 3 | -0/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements WebGL's: * cullFace * frontFace * enable * disable * depthMask * colorMask * clearDepth * clearStencil * depthFunc * depthRange * hint * lineWidth * pixelStorei * polygonOffset * texParameteri * texParameterf * texImage2D (partially) It inlines a lot of OpenGL calls to keep the file `components/canvas/webgl_paint_task.rs` as small as possible while keeping readability. It also improves error detection on previous calls, and sets node damage on the canvas in the drawing calls. It adds a `TexImage2D` reftest, even though it's not enabled because: * WebGL paints the image when it loads (asynchronously), so the reftest doesn't wait for it and it finishes early * If we change the source for the base64 src of the image it works as expected in non-headless mode, but the test harness locks | ||||
* | webgl: Add drawArrays reftest | ecoal95 | 2015-06-13 | 2 | -0/+86 |
| | | | | | I also removed flackyness of the clearColor test, hopefully it's fixed now that a lot of race conditions have disappeared thanks to @glennw. | ||||
* | Kicks off a WebGL implementation | Diego Marcos | 2015-04-20 | 2 | -0/+45 |