Auto merge of #24514 - imiklos:webgl_transform_feedback, r=jdm

Add WebGL Transformfeedback support

Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
cc @mmatyas @jdm @zakorgy

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
bors-servo 2019-11-08 13:26:29 -05:00 committed by GitHub
commit 970f7163e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 588 additions and 17 deletions

View file

@ -1,2 +1,50 @@
[get-buffer-sub-data-validity.html]
expected: ERROR
[WebGL test #9: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[Overall test]
expected: NOTRUN
[WebGL test #7: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[WebGL test #6: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #2: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #12: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #10: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #14: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #4: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #13: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[WebGL test #15: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[WebGL test #8: getError expected: NO_ERROR. Was INVALID_VALUE : after evaluating: gl.getBufferSubData(gl.COPY_WRITE_BUFFER, 0, dest)]
expected: FAIL
[WebGL test #5: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[WebGL test #0: getError expected: NO_ERROR. Was INVALID_ENUM : linking transform feedback shader should not set an error]
expected: FAIL
[WebGL test #3: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL
[WebGL test #11: areArraysEqual(dest, srcData) should be true. Was false.]
expected: FAIL

View file

@ -191,3 +191,42 @@
[WebGL test #42: Property either does not exist or is not a function: deleteTransformFeedback]
expected: FAIL
[WebGL test #41: Property either does not exist or is not a function: bindBufferBase]
expected: FAIL
[WebGL test #51: Property either does not exist or is not a function: deleteVertexArray]
expected: FAIL
[WebGL test #50: Property either does not exist or is not a function: createVertexArray]
expected: FAIL
[WebGL test #42: Property either does not exist or is not a function: bindBufferRange]
expected: FAIL
[WebGL test #53: Property either does not exist or is not a function: bindVertexArray]
expected: FAIL
[WebGL test #48: Property either does not exist or is not a function: getActiveUniformBlockName]
expected: FAIL
[WebGL test #52: Property either does not exist or is not a function: isVertexArray]
expected: FAIL
[WebGL test #46: Property either does not exist or is not a function: getUniformBlockIndex]
expected: FAIL
[WebGL test #49: Property either does not exist or is not a function: uniformBlockBinding]
expected: FAIL
[WebGL test #44: Property either does not exist or is not a function: getUniformIndices]
expected: FAIL
[WebGL test #47: Property either does not exist or is not a function: getActiveUniformBlockParameter]
expected: FAIL
[WebGL test #43: Property either does not exist or is not a function: getIndexedParameter]
expected: FAIL
[WebGL test #45: Property either does not exist or is not a function: getActiveUniforms]
expected: FAIL

View file

@ -3,3 +3,6 @@
[WebGL test #5: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
[WebGL test #10: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -105,6 +105,18 @@
[WebGL test #106: getFramebufferAttachmentParameter did not generate INVALID_ENUM for invalid attachment enum: NO_ERROR]
expected: FAIL
[WebGL test #121: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
[WebGL test #131: gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_DEPTH_SIZE) should be non-zero. Was 0]
expected: FAIL
[WebGL test #128: gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_WIDTH) should be 2. Was 0.]
expected: FAIL
[WebGL test #129: gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_HEIGHT) should be 2. Was 0.]
expected: FAIL
[WebGL test #123: gl.getProgramParameter(uniformBlockProgram, gl.ACTIVE_UNIFORM_BLOCKS) should be 1 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #138: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,5 +0,0 @@
[non-existent-varying.html]
expected: ERROR
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -9,3 +9,6 @@
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
[WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL