diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-06-08 13:53:33 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-06-09 13:05:16 -0400 |
commit | 75efaa95f53dd0f110d02d5d4009bb491290af4d (patch) | |
tree | face9912a579fe911f9a43b11dbc7f0c7f71a5b2 /components/layout/display_list | |
parent | a6016b3a62804788ad23358e34fa5c1f50716f9a (diff) | |
download | servo-75efaa95f53dd0f110d02d5d4009bb491290af4d.tar.gz servo-75efaa95f53dd0f110d02d5d4009bb491290af4d.zip |
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.
Diffstat (limited to 'components/layout/display_list')
-rw-r--r-- | components/layout/display_list/webrender_helpers.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/components/layout/display_list/webrender_helpers.rs b/components/layout/display_list/webrender_helpers.rs index dd187cf3704..9495b2ab166 100644 --- a/components/layout/display_list/webrender_helpers.rs +++ b/components/layout/display_list/webrender_helpers.rs @@ -234,6 +234,12 @@ impl DisplayItem { builder.push_iter(&stacking_context.filters); } + // 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. let wr_item = PushStackingContextDisplayItem { origin: bounds.origin, spatial_id, @@ -243,9 +249,7 @@ impl DisplayItem { mix_blend_mode: stacking_context.mix_blend_mode, clip_id: None, raster_space: RasterSpace::Screen, - // TODO(pcwalton): Enable picture caching? - cache_tiles: false, - is_backdrop_root: false, + flags: Default::default(), }, }; |