Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for WebGL2 GetIndexedParameter #25930
Conversation
highfive
commented
Mar 9, 2020
|
Heads up! This PR modifies the following files:
|
highfive
commented
Mar 9, 2020
50fbfc1
to
52fd6f8
|
Rebased and fixed the tidy. |
| @@ -26,3 +26,6 @@ | |||
| [WebGL test #29: getError expected: NO_ERROR. Was INVALID_OPERATION : linking transform feedback shader should not set an error] | |||
| expected: FAIL | |||
|
|
|||
| [WebGL test #11: gl.getIndexedParameter(gl.TRANSFORM_FEEDBACK_BUFFER_BINDING, 0) should be null. Was [object WebGLBuffer\].] | |||
This comment has been minimized.
This comment has been minimized.
jdm
Mar 9, 2020
Member
The new failures in this test and a couple previous ones suggest that our new implementation doesn't quite match the specification.
| @@ -1,5 +1,17 @@ | |||
| [object-deletion-behaviour-2.html] | |||
| expected: ERROR | |||
| [WebGL test #12: gl.isBuffer(bufferBaseTransformFeedback) should be false. Was true.] | |||
This comment has been minimized.
This comment has been minimized.
jdm
Mar 9, 2020
Member
Judging by
servo/components/script/dom/webglbuffer.rs
Line 127 in 52fd6f8
Adds support for the `GetIndexedParameter` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
52fd6f8
to
215dd0a
|
You're right, I've forgot to decrement the counters in |
|
@bors-servo r+ |
|
|
Add support for WebGL2 GetIndexedParameter Adds support for the `GetIndexedParameter` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2 <!-- Please describe your changes on the following line: --> Depends on #25915. cc @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 - [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. -->
|
|
|
@bors-servo retry |
|
|
mmatyas commentedMar 9, 2020
Adds support for the
GetIndexedParameterWebGL2 call.See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
Depends on #25915.
cc @jdm @zakorgy
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors