mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Clean up and document the send_display_list
interface
This moves more members to the CompositorDisplayListInfo struct, which now holds all miscellaneous, non-WebRender data when sending display lists. It also documents what each things sent with a display list does.
This commit is contained in:
parent
0377a1853a
commit
4d3625ec80
8 changed files with 85 additions and 79 deletions
|
@ -28,6 +28,12 @@ impl Epoch {
|
|||
}
|
||||
}
|
||||
|
||||
impl Into<webrender_api::Epoch> for Epoch {
|
||||
fn into(self) -> webrender_api::Epoch {
|
||||
webrender_api::Epoch(self.0)
|
||||
}
|
||||
}
|
||||
|
||||
/// A unique ID for every stacking context.
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
|
||||
pub struct StackingContextId(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue