Auto merge of #8086 - froydnj:premultiply-tables, r=jdm

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 -->
This commit is contained in:
bors-servo 2015-10-21 17:48:49 -06:00
commit 9a34decec2
8 changed files with 8216 additions and 21 deletions

View file

@ -1,5 +0,0 @@
[2d.imageData.put.alpha.html]
type: testharness
[putImageData() puts non-solid image data correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.imageData.put.unchanged.html]
type: testharness
[putImageData(getImageData(...), ...) has no effect]
expected: FAIL