mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use non-IPC webrender API over explicit IPC channels.
This commit is contained in:
parent
a922c497fa
commit
564c16d754
77 changed files with 494 additions and 360 deletions
|
@ -21,17 +21,10 @@ pub struct CanvasId(pub u64);
|
|||
#[derive(Deserialize, Serialize)]
|
||||
pub enum CanvasMsg {
|
||||
Canvas2d(Canvas2dMsg, CanvasId),
|
||||
Create(
|
||||
IpcSender<CanvasId>,
|
||||
Size2D<u64>,
|
||||
webrender_api::RenderApiSender,
|
||||
bool,
|
||||
),
|
||||
FromLayout(FromLayoutMsg, CanvasId),
|
||||
FromScript(FromScriptMsg, CanvasId),
|
||||
Recreate(Size2D<u64>, CanvasId),
|
||||
Close(CanvasId),
|
||||
Exit,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue