mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update WR (radial gradients, subpixel positioning, tiling changes).
This commit is contained in:
parent
71deabc8bc
commit
4cbefe82b5
13 changed files with 117 additions and 61 deletions
|
@ -236,9 +236,13 @@ impl WebGLPaintThread {
|
|||
// TODO: This shouldn't be a common path, but try to avoid
|
||||
// the spurious clone().
|
||||
webrender_api.update_image(image_key,
|
||||
width as u32,
|
||||
height as u32,
|
||||
webrender_traits::ImageFormat::RGBA8,
|
||||
webrender_traits::ImageDescriptor {
|
||||
width: width as u32,
|
||||
height: height as u32,
|
||||
stride: None,
|
||||
format: webrender_traits::ImageFormat::RGBA8,
|
||||
is_opaque: false,
|
||||
},
|
||||
pixels.clone());
|
||||
|
||||
let image_data = CanvasImageData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue