Closed Bug 1423324 Opened 6 years ago Closed 1 year ago
Add support for promoting parts of the Web
Render scene to native layers
Chrome has support for CoreAnimation and DirectComposite https://chromium.googlesource.com/chromium/src.git/+/master/components/viz/service/display/ca_layer_overlay.cc https://chromium.googlesource.com/chromium/src.git/+/master/components/viz/service/display/dc_layer_overlay.cc
Adding this functionality will be a substantial amount of work
Sorry if this is a stupid question, but is this orthogonal to webrender?
(In reply to Ben Kelly [:bkelly] from comment #2) > Sorry if this is a stupid question, but is this orthogonal to webrender? It's actually somewhat oppositional to webrender, though we've had a vague plan to handle this somehow.
Here's some documentation about what Chrome does on Mac: https://docs.google.com/document/d/1lNgxdWM6nrRKDrJ7QMG0jPBe_hTxGzS2s4OYJK7GB7U/edit#
And some information about the DirectComposite implementation https://codereview.chromium.org/2736643004
The direct composition implemenation is in https://cs.chromium.org/chromium/src/gpu/ipc/service/direct_composition_surface_win.cc
Also --show-mac-overlay-borders will show what's happening on Mac
6 years ago
Priority: -- → P3
Whiteboard: [gfx-noted][qf:f64][qf:p3] → [gfx-noted][qf:p3:f64]
Component: Graphics: Layers → Graphics: WebRender
Summary: Add support for overlay compositors → Add support for promoting parts of the WebRender scene to native layers
Performance Impact: --- → P3
Whiteboard: [gfx-noted][qf:p3] → [gfx-noted]
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.