Each Mus window should:
1. Submit a CompositorFrame.
2. Refer to its children in its CompositorFrame via SurfaceDrawQuads. Each child should have a corresponding SurfaceLayer in the parent's compositor.
3. When surface IDs change in a child, that should propagate to the parent which should update its SurfaceLayer.
I'm glossing over SurfaceSequence stuff because we will change that soon with Jellyfish uploading.
According to danakj@, that will give us back some of the occlusion culling optimizations in cc. We still don't get back partial occlusion (if one window [one surface] partially occludes another). We can start thinking about that post-Jellyfish upstreaming.
Each Mus window should:
1. Submit a CompositorFrame.
2. Refer to its children in its CompositorFrame via SurfaceDrawQuads. Each child should have a corresponding SurfaceLayer in the parent's compositor.
3. When surface IDs change in a child, that should propagate to the parent which should update its SurfaceLayer.
I'm glossing over SurfaceSequence stuff because we will change that soon with Jellyfish upstreaming.
According to danakj@, that will give us back some of the occlusion culling optimizations in cc. We still don't get back partial occlusion (if one window [one surface] partially occludes another). We can start thinking about that post-Jellyfish upstreaming.
Comment 1 by fsam...@chromium.org
, Sep 16 2016