Skip to content
  • ajuma's avatar
    cc: Replace LayerIterator with iterator that walks layer list and effect tree · 95621958
    ajuma authored
    LayerIterator was used to traverse the render surface layer list in
    front-to-back order. This assumed that every render surface had a
    corresponding layer that could be used to represent it. In the future
    we want to be able to create render surfaces for effect nodes that don't
    have any owning layer.
    
    This CL replaces LayerIterator with EffectTreeLayerListIterator, an
    iterator that visits layer and render surfaces in the same order as
    LayerIterator, but using only the layer list and effect tree, not the
    render surface layer list.
    
    BUG=611883
    CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
    
    Review-Url: https://codereview.chromium.org/2751783002
    Cr-Commit-Position: refs/heads/master@{#461804}
    95621958