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 upClean up WebGL parameter functions #8743
Conversation
|
We have some tests (there's webgl/ under WPT and webg/ under the mozilla/ directory), but most are disabled due to #7931. |
|
@ecoal95 Want to review this one? :) |
|
@jdm Yep! :) |
|
Looks good to me, @bzbarsky ping me when gleam is updated and I'll r+ this :) -S-awaiting-review +S-blocked-on-external Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. components/canvas/webgl_paint_task.rs, line 343 [r1] (raw file): components/script/dom/webglrenderingcontext.rs, line 640 [r1] (raw file): I think it would be nice to mimic this behaviour where null values are not expected. They're a few functions though, so this can be left as a followup if you want. I've filled #8753 Comments from the review on Reviewable.io |
|
@ecoal95 You have the wrong Zbarsky, I think. |
|
Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. components/canvas/webgl_paint_task.rs, line 343 [r1] (raw file): components/script/dom/webglrenderingcontext.rs, line 640 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. components/script/dom/webglrenderingcontext.rs, line 640 [r1] (raw file): In that sense, the reference for most of this functions (eg
I therefore think it's legit and spec-compliant (probably even required?) to acquire this behaviour. Comments from the review on Reviewable.io |
|
Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. components/script/dom/webglrenderingcontext.rs, line 640 [r1] (raw file): Comments from the review on Reviewable.io |
|
#8761 instead |
dzbarsky commentedNov 30, 2015
Do we have tests for WebGL?
Trying to get http://learningwebgl.com/lessons/lesson01/index.html running but we're still missing some things.