gecko-dev/servo/components/canvas
Paul Padier 40f1fb06a2 servo: Merge #9911 - Do not use lookup tables for put_image_data (from magni-:dont_use_lookup_tables); r=michaelwu
Fixes #9599

"This is the first Rust code I have ever written" (and also my first time writing real browser code, it's been quite the learning experience).

Some questions:

> For really fast CPU results, use integer SIMD instructions to handle more than one pixel at a time.

This was out of the scope of #9599, right? I started looking into doing that, but it seems to be a lot more work than the `E-easy` label would suggest. [`std::simd`](https://doc.rust-lang.org/1.0.0/std/simd/index.html) is marked as "unstable", is that a blocker?

> 128 can be added before dividing to round more accurately.

@michaelwu, what did you mean by that?

Also, the #9599 is `Do not use lookup tables for {Get,Put}ImageData operations`, but we only use lookup tables for the `Put`, not the `Get`, right?

Sorry for all the noobish questions.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e4a213c73d49641fdfbf83c31152295d4856ae0
2016-04-01 23:28:19 +05:01
..
canvas_paint_thread.rs servo: Merge #9911 - Do not use lookup tables for put_image_data (from magni-:dont_use_lookup_tables); r=michaelwu 2016-04-01 23:28:19 +05:01
Cargo.toml servo: Merge #10297 - Update webrender with crates.io's offscreen_gl_context (fixes #10296) (from servo:the-offscreens); r=pcwalton 2016-03-31 06:13:31 +05:01
lib.rs servo: Merge #9911 - Do not use lookup tables for put_image_data (from magni-:dont_use_lookup_tables); r=michaelwu 2016-04-01 23:28:19 +05:01
webgl_paint_thread.rs servo: Merge #10291 - #10211: Stop re-exporting webrender_traits WebGL types from canvas_traits (from jfhumann:10211); r=emilio 2016-04-01 01:28:20 +05:01