-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add (un)premultiply tables for canvas {Get,Put}ImageData operations #8086
Conversation
Let's move it out of script/dom/ into dom/; the ideal is that the only files in dom/ are implementing specific web APIs. Otherwise this looks fine! |
@froydnj Also, are we sure that the table doesn't get inlined? |
Which |
Erk, I meant out of |
9111261
to
d6851cb
Compare
The Maybe there should be a lint check or a warning for |
@bors-servo: r+ |
📌 Commit d6851cb has been approved by |
add (un)premultiply tables for canvas {Get,Put}ImageData operations Pretty straightforward use of lookup tables to replace a bunch of expensive float operations. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8086) <!-- Reviewable:end -->
💔 Test failed - linux-rel |
OK, so the previous push had green tests, but this push (which essentially did |
Oh, travis only builds Servo; it doesn't run any tests. |
Also note that the reported tests are PASS expected FAIL, i.e. the result was known to be wrong previously, and these changes have corrected the underlying problem. Please update the appropriate ini files :) |
\o/ for optimizations and correctness! |
How did we fail them before? Rounding issues? |
Not sure, #5030 doesn't seem to explain why they were XFAIL'd. |
@froydnj Could you squash the two last commits together before someone r+ it? I don't like commits which aren't with their expectation changes. |
cde8858
to
9e348e2
Compare
Sure. |
@bors-servo r=jdm |
📌 Commit 9e348e2 has been approved by |
⌛ Testing commit 9e348e2 with merge 9a34dec... |
add (un)premultiply tables for canvas {Get,Put}ImageData operations Pretty straightforward use of lookup tables to replace a bunch of expensive float operations. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8086) <!-- Reviewable:end -->
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Pretty straightforward use of lookup tables to replace a bunch of expensive float operations.