mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Switch PutImageData to using CopySurface
This commit is contained in:
parent
9a88348978
commit
51938d579f
9 changed files with 61 additions and 46 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue