• ajuma's avatar
    Revert of cc: Re-use transforms from transform nodes when computing visible... · fa14fd7f
    ajuma authored
    Revert of cc: Re-use transforms from transform nodes when computing visible rects (patchset #2 id:20001 of https://codereview.chromium.org/1060413002/)
    
    Reason for revert:
    Causes css3/filters/effect-reference-hidpi-hw.html to have an incorrect visible rect.
    
    Original issue's description:
    > cc: Re-use transforms from transform nodes when computing visible rects
    >
    > This makes CalculateVisibleRects try to re-use the to_target and
    > from_target transforms stored in transform nodes whenever it needs to
    > compute a transform. Since these baked transforms incorporate the
    > target's sublayer scale, the fallback path now also includes sublayer
    > scale for consistency.
    >
    > Testing locally on a z620, this improves property tree computation time
    > by 7% on Gmail, and by 20% on rAF-driven poster circle.
    >
    > BUG=474725
    >
    > Committed: https://crrev.com/992c398b2fb0e7ab9c7ba58a8eb36787e03962e4
    > Cr-Commit-Position: refs/heads/master@{#324122}
    
    TBR=vollick@chromium.org
    
    BUG=474725
    
    Review URL: https://codereview.chromium.org/1077433003
    
    Cr-Commit-Position: refs/heads/master@{#324326}
    fa14fd7f
draw_property_utils.cc 13.1 KB