mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update webrender.
This commit is contained in:
parent
fb95f9df9c
commit
9f855ae847
15 changed files with 370 additions and 214 deletions
|
@ -122,16 +122,16 @@ impl PipelineId {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn root_scroll_node(&self) -> webrender_api::ClipId {
|
||||
webrender_api::ClipId::root_scroll_node(self.to_webrender())
|
||||
pub fn root_scroll_node(&self) -> webrender_api::SpatialId {
|
||||
webrender_api::SpatialId::root_scroll_node(self.to_webrender())
|
||||
}
|
||||
|
||||
pub fn root_scroll_id(&self) -> webrender_api::ExternalScrollId {
|
||||
webrender_api::ExternalScrollId(0, self.to_webrender())
|
||||
}
|
||||
|
||||
pub fn root_clip_and_scroll_info(&self) -> webrender_api::ClipAndScrollInfo {
|
||||
webrender_api::ClipAndScrollInfo::simple(self.root_scroll_node())
|
||||
pub fn root_clip_node(&self) -> webrender_api::ClipId {
|
||||
webrender_api::ClipId::root(self.to_webrender())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue