Switch PutImageData to using CopySurface

This commit is contained in:
David Zbarsky 2015-08-08 05:14:04 -04:00
parent 9a88348978
commit 51938d579f
9 changed files with 61 additions and 46 deletions

View file

@ -91,7 +91,7 @@ pub enum Canvas2dMsg {
GetImageData(Rect<f64>, Size2D<f64>, IpcSender<Vec<u8>>),
LineTo(Point2D<f32>),
MoveTo(Point2D<f32>),
PutImageData(Vec<u8>, Rect<f64>, Rect<f64>),
PutImageData(Vec<u8>, Point2D<f64>, Size2D<f64>, Rect<f64>),
QuadraticCurveTo(Point2D<f32>, Point2D<f32>),
Rect(Rect<f32>),
RestoreContext,