diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2018-10-06 01:10:34 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-10-06 01:12:05 +0200 |
commit | 19f40cdf0ba09a767e65ee3f0bd37622cc341bde (patch) | |
tree | 5941c56bed71aaf9c33bece5f778c1455ae15926 /components/script/dom/htmliframeelement.rs | |
parent | 784fbb2bc17d311fe3322cc48d2dca8a902161ca (diff) | |
download | servo-19f40cdf0ba09a767e65ee3f0bd37622cc341bde.tar.gz servo-19f40cdf0ba09a767e65ee3f0bd37622cc341bde.zip |
Introduce ImageData::get_rect
We use that to send only the pixels that will be actually drawn to the
canvas thread in CanvasRenderingContext2d::PutImageData.
We also make the canvas thread byte swap and premultiply colours in-place.
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
0 files changed, 0 insertions, 0 deletions