mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Proxy all WR interactions for layout/font/script/canvas threads to the compositor
thread. There is now a single RenderApi that is used, and all transactions are serialized through the compositor.
This commit is contained in:
parent
a6016b3a62
commit
75efaa95f5
16 changed files with 344 additions and 261 deletions
|
@ -234,6 +234,12 @@ impl StackingContext {
|
|||
));
|
||||
}
|
||||
|
||||
// TODO(jdm): WebRender now requires us to create stacking context items
|
||||
// with the IS_BLEND_CONTAINER flag enabled if any children
|
||||
// of the stacking context have a blend mode applied.
|
||||
// This will require additional tracking during layout
|
||||
// before we start collecting stacking contexts so that
|
||||
// information will be available when we reach this point.
|
||||
builder.wr.push_stacking_context(
|
||||
LayoutPoint::zero(), // origin
|
||||
self.spatial_id,
|
||||
|
@ -245,8 +251,7 @@ impl StackingContext {
|
|||
&vec![], // filter_datas
|
||||
&vec![], // filter_primitives
|
||||
wr::RasterSpace::Screen,
|
||||
false, // cache_tiles,
|
||||
false, // false
|
||||
wr::StackingContextFlags::empty(),
|
||||
);
|
||||
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue