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 upIssue #8462: Add support for BufferSubData, CompressedTexImage2D and CompressedSubTexImage2D and reenable individual webgl WPT tests #8712
Conversation
highfive
commented
Nov 28, 2015
|
@ecoal95 Are you interested in taking a first pass at this review? |
|
Yeah, sure! I'll take a look at it as soon as I arrive home today :P El sáb, 28 de noviembre de 2015 03:56 p.m., Josh Matthews <
|
|
Review status: 0 of 7 files reviewed at latest revision, 5 unresolved discussions. components/script/dom/webglrenderingcontext.rs, line 406 [r1] (raw file):
Returning components/script/dom/webglrenderingcontext.rs, line 407 [r1] (raw file): If you add it to We should also validate that
The same paragraph says we should also validate that the offset and the size of the Not doing it this way will generate errors in the paint task instead of here (which is unexpected), but if @jdm agrees, it can be left as a followup (since it doesn't involve unsafety, just weird error behaviour, and is more difficult to implement). In that case, a components/script/dom/webglrenderingcontext.rs, line 413 [r1] (raw file): I'd want to know what @jdm thinks about it though. components/script/dom/webglrenderingcontext.rs, line 435 [r1] (raw file): So I'll also remove the components/script/dom/webglrenderingcontext.rs, line 472 [r1] (raw file):
Comments from the review on Reviewable.io |
|
Review status: 0 of 7 files reviewed at latest revision, 5 unresolved discussions. components/script/dom/webglrenderingcontext.rs, line 407 [r1] (raw file): Comments from the review on Reviewable.io |
|
Thanks a lot for the review. Sending an updated diff shortly. Review status: 0 of 7 files reviewed at latest revision, all discussions resolved. Comments from the review on Reviewable.io |
|
Nice work! Just some minor fixes and a little clean-up pending and I think this will be ready to merge! :) -S-awaiting-review +S-needs-code-changes Reviewed 7 of 7 files at r1. components/canvas_traits/lib.rs, line 146 [r2] (raw file): components/script/dom/webglrenderingcontext.rs, line 384 [r2] (raw file): Also may you add this just below this match? (just realized this validation was also missing from the initial implementation)
components/script/dom/webglrenderingcontext.rs, line 388 [r2] (raw file): From the WebGL spec (5.14.5):
components/script/dom/webglrenderingcontext.rs, line 395 [r2] (raw file): components/script/dom/webglrenderingcontext.rs, line 412 [r2] (raw file): components/script/dom/webglrenderingcontext.rs, line 426 [r2] (raw file): components/script/dom/webglrenderingcontext.rs, line 432 [r2] (raw file): components/script/dom/webglrenderingcontext.rs, line 445 [r2] (raw file): components/script/dom/webglrenderingcontext.rs, line 460 [r2] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/webglrenderingcontext.rs, line 384 [r2] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/webglrenderingcontext.rs, line 412 [r2] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Review status: 4 of 7 files reviewed at latest revision, 2 unresolved discussions. components/script/dom/webglrenderingcontext.rs, line 384 [r2] (raw file): In this case it's an components/script/dom/webglrenderingcontext.rs, line 412 [r2] (raw file): Comments from the review on Reviewable.io |
CompressedSubTexImage2D and re-enable individual webgl WPT tests.
|
I agree with @ecoal95 on both points he brought up that referenced me. |
|
@bors-servo: delegate=ecoal95 |
|
|
|
Great work! Thanks @simartin :) @bors-servo: r+ -S-awaiting-review +S-awaiting-merge Reviewed 1 of 1 files at r2, 3 of 3 files at r3. Comments from the review on Reviewable.io |
|
|
Issue #8462: Add support for BufferSubData, CompressedTexImage2D and CompressedSubTexImage2D and reenable individual webgl WPT tests Fixes #8462 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8712) <!-- Reviewable:end -->
|
|
simartin commentedNov 28, 2015
Fixes #8462