mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -70,6 +70,7 @@ impl DisplayList {
|
|||
viewport_size: units::LayoutSize,
|
||||
content_size: units::LayoutSize,
|
||||
pipeline_id: wr::PipelineId,
|
||||
epoch: wr::Epoch,
|
||||
) -> Self {
|
||||
Self {
|
||||
wr: wr::DisplayListBuilder::new(pipeline_id, content_size),
|
||||
|
@ -77,6 +78,7 @@ impl DisplayList {
|
|||
viewport_size,
|
||||
content_size,
|
||||
pipeline_id,
|
||||
epoch,
|
||||
),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue