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 upwebgl: Add attribute validations and other nits #10224
Conversation
highfive
commented
Mar 27, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Mar 27, 2016
af084d4
to
f2ebf29
|
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
|
The PRs landed, so this is ready for review. |
|
|
|
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. |
|
|
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...
|
@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 |
|
|
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 -->
|
|
|
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 -->
|
|
emilio commentedMar 27, 2016
Fixes #9958
Depends on a bunch of prs, and needs a test.
r? @jdm
This change is