Repository navigation
webgl: Add attribute validations and other nits - #10224
Conversation
|
Heads up! This PR modifies the following files:
|
99affb4 to
0d5b783
Compare
af084d4 to
f2ebf29
Compare
|
Test added. btw josh, we don't support |
Webgl limits Return the GLLimits structure from the `RequestWebGLContext` API message. This allows us to keep a lot of calls that would require validation here asynchronous. See servo/servo#10224 r? @glennw
c3871a1 to
713d042
Compare
|
The PRs landed, so this is ready for review. |
713d042 to
40a214b
Compare
|
☔ The latest upstream changes (presumably #10242) made this pull request unmergeable. Please resolve the merge conflicts. |
40a214b to
db1a86f
Compare
|
Is this ready to go? If so, note that 4 browser.html P1s are blocked on this. If not, I think we should revert the rust-offscreen-rendering-context upgrades in webrender and webrender_traits. |
|
#10297 unblocks the situation. |
|
☔ The latest upstream changes (presumably #10297) made this pull request unmergeable. Please resolve the merge conflicts. |
I'll rebase servo#10224 against it.
…tions This allows keeping the VertexAttrib* calls asynchronous. Another option would be to do the validation in the apply() function, but that'd require us passing an unnecessary channel around and add extra synchronization. The counterpart of this is that it has to be updated when the context changes, but that's less problem.
It was giving a ton of whitespace errors, and I don't know if it's due to nodeValue or ANGLE...
ae7bde9 to
70229b1
Compare
|
@bors-servo: r+ Reviewed 10 of 10 files at r1, 2 of 2 files at r2, 10 of 10 files at r3, 9 of 9 files at r4, 6 of 6 files at r5, 8 of 8 files at r6, 4 of 4 files at r7, 9 of 9 files at r8, 7 of 7 files at r9. components/canvas/webgl_paint_thread.rs, line 31 [r3] (raw file): Comments from Reviewable |
|
📌 Commit 70229b1 has been approved by |
webgl: Add attribute validations and other nits Fixes #9958 Depends on a bunch of prs, and needs a test. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10224) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
No problem! I don't mind rebasing as many times as necessary :P Glad to see you're cleaning up the review queue :) @bors-servo: retry |
webgl: Add attribute validations and other nits Fixes #9958 Depends on a bunch of prs, and needs a test. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10224) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt |
Fixes #9958
Depends on a bunch of prs, and needs a test.
r? @jdm
This change is