mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Implemented paint worklet properties.
This commit is contained in:
parent
de331c6bc8
commit
ef033b8362
29 changed files with 353 additions and 118 deletions
|
@ -28,6 +28,7 @@ profile_traits = {path = "../profile_traits"}
|
|||
range = {path = "../range"}
|
||||
script_traits = {path = "../script_traits"}
|
||||
selectors = { path = "../selectors" }
|
||||
servo_atoms = {path = "../atoms"}
|
||||
servo_url = {path = "../url"}
|
||||
style = {path = "../style"}
|
||||
webrender_traits = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|
||||
|
|
|
@ -30,6 +30,7 @@ extern crate profile_traits;
|
|||
extern crate range;
|
||||
extern crate script_traits;
|
||||
extern crate selectors;
|
||||
extern crate servo_atoms;
|
||||
extern crate servo_url;
|
||||
extern crate style;
|
||||
extern crate webrender_traits;
|
||||
|
|
|
@ -13,7 +13,8 @@ use profile_traits::mem::ReportsChan;
|
|||
use rpc::LayoutRPC;
|
||||
use script_traits::{ConstellationControlMsg, LayoutControlMsg, LayoutMsg as ConstellationMsg};
|
||||
use script_traits::{ScrollState, UntrustedNodeAddress, WindowSizeData};
|
||||
use script_traits::PaintWorkletExecutor;
|
||||
use script_traits::Painter;
|
||||
use servo_atoms::Atom;
|
||||
use servo_url::ServoUrl;
|
||||
use std::sync::Arc;
|
||||
use std::sync::mpsc::{Receiver, Sender};
|
||||
|
@ -86,7 +87,7 @@ pub enum Msg {
|
|||
UpdateScrollStateFromScript(ScrollState),
|
||||
|
||||
/// Tells layout that script has added some paint worklet modules.
|
||||
SetPaintWorkletExecutor(Arc<PaintWorkletExecutor>),
|
||||
RegisterPaint(Atom, Vec<Atom>, Arc<Painter>),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue