Refactor to only need to check cull rect changes up to containing transform. [chromium/src : master]

0 views
Skip to first unread message

Chris harrelson (Gerrit)

unread,
Jun 21, 2017, 8:45:39 PM6/21/17
to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Justin Novosad, Stephen Chenney, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Rob Buis, Dirk Schulze

Chris harrelson uploaded patch set #3 to this change.

View Change

Refactor to only need to check cull rect changes up to containing transform.

This allows us to
(a) simplify the PrePaintTree walk code, and make it faster
and
(b) makes cull rects for transforms SPv2-compatible, because we can't cull them
out if they might end up composited

Details:
1. Stop culling out CSS transformed elements and passing along cull rects from above
the transform. This change means that we don't need to worry about any cull rects
of a transform or from outside of it.
2. Simplify cull rect change detection logic in PrePaintTreeWalk and
PaintPropertyTreeBuilder to check only for whether a clip rect changed, or was
added/removed, between self and containing transform. This is made possible by #1.
3. Stop optimizing out paint invalidations for empty visual rects. This avoids
paint under-invalidation failures in cases when a transform was previously clipped
out.


Bug:
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
---
M third_party/WebKit/LayoutTests/paint/invalidation/repaint-subsequence-on-ancestor-clip-change-complex.html
M third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
M third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
8 files changed, 75 insertions(+), 176 deletions(-)

To view, visit change 544024. To unsubscribe, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
Gerrit-Change-Number: 544024
Gerrit-PatchSet: 3
Gerrit-Owner: Chris harrelson <chri...@chromium.org>
Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
Gerrit-CC: Justin Novosad <ju...@chromium.org>
Gerrit-CC: Rik Cabanier <caba...@adobe.com>
Gerrit-CC: Rob Buis <rob....@samsung.com>
Gerrit-CC: Stephen Chenney <sche...@chromium.org>

Chris harrelson (Gerrit)

unread,
Jun 21, 2017, 8:50:06 PM6/21/17
to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

Chris harrelson posted comments on this change.

View Change

Patch set 3:Commit-Queue +1

    To view, visit change 544024. To unsubscribe, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
    Gerrit-Change-Number: 544024
    Gerrit-PatchSet: 3
    Gerrit-Owner: Chris harrelson <chri...@chromium.org>
    Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
    Gerrit-CC: Justin Novosad <ju...@chromium.org>
    Gerrit-CC: Rik Cabanier <caba...@adobe.com>
    Gerrit-CC: Rob Buis <rob....@samsung.com>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Comment-Date: Thu, 22 Jun 2017 00:50:04 +0000
    Gerrit-HasComments: No
    Gerrit-HasLabels: Yes

    Chris harrelson (Gerrit)

    unread,
    Jun 22, 2017, 6:21:04 PM6/22/17
    to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

    Chris harrelson posted comments on this change.

    View Change

    Patch set 4:Commit-Queue +1

      To view, visit change 544024. To unsubscribe, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: comment
      Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
      Gerrit-Change-Number: 544024
      Gerrit-PatchSet: 4
      Gerrit-Owner: Chris harrelson <chri...@chromium.org>
      Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
      Gerrit-CC: Commit Bot <commi...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
      Gerrit-CC: Justin Novosad <ju...@chromium.org>
      Gerrit-CC: Rik Cabanier <caba...@adobe.com>
      Gerrit-CC: Rob Buis <rob....@samsung.com>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-Comment-Date: Thu, 22 Jun 2017 22:21:02 +0000
      Gerrit-HasComments: No
      Gerrit-HasLabels: Yes

      Chris harrelson (Gerrit)

      unread,
      Jun 22, 2017, 6:31:18 PM6/22/17
      to Philip Rogers, Xianzhu Wang, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org

      Chris harrelson would like Philip Rogers and Xianzhu Wang to review this change.

      View Change

      Refactor to only need to check cull rect changes up to containing transform.

      This allows us to
      (a) simplify the PrePaintTree walk code, and make it faster
      and
      (b) makes cull rects for transforms SPv2-compatible, because we can't cull them
      out if they might end up composited

      Details:
      1. Stop culling out CSS transformed elements and passing along cull rects from above
      the transform. This change means that we don't need to worry about any cull rects
      of a transform or from outside of it.
      2. Simplify cull rect change detection logic in PrePaintTreeWalk and
      PaintPropertyTreeBuilder to check only for whether a clip rect changed, or was
      added/removed, between self and containing transform. This is made possible by #1.
      3. Stop optimizing out paint invalidations for empty visual rects. This avoids
      paint under-invalidation failures in cases when a transform was previously clipped
      out.


      Bug:
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
      ---
      M third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
      M third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp

      M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
      M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
      M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
      M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
      M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
      M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp
      M third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
      9 files changed, 80 insertions(+), 208 deletions(-)


      To view, visit change 544024. To unsubscribe, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: newchange
      Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
      Gerrit-Change-Number: 544024
      Gerrit-PatchSet: 4
      Gerrit-Owner: Chris harrelson <chri...@chromium.org>
      Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>

      Chris harrelson (Gerrit)

      unread,
      Jun 22, 2017, 6:31:18 PM6/22/17
      to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Xianzhu Wang, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

      Chris harrelson posted comments on this change.

      View Change

      Patch set 4:

      (2 comments)

      • File third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp:

        • Patch Set #4, Line 547:

          I removed this optimization, because otherwise we'd have to somehow either
          (a) invalidate invisible things only when transformed, or (b) change
          the definition of Visual Rect to skip clips above transforms.

          (b) would lead to negative performance impacts on RTRees, or the need
          to compute two kinds of rects for every LayoutObject.

          Note, however, that SPv2 will not have a significant amount of empty visual
          rects, because the Visual Rect in SPv2 is defined as the unclipped bounds
          of painting of the object in the space of the containing transform node.
          Therefore SPv2 will have to pay the cost of invalidating these objects,
          and so we should pay that cost now in order to gather any important
          performance feedback.

      • File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:

        • Patch Set #4, Line 808:

          This codes stops culling transformed content. based on clips above it.

          It will have a negative performance impact of some kind on some web pages which
          had hidden content under a transform, or when transformed offscrreen (a
          more likely scenario).

          However, it seems unavoidable in the SPv2 architecture, so I think we should bite
          the bullet and accept it now, so we can gather any performance feedback earlier.

      To view, visit change 544024. To unsubscribe, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: comment
      Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
      Gerrit-Change-Number: 544024
      Gerrit-PatchSet: 4
      Gerrit-Owner: Chris harrelson <chri...@chromium.org>
      Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
      Gerrit-CC: Commit Bot <commi...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
      Gerrit-CC: Justin Novosad <ju...@chromium.org>
      Gerrit-CC: Rik Cabanier <caba...@adobe.com>
      Gerrit-CC: Rob Buis <rob....@samsung.com>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-Comment-Date: Thu, 22 Jun 2017 22:31:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-HasLabels: No

      Chris harrelson (Gerrit)

      unread,
      Jun 22, 2017, 6:48:27 PM6/22/17
      to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Xianzhu Wang, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

      Chris harrelson posted comments on this change.

      View Change

      Patch set 6:Commit-Queue +1

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Thu, 22 Jun 2017 22:48:24 +0000
        Gerrit-HasComments: No
        Gerrit-HasLabels: Yes

        Xianzhu Wang (Gerrit)

        unread,
        Jun 22, 2017, 7:17:00 PM6/22/17
        to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Xianzhu Wang posted comments on this change.

        View Change

        Patch set 6:

        (2 comments)

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Thu, 22 Jun 2017 23:16:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Chris harrelson (Gerrit)

        unread,
        Jun 22, 2017, 7:22:31 PM6/22/17
        to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Chris harrelson posted comments on this change.

        View Change

        Patch set 6:

        (1 comment)

          • An example is paint/invalidation/percentage-transform-paint-offset.html.

            In this test, the div with id container-outer is transformed and has an empty
            visual rect before and after the style change, due to being clipped out by its
            container's clip, but nevertheless changes width from 700px to 600px. Without
            the change to stop optimizing out such invalidations, we wouldn't paint the
            contents of that transform correctly. This is not user-visibile for SPv1,
            so it is technically not a bug. For SPv2 there will be no empty visual rect
            in this case.

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Thu, 22 Jun 2017 23:22:28 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Xianzhu Wang (Gerrit)

        unread,
        Jun 22, 2017, 8:09:35 PM6/22/17
        to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Xianzhu Wang posted comments on this change.

        View Change

        Patch set 6:

        (2 comments)

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 00:09:32 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Chris harrelson (Gerrit)

        unread,
        Jun 22, 2017, 8:15:58 PM6/22/17
        to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Chris harrelson posted comments on this change.

        View Change

        Patch set 6:

        (2 comments)

          • Patch Set #4, Line 856: &paint_layer_, LayoutRect(LayoutRect::InfiniteIntRect()),

            What if the bounds of subtree are very big (much bigger than the interest r

          • Yes. Will fix that.

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 00:15:55 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Xianzhu Wang (Gerrit)

        unread,
        Jun 22, 2017, 8:41:59 PM6/22/17
        to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Xianzhu Wang posted comments on this change.

        View Change

        Patch set 6:

        (2 comments)

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 00:41:56 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Philip Rogers (Gerrit)

        unread,
        Jun 22, 2017, 9:37:51 PM6/22/17
        to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Philip Rogers posted comments on this change.

        View Change

        Patch set 6:

        (5 comments)

          • An example is paint/invalidation/percentage-transform-paint-offset.html.

            We talked about this patch possibly fixing an existing spv1 bug where transformed content is animated up from the bottom of the html5 single page spec. Is that a real bug fixed by this patch?

        • File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 01:37:45 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Xianzhu Wang (Gerrit)

        unread,
        Jun 22, 2017, 11:14:15 PM6/22/17
        to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Xianzhu Wang posted comments on this change.

        View Change

        Patch set 6:

        (1 comment)

          • Can you think of a real scenario where the subtree bounds would be huge and

            I'm not sure how rare cases like the following are:
            <div style="transform: translateX(0)"><!-- or any other property triggering this code path-->
            main contents of the page
            </div>

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 6
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 03:14:12 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Chris harrelson (Gerrit)

        unread,
        Jun 23, 2017, 3:45:27 PM6/23/17
        to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Chris harrelson posted comments on this change.

        View Change

        Patch set 7:

        (6 comments)

          • Can you add a comment here describing why we need to track this and how it

          • Patch Set #6, Line 145: context.tree_builder_context->clip_changed = false;

            Do you also need to do this for the svg local transform?

        To view, visit change 544024. To unsubscribe, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
        Gerrit-Change-Number: 544024
        Gerrit-PatchSet: 7
        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
        Gerrit-CC: Justin Novosad <ju...@chromium.org>
        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Comment-Date: Fri, 23 Jun 2017 19:45:24 +0000
        Gerrit-HasComments: Yes
        Gerrit-HasLabels: No

        Chris harrelson (Gerrit)

        unread,
        Jun 23, 2017, 3:45:36 PM6/23/17
        to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

        Chris harrelson posted comments on this change.

        View Change

        Patch set 7:Commit-Queue +1

          To view, visit change 544024. To unsubscribe, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
          Gerrit-Change-Number: 544024
          Gerrit-PatchSet: 7
          Gerrit-Owner: Chris harrelson <chri...@chromium.org>
          Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
          Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
          Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
          Gerrit-CC: Justin Novosad <ju...@chromium.org>
          Gerrit-CC: Rik Cabanier <caba...@adobe.com>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-CC: Stephen Chenney <sche...@chromium.org>
          Gerrit-Comment-Date: Fri, 23 Jun 2017 19:45:34 +0000
          Gerrit-HasComments: No
          Gerrit-HasLabels: Yes

          Xianzhu Wang (Gerrit)

          unread,
          Jun 23, 2017, 3:56:10 PM6/23/17
          to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

          Xianzhu Wang posted comments on this change.

          View Change

          Patch set 7:

          (1 comment)

            • Not sure what to do. Shall we keep it as-is and refine later? Otherwise I c

              SGTM if you mean keeping the old code as-is. If we do need the bigger rect for SPv2, I think we should add a condition here to avoid the change from affecting SPv1 non-composited layers.

          To view, visit change 544024. To unsubscribe, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
          Gerrit-Change-Number: 544024
          Gerrit-PatchSet: 7
          Gerrit-Owner: Chris harrelson <chri...@chromium.org>
          Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
          Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
          Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
          Gerrit-CC: Justin Novosad <ju...@chromium.org>
          Gerrit-CC: Rik Cabanier <caba...@adobe.com>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-CC: Stephen Chenney <sche...@chromium.org>
          Gerrit-Comment-Date: Fri, 23 Jun 2017 19:56:07 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: No

          Chris harrelson (Gerrit)

          unread,
          Jun 23, 2017, 4:10:05 PM6/23/17
          to Philip Rogers, Xianzhu Wang, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Justin Novosad, Stephen Chenney, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Rob Buis, Commit Bot, Dirk Schulze

          Chris harrelson uploaded patch set #9 to this change.

          View Change

          Refactor to only need to check cull rect changes up to containing transform.

          This allows us to
          (a) simplify the PrePaintTree walk code, and make it faster
          and
          (b) makes cull rects for transforms SPv2-compatible, because we can't cull them
          out if they might end up composited

          Details:
          1. Stop culling out CSS transformed elements and passing along cull rects from above
          the transform. This change means that we don't need to worry about any cull rects
          of a transform or from outside of it.
          2. Simplify cull rect change detection logic in PrePaintTreeWalk and
          PaintPropertyTreeBuilder to check only for whether a clip rect changed, or was
          added/removed, between self and containing transform. This is made possible by #1.
          3. Stop optimizing out paint invalidations for empty visual rects. This avoids
          paint under-invalidation failures in cases when a transform was previously clipped
          out.


          Bug: 729514

          Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
          Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
          ---
          M third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
          M third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp
          M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
          M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
          M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
          M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
          M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
          M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp
          M third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
          9 files changed, 94 insertions(+), 207 deletions(-)

          To view, visit change 544024. To unsubscribe, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: newpatchset
          Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
          Gerrit-Change-Number: 544024
          Gerrit-PatchSet: 9

          Chris harrelson (Gerrit)

          unread,
          Jun 23, 2017, 4:24:55 PM6/23/17
          to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

          Chris harrelson posted comments on this change.

          View Change

          Patch set 10:Commit-Queue +1

            To view, visit change 544024. To unsubscribe, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-MessageType: comment
            Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
            Gerrit-Change-Number: 544024
            Gerrit-PatchSet: 10
            Gerrit-Owner: Chris harrelson <chri...@chromium.org>
            Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
            Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
            Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
            Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
            Gerrit-CC: Justin Novosad <ju...@chromium.org>
            Gerrit-CC: Rik Cabanier <caba...@adobe.com>
            Gerrit-CC: Rob Buis <rob....@samsung.com>
            Gerrit-CC: Stephen Chenney <sche...@chromium.org>
            Gerrit-Comment-Date: Fri, 23 Jun 2017 20:24:45 +0000
            Gerrit-HasComments: No
            Gerrit-HasLabels: Yes

            Chris harrelson (Gerrit)

            unread,
            Jun 23, 2017, 4:25:08 PM6/23/17
            to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

            Chris harrelson posted comments on this change.

            View Change

            Patch set 10:

            Added two layout tests to test changes to css clip and mask clip.

              To view, visit change 544024. To unsubscribe, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-MessageType: comment
              Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
              Gerrit-Change-Number: 544024
              Gerrit-PatchSet: 10
              Gerrit-Owner: Chris harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
              Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
              Gerrit-CC: Justin Novosad <ju...@chromium.org>
              Gerrit-CC: Rik Cabanier <caba...@adobe.com>
              Gerrit-CC: Rob Buis <rob....@samsung.com>
              Gerrit-CC: Stephen Chenney <sche...@chromium.org>
              Gerrit-Comment-Date: Fri, 23 Jun 2017 20:25:05 +0000
              Gerrit-HasComments: No
              Gerrit-HasLabels: No

              Chris harrelson (Gerrit)

              unread,
              Jun 23, 2017, 4:32:53 PM6/23/17
              to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

              Chris harrelson posted comments on this change.

              View Change

              Patch set 10:

              (1 comment)

                • SGTM if you mean keeping the old code as-is. If we do need the bigger rect

                  Just discussed with pdr in person. Sounds like we are all ok with leaving the code as-is
                  in the patch?

                  Regarding the suggestion for SPv2 differences: it's imperative that we stop culling transforms
                  with non-interest-rect clips in SPv1, because the pre-paint tree walk strategy I implemented
                  depends upon it not being culled.

              To view, visit change 544024. To unsubscribe, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-MessageType: comment
              Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
              Gerrit-Change-Number: 544024
              Gerrit-PatchSet: 10
              Gerrit-Owner: Chris harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
              Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
              Gerrit-CC: Justin Novosad <ju...@chromium.org>
              Gerrit-CC: Rik Cabanier <caba...@adobe.com>
              Gerrit-CC: Rob Buis <rob....@samsung.com>
              Gerrit-CC: Stephen Chenney <sche...@chromium.org>
              Gerrit-Comment-Date: Fri, 23 Jun 2017 20:32:49 +0000
              Gerrit-HasComments: Yes
              Gerrit-HasLabels: No

              Chris harrelson (Gerrit)

              unread,
              Jun 23, 2017, 4:41:09 PM6/23/17
              to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

              Chris harrelson posted comments on this change.

              View Change

              Patch set 10:

              (1 comment)

                • We talked about this patch possibly fixing an existing spv1 bug where trans

                  Turns out there is no such bug. In the composited case, setting the transform
                  moves the composited layer onto the screen via the usual compositor drawing mechanics,
                  and blink doesn't have to do anything. In the non-composited case, setting the transform
                  is detected by repaint-after-layout.

              To view, visit change 544024. To unsubscribe, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-MessageType: comment
              Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
              Gerrit-Change-Number: 544024
              Gerrit-PatchSet: 10
              Gerrit-Owner: Chris harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
              Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
              Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
              Gerrit-CC: Justin Novosad <ju...@chromium.org>
              Gerrit-CC: Rik Cabanier <caba...@adobe.com>
              Gerrit-CC: Rob Buis <rob....@samsung.com>
              Gerrit-CC: Stephen Chenney <sche...@chromium.org>
              Gerrit-Comment-Date: Fri, 23 Jun 2017 20:41:06 +0000
              Gerrit-HasComments: Yes
              Gerrit-HasLabels: No

              Philip Rogers (Gerrit)

              unread,
              Jun 23, 2017, 5:15:56 PM6/23/17
              to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

              Philip Rogers posted comments on this change.

              View Change

              Patch set 11:Code-Review +1

              LGTM here but please wait for Xianzhu to review too.

                To view, visit change 544024. To unsubscribe, visit settings.

                Gerrit-Project: chromium/src
                Gerrit-Branch: master
                Gerrit-MessageType: comment
                Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                Gerrit-Change-Number: 544024
                Gerrit-PatchSet: 11
                Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                Gerrit-CC: Commit Bot <commi...@chromium.org>
                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                Gerrit-CC: Justin Novosad <ju...@chromium.org>
                Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                Gerrit-CC: Rob Buis <rob....@samsung.com>
                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                Gerrit-Comment-Date: Fri, 23 Jun 2017 21:15:53 +0000
                Gerrit-HasComments: No
                Gerrit-HasLabels: Yes

                Philip Rogers (Gerrit)

                unread,
                Jun 23, 2017, 5:16:47 PM6/23/17
                to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                Philip Rogers posted comments on this change.

                View Change

                Patch set 11:

                just fyi, you will need to rebase on top of Xianzhu's change: https://chromium-review.googlesource.com/c/545241/

                  To view, visit change 544024. To unsubscribe, visit settings.

                  Gerrit-Project: chromium/src
                  Gerrit-Branch: master
                  Gerrit-MessageType: comment
                  Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                  Gerrit-Change-Number: 544024
                  Gerrit-PatchSet: 11
                  Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                  Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                  Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                  Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                  Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                  Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                  Gerrit-CC: Justin Novosad <ju...@chromium.org>
                  Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                  Gerrit-CC: Rob Buis <rob....@samsung.com>
                  Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                  Gerrit-Comment-Date: Fri, 23 Jun 2017 21:16:45 +0000
                  Gerrit-HasComments: No
                  Gerrit-HasLabels: No

                  Xianzhu Wang (Gerrit)

                  unread,
                  Jun 23, 2017, 5:21:35 PM6/23/17
                  to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                  Xianzhu Wang posted comments on this change.

                  View Change

                  Patch set 11:Code-Review +1

                    To view, visit change 544024. To unsubscribe, visit settings.

                    Gerrit-Project: chromium/src
                    Gerrit-Branch: master
                    Gerrit-MessageType: comment
                    Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                    Gerrit-Change-Number: 544024
                    Gerrit-PatchSet: 11
                    Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                    Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                    Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                    Gerrit-Comment-Date: Fri, 23 Jun 2017 21:21:32 +0000
                    Gerrit-HasComments: No
                    Gerrit-HasLabels: Yes

                    Chris harrelson (Gerrit)

                    unread,
                    Jun 23, 2017, 8:09:44 PM6/23/17
                    to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                    Chris harrelson posted comments on this change.

                    View Change

                    Patch set 13:Commit-Queue +2

                      To view, visit change 544024. To unsubscribe, visit settings.

                      Gerrit-Project: chromium/src
                      Gerrit-Branch: master
                      Gerrit-MessageType: comment
                      Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                      Gerrit-Change-Number: 544024
                      Gerrit-PatchSet: 13
                      Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                      Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                      Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                      Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                      Gerrit-CC: Justin Novosad <ju...@chromium.org>
                      Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                      Gerrit-CC: Rob Buis <rob....@samsung.com>
                      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                      Gerrit-Comment-Date: Sat, 24 Jun 2017 00:09:40 +0000
                      Gerrit-HasComments: No
                      Gerrit-HasLabels: Yes

                      Commit Bot (Gerrit)

                      unread,
                      Jun 23, 2017, 8:09:54 PM6/23/17
                      to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                      Commit Bot posted comments on this change.

                      View Change

                      Patch set 13:

                      CQ is trying da patch.

                      Note: The patchset sent to CQ was uploaded after this CL was approved.
                      "none" https://chromium-review.googlesource.com/c/544024/13

                      Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/544024/13

                      Bot data: {"action": "start", "triggered_at": "2017-06-24T00:09:40.0Z", "cq_cfg_revision": "e12d437dc7f395d72995b548c9dacf21b0b1526e", "revision": "7958297cce4588442f5e973e389ed23d35425861"}

                        To view, visit change 544024. To unsubscribe, visit settings.

                        Gerrit-Project: chromium/src
                        Gerrit-Branch: master
                        Gerrit-MessageType: comment
                        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                        Gerrit-Change-Number: 544024
                        Gerrit-PatchSet: 13
                        Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                        Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                        Gerrit-CC: Justin Novosad <ju...@chromium.org>
                        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                        Gerrit-CC: Rob Buis <rob....@samsung.com>
                        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                        Gerrit-Comment-Date: Sat, 24 Jun 2017 00:09:52 +0000
                        Gerrit-HasComments: No
                        Gerrit-HasLabels: No

                        Commit Bot (Gerrit)

                        unread,
                        Jun 23, 2017, 9:21:18 PM6/23/17
                        to Chris harrelson, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                        Commit Bot posted comments on this change.

                        View Change

                        Patch set 13:

                        Try jobs failed on following builders:
                        linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/487139)

                        Bot data: {"action": "cancel", "triggered_at": "2017-06-24T00:09:40.0Z", "cq_cfg_revision": "e12d437dc7f395d72995b548c9dacf21b0b1526e", "revision": "7958297cce4588442f5e973e389ed23d35425861"}

                          To view, visit change 544024. To unsubscribe, visit settings.

                          Gerrit-Project: chromium/src
                          Gerrit-Branch: master
                          Gerrit-MessageType: comment
                          Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                          Gerrit-Change-Number: 544024
                          Gerrit-PatchSet: 13
                          Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                          Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                          Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                          Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                          Gerrit-CC: Justin Novosad <ju...@chromium.org>
                          Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                          Gerrit-CC: Rob Buis <rob....@samsung.com>
                          Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                          Gerrit-Comment-Date: Sat, 24 Jun 2017 01:21:15 +0000
                          Gerrit-HasComments: No
                          Gerrit-HasLabels: No

                          Chris harrelson (Gerrit)

                          unread,
                          Jun 24, 2017, 4:40:28 PM6/24/17
                          to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                          Chris harrelson posted comments on this change.

                          View Change

                          Patch set 16:Commit-Queue +1

                            To view, visit change 544024. To unsubscribe, visit settings.

                            Gerrit-Project: chromium/src
                            Gerrit-Branch: master
                            Gerrit-MessageType: comment
                            Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                            Gerrit-Change-Number: 544024
                            Gerrit-PatchSet: 16
                            Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                            Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                            Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                            Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                            Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                            Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                            Gerrit-CC: Justin Novosad <ju...@chromium.org>
                            Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                            Gerrit-CC: Rob Buis <rob....@samsung.com>
                            Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                            Gerrit-Comment-Date: Sat, 24 Jun 2017 20:40:26 +0000
                            Gerrit-HasComments: No
                            Gerrit-HasLabels: Yes

                            Chris harrelson (Gerrit)

                            unread,
                            Jun 25, 2017, 4:10:00 PM6/25/17
                            to Philip Rogers, Xianzhu Wang, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Justin Novosad, Stephen Chenney, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Rob Buis, Commit Bot, Dirk Schulze

                            Chris harrelson uploaded patch set #18 to this change.

                            View Change

                            Refactor to only need to check cull rect changes up to containing transform.

                            This allows us to
                            (a) simplify the PrePaintTree walk code, and make it faster
                            and
                            (b) makes cull rects for transforms SPv2-compatible, because we can't cull them
                            out if they might end up composited

                            Details:
                            1. Stop culling out CSS transformed elements and passing along cull rects from above
                            the transform. This change means that we don't need to worry about any cull rects
                            of a transform or from outside of it.
                            2. Simplify cull rect change detection logic in PrePaintTreeWalk and
                            PaintPropertyTreeBuilder to check only for whether a clip rect changed, or was
                            added/removed, between self and containing transform. This is made possible by #1.
                            3. Stop optimizing out paint invalidations for empty visual rects under transform.

                            This avoids paint under-invalidation failures in cases when a transform was
                            previously clipped out.


                            Bug: 729514

                            Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
                            Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                            ---
                            A third_party/WebKit/LayoutTests/paint/invalidation/css-clip-change-stacking-child-expected.txt
                            A third_party/WebKit/LayoutTests/paint/invalidation/css-clip-change-stacking-child.html
                            A third_party/WebKit/LayoutTests/paint/invalidation/mask-clip-change-stacking-child-expected.txt
                            A third_party/WebKit/LayoutTests/paint/invalidation/mask-clip-change-stacking-child.html
                            M third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
                            M third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp
                            M third_party/WebKit/Source/core/paint/PaintInvalidator.h

                            M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
                            M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
                            M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
                            M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
                            M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
                            M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp
                            M third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
                            M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
                            15 files changed, 212 insertions(+), 222 deletions(-)

                            To view, visit change 544024. To unsubscribe, visit settings.

                            Gerrit-Project: chromium/src
                            Gerrit-Branch: master
                            Gerrit-MessageType: newpatchset
                            Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                            Gerrit-Change-Number: 544024
                            Gerrit-PatchSet: 18

                            Chris harrelson (Gerrit)

                            unread,
                            Jun 25, 2017, 4:10:23 PM6/25/17
                            to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                            Chris harrelson posted comments on this change.

                            View Change

                            Patch set 18:Commit-Queue +1

                              To view, visit change 544024. To unsubscribe, visit settings.

                              Gerrit-Project: chromium/src
                              Gerrit-Branch: master
                              Gerrit-MessageType: comment
                              Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                              Gerrit-Change-Number: 544024
                              Gerrit-PatchSet: 18
                              Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                              Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                              Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                              Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                              Gerrit-CC: Commit Bot <commi...@chromium.org>
                              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                              Gerrit-CC: Justin Novosad <ju...@chromium.org>
                              Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                              Gerrit-CC: Rob Buis <rob....@samsung.com>
                              Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                              Gerrit-Comment-Date: Sun, 25 Jun 2017 20:10:20 +0000
                              Gerrit-HasComments: No
                              Gerrit-HasLabels: Yes

                              Chris harrelson (Gerrit)

                              unread,
                              Jun 26, 2017, 2:16:45 PM6/26/17
                              to Philip Rogers, Xianzhu Wang, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Justin Novosad, Stephen Chenney, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Rob Buis, Commit Bot, Dirk Schulze

                              Chris harrelson uploaded patch set #19 to this change.

                              View Change

                              Refactor to only need to check cull rect changes up to containing transform.

                              This allows us to
                              (a) simplify the PrePaintTree walk code, and make it faster
                              and
                              (b) makes cull rects for transforms SPv2-compatible, because we can't cull them
                              out if they might end up composited

                              Details:
                              1. Stop culling out CSS transformed elements and passing along cull rects from above
                              the transform. This change means that we don't need to worry about any cull rects
                              of a transform or from outside of it.
                              2. Simplify cull rect change detection logic in PrePaintTreeWalk and
                              PaintPropertyTreeBuilder to check only for whether a clip rect changed, or was
                              added/removed, between self and containing transform. This is made possible by #1.
                              3. Stop optimizing out paint invalidations for empty visual rects under transform.
                              This avoids paint under-invalidation failures in cases when a transform was
                              previously clipped out.
                              4. Remove ancestor_transformed_or_root_paint_layer from the pre-paint tree
                              walk context.



                              Bug: 729514
                              Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
                              Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                              ---
                              A third_party/WebKit/LayoutTests/paint/invalidation/css-clip-change-stacking-child-expected.txt
                              A third_party/WebKit/LayoutTests/paint/invalidation/css-clip-change-stacking-child.html
                              A third_party/WebKit/LayoutTests/paint/invalidation/mask-clip-change-stacking-child-expected.txt
                              A third_party/WebKit/LayoutTests/paint/invalidation/mask-clip-change-stacking-child.html
                              M third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
                              M third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp
                              M third_party/WebKit/Source/core/paint/PaintInvalidator.h
                              M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
                              M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
                              M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
                              M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
                              M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
                              M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp
                              M third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
                              M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
                              15 files changed, 212 insertions(+), 222 deletions(-)

                              To view, visit change 544024. To unsubscribe, visit settings.

                              Gerrit-Project: chromium/src
                              Gerrit-Branch: master
                              Gerrit-MessageType: newpatchset
                              Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                              Gerrit-Change-Number: 544024
                              Gerrit-PatchSet: 19

                              Chris harrelson (Gerrit)

                              unread,
                              Jun 26, 2017, 2:21:56 PM6/26/17
                              to blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                              Chris harrelson posted comments on this change.

                              View Change

                              Patch set 20:

                              Updated the patch to no longer skip empty visual rects in
                              ObjectPaintInvalidator except under transform. I made this change because
                              there were a lot of affected paint invalidation tests, and I was concerned
                              about unnecessarily worsening performance for cases that really are
                              clipped out and not under transforms.

                              Running a rebaseline-cl job now, but a run yesterday yielded only a few
                              changed tests, and those were a couple of additional invalidations.

                                To view, visit change 544024. To unsubscribe, visit settings.

                                Gerrit-Project: chromium/src
                                Gerrit-Branch: master
                                Gerrit-MessageType: comment
                                Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                Gerrit-Change-Number: 544024
                                Gerrit-PatchSet: 20
                                Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                                Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                                Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                Gerrit-CC: Commit Bot <commi...@chromium.org>
                                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                Gerrit-CC: Rob Buis <rob....@samsung.com>
                                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                Gerrit-Comment-Date: Mon, 26 Jun 2017 18:21:52 +0000
                                Gerrit-HasComments: No
                                Gerrit-HasLabels: No

                                Chris harrelson (Gerrit)

                                unread,
                                Jun 26, 2017, 5:02:32 PM6/26/17
                                to blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                Chris harrelson posted comments on this change.

                                View Change

                                Patch set 21:Commit-Queue +1

                                  To view, visit change 544024. To unsubscribe, visit settings.

                                  Gerrit-Project: chromium/src
                                  Gerrit-Branch: master
                                  Gerrit-MessageType: comment
                                  Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                  Gerrit-Change-Number: 544024
                                  Gerrit-PatchSet: 21
                                  Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                                  Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                                  Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                  Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                  Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                  Gerrit-CC: Commit Bot <commi...@chromium.org>
                                  Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                  Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                  Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                  Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                  Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                  Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                  Gerrit-CC: Rob Buis <rob....@samsung.com>
                                  Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                  Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                  Gerrit-Comment-Date: Mon, 26 Jun 2017 21:02:30 +0000
                                  Gerrit-HasComments: No
                                  Gerrit-HasLabels: Yes

                                  Chris harrelson (Gerrit)

                                  unread,
                                  Jun 26, 2017, 6:14:26 PM6/26/17
                                  to blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Xianzhu Wang, Philip Rogers, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                  Chris harrelson posted comments on this change.

                                  View Change

                                  Patch set 22:Commit-Queue +1

                                    To view, visit change 544024. To unsubscribe, visit settings.

                                    Gerrit-Project: chromium/src
                                    Gerrit-Branch: master
                                    Gerrit-MessageType: comment
                                    Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                    Gerrit-Change-Number: 544024
                                    Gerrit-PatchSet: 22
                                    Gerrit-Owner: Chris harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Chris harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                    Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                    Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                    Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                    Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                                    Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                    Gerrit-Comment-Date: Mon, 26 Jun 2017 22:14:23 +0000
                                    Gerrit-HasComments: No
                                    Gerrit-HasLabels: Yes

                                    Philip Rogers (Gerrit)

                                    unread,
                                    Jun 26, 2017, 7:09:13 PM6/26/17
                                    to Chris Harrelson, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Xianzhu Wang, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                    Philip Rogers posted comments on this change.

                                    View Change

                                    Patch set 22:

                                    Still LGTM but please wait for Xianzhu's review too

                                    (3 comments)

                                    To view, visit change 544024. To unsubscribe, visit settings.

                                    Gerrit-Project: chromium/src
                                    Gerrit-Branch: master
                                    Gerrit-MessageType: comment
                                    Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                    Gerrit-Change-Number: 544024
                                    Gerrit-PatchSet: 22
                                    Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                    Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                    Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                    Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                    Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                                    Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                    Gerrit-Comment-Date: Mon, 26 Jun 2017 23:09:10 +0000
                                    Gerrit-HasComments: Yes
                                    Gerrit-HasLabels: No

                                    Xianzhu Wang (Gerrit)

                                    unread,
                                    Jun 26, 2017, 7:14:38 PM6/26/17
                                    to Chris Harrelson, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                    Xianzhu Wang posted comments on this change.

                                    View Change

                                    Patch set 22:

                                    LGTM

                                    (1 comment)

                                      • Perhaps because of the removal of empty rect optimization? If yes, this looks good because object invalidation is fast, and we still won't invalidate empty rects.

                                    To view, visit change 544024. To unsubscribe, visit settings.

                                    Gerrit-Project: chromium/src
                                    Gerrit-Branch: master
                                    Gerrit-MessageType: comment
                                    Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                    Gerrit-Change-Number: 544024
                                    Gerrit-PatchSet: 22
                                    Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                    Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                    Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                    Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                    Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                                    Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                    Gerrit-Comment-Date: Mon, 26 Jun 2017 23:14:35 +0000
                                    Gerrit-HasComments: Yes
                                    Gerrit-HasLabels: No

                                    Chris Harrelson (Gerrit)

                                    unread,
                                    Jun 26, 2017, 10:32:14 PM6/26/17
                                    to blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                    Chris Harrelson posted comments on this change.

                                    View Change

                                    Patch set 24:

                                    Also moved the code to PaintInvalidator, which is cleaner.

                                    (3 comments)

                                      • Can you pull this object == invalidation container bit into a bool? I think

                                      • Done

                                      • This line was not obvious to me at first. Can you add a comment here that s

                                        Done

                                    To view, visit change 544024. To unsubscribe, visit settings.

                                    Gerrit-Project: chromium/src
                                    Gerrit-Branch: master
                                    Gerrit-MessageType: comment
                                    Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                    Gerrit-Change-Number: 544024
                                    Gerrit-PatchSet: 24
                                    Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                    Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                    Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                    Gerrit-CC: Commit Bot <commi...@chromium.org>
                                    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                    Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                    Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                    Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                    Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                    Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                    Gerrit-CC: Rob Buis <rob....@samsung.com>
                                    Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                    Gerrit-Comment-Date: Tue, 27 Jun 2017 02:32:11 +0000
                                    Gerrit-HasComments: Yes
                                    Gerrit-HasLabels: No

                                    Chris Harrelson (Gerrit)

                                    unread,
                                    Jun 26, 2017, 10:32:17 PM6/26/17
                                    to blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                    Chris Harrelson posted comments on this change.

                                    View Change

                                    Patch set 24:Commit-Queue +1

                                      To view, visit change 544024. To unsubscribe, visit settings.

                                      Gerrit-Project: chromium/src
                                      Gerrit-Branch: master
                                      Gerrit-MessageType: comment
                                      Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                      Gerrit-Change-Number: 544024
                                      Gerrit-PatchSet: 24
                                      Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                      Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                      Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                      Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                      Gerrit-CC: Commit Bot <commi...@chromium.org>
                                      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                      Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                      Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                      Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                      Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                      Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                      Gerrit-CC: Rob Buis <rob....@samsung.com>
                                      Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                      Gerrit-Comment-Date: Tue, 27 Jun 2017 02:32:14 +0000
                                      Gerrit-HasComments: No
                                      Gerrit-HasLabels: Yes

                                      Chris Harrelson (Gerrit)

                                      unread,
                                      Jun 27, 2017, 5:04:22 PM6/27/17
                                      to blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                      Chris Harrelson posted comments on this change.

                                      View Change

                                      Patch set 25:Commit-Queue +2

                                        To view, visit change 544024. To unsubscribe, visit settings.

                                        Gerrit-Project: chromium/src
                                        Gerrit-Branch: master
                                        Gerrit-MessageType: comment
                                        Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                        Gerrit-Change-Number: 544024
                                        Gerrit-PatchSet: 25
                                        Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                        Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                        Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                        Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                        Gerrit-CC: Commit Bot <commi...@chromium.org>
                                        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                        Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                        Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                        Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                        Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                        Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                        Gerrit-CC: Rob Buis <rob....@samsung.com>
                                        Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                        Gerrit-Comment-Date: Tue, 27 Jun 2017 21:04:17 +0000
                                        Gerrit-HasComments: No
                                        Gerrit-HasLabels: Yes

                                        Commit Bot (Gerrit)

                                        unread,
                                        Jun 27, 2017, 5:04:31 PM6/27/17
                                        to Chris Harrelson, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                        Commit Bot posted comments on this change.

                                        View Change

                                        Patch set 25:

                                        CQ is trying da patch.

                                        Note: The patchset sent to CQ was uploaded after this CL was approved.

                                        "none" https://chromium-review.googlesource.com/c/544024/25

                                        Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/544024/25

                                        Bot data: {"action": "start", "triggered_at": "2017-06-27T21:04:17.0Z", "cq_cfg_revision": "e12d437dc7f395d72995b548c9dacf21b0b1526e", "revision": "f959b31967e314aed53aa9fc0699ba10eaffa71c"}

                                          To view, visit change 544024. To unsubscribe, visit settings.

                                          Gerrit-Project: chromium/src
                                          Gerrit-Branch: master
                                          Gerrit-MessageType: comment
                                          Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                          Gerrit-Change-Number: 544024
                                          Gerrit-PatchSet: 25
                                          Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                          Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                          Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                          Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                          Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                          Gerrit-CC: Commit Bot <commi...@chromium.org>
                                          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                          Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                          Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                          Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                          Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                          Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                          Gerrit-CC: Rob Buis <rob....@samsung.com>
                                          Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                          Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                          Gerrit-Comment-Date: Tue, 27 Jun 2017 21:04:28 +0000
                                          Gerrit-HasComments: No
                                          Gerrit-HasLabels: No

                                          Commit Bot (Gerrit)

                                          unread,
                                          Jun 27, 2017, 7:13:49 PM6/27/17
                                          to Chris Harrelson, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                          Commit Bot posted comments on this change.

                                          View Change

                                          Patch set 25:

                                          Try jobs failed on following builders:
                                          mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/487468)

                                          Bot data: {"action": "cancel", "triggered_at": "2017-06-27T21:04:17.0Z", "cq_cfg_revision": "e12d437dc7f395d72995b548c9dacf21b0b1526e", "revision": "f959b31967e314aed53aa9fc0699ba10eaffa71c"}

                                            To view, visit change 544024. To unsubscribe, visit settings.

                                            Gerrit-Project: chromium/src
                                            Gerrit-Branch: master
                                            Gerrit-MessageType: comment
                                            Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                            Gerrit-Change-Number: 544024
                                            Gerrit-PatchSet: 25
                                            Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                            Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                            Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                            Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                            Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                            Gerrit-CC: Commit Bot <commi...@chromium.org>
                                            Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                            Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                            Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                            Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                            Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                            Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                            Gerrit-CC: Rob Buis <rob....@samsung.com>
                                            Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                            Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                            Gerrit-Comment-Date: Tue, 27 Jun 2017 23:13:46 +0000
                                            Gerrit-HasComments: No
                                            Gerrit-HasLabels: No

                                            Chris Harrelson (Gerrit)

                                            unread,
                                            Jun 27, 2017, 8:08:14 PM6/27/17
                                            to blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Commit Bot, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                            Chris Harrelson posted comments on this change.

                                            View Change

                                            Patch set 26:Commit-Queue +2

                                              To view, visit change 544024. To unsubscribe, visit settings.

                                              Gerrit-Project: chromium/src
                                              Gerrit-Branch: master
                                              Gerrit-MessageType: comment
                                              Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                              Gerrit-Change-Number: 544024
                                              Gerrit-PatchSet: 26
                                              Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                              Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                              Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                              Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                              Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                              Gerrit-CC: Commit Bot <commi...@chromium.org>
                                              Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                              Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                              Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                              Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                              Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                              Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                              Gerrit-CC: Rob Buis <rob....@samsung.com>
                                              Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                              Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                              Gerrit-Comment-Date: Wed, 28 Jun 2017 00:08:11 +0000
                                              Gerrit-HasComments: No
                                              Gerrit-HasLabels: Yes

                                              Commit Bot (Gerrit)

                                              unread,
                                              Jun 27, 2017, 8:08:28 PM6/27/17
                                              to Chris Harrelson, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                              Commit Bot posted comments on this change.

                                              View Change

                                              Patch set 26:

                                              CQ is trying da patch.

                                              Note: The patchset sent to CQ was uploaded after this CL was approved.

                                              "none" https://chromium-review.googlesource.com/c/544024/26

                                              Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/544024/26

                                              Bot data: {"action": "start", "triggered_at": "2017-06-28T00:08:11.0Z", "cq_cfg_revision": "e12d437dc7f395d72995b548c9dacf21b0b1526e", "revision": "13d56ebac39d1ed090c84d2a101c6474c6da3b74"}

                                                To view, visit change 544024. To unsubscribe, visit settings.

                                                Gerrit-Project: chromium/src
                                                Gerrit-Branch: master
                                                Gerrit-MessageType: comment
                                                Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                                Gerrit-Change-Number: 544024
                                                Gerrit-PatchSet: 26
                                                Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                                Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                                Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                                Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                                Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                                Gerrit-CC: Commit Bot <commi...@chromium.org>
                                                Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
                                                Gerrit-CC: Dongseong Hwang <dongseo...@intel.com>
                                                Gerrit-CC: Eric Willigers <ericwi...@chromium.org>
                                                Gerrit-CC: Justin Novosad <ju...@chromium.org>
                                                Gerrit-CC: Renée Wright <rjwr...@chromium.org>
                                                Gerrit-CC: Rik Cabanier <caba...@adobe.com>
                                                Gerrit-CC: Rob Buis <rob....@samsung.com>
                                                Gerrit-CC: Shane Stephens <sh...@chromium.org>
                                                Gerrit-CC: Stephen Chenney <sche...@chromium.org>
                                                Gerrit-Comment-Date: Wed, 28 Jun 2017 00:08:25 +0000
                                                Gerrit-HasComments: No
                                                Gerrit-HasLabels: No

                                                Commit Bot (Gerrit)

                                                unread,
                                                Jun 27, 2017, 10:24:24 PM6/27/17
                                                to Chris Harrelson, blink-revie...@chromium.org, blink-rev...@chromium.org, blink-reviews-p...@chromium.org, blink-...@chromium.org, drott+bl...@chromium.org, fmalit...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, pdr+graphi...@chromium.org, Xianzhu Wang, Philip Rogers, Alexis Menard, Eric Willigers, Renée Wright, Shane Stephens, Rik Cabanier, chromium...@chromium.org, Dongseong Hwang, Dirk Schulze, Justin Novosad, Rob Buis, Stephen Chenney

                                                Commit Bot merged this change.

                                                View Change

                                                Approvals: Xianzhu Wang: Looks good to me Philip Rogers: Looks good to me Chris Harrelson: Commit
                                                Refactor to only need to check cull rect changes up to containing transform.

                                                This allows us to
                                                (a) simplify the PrePaintTree walk code, and make it faster
                                                and
                                                (b) makes cull rects for transforms SPv2-compatible, because we can't cull them
                                                out if they might end up composited

                                                Details:
                                                1. Stop culling out CSS transformed elements and passing along cull rects from above
                                                the transform. This change means that we don't need to worry about any cull rects
                                                of a transform or from outside of it.
                                                2. Simplify cull rect change detection logic in PrePaintTreeWalk and
                                                PaintPropertyTreeBuilder to check only for whether a clip rect changed, or was
                                                added/removed, between self and containing transform. This is made possible by #1.
                                                3. Stop optimizing out paint invalidations for empty visual rects under transform.
                                                This avoids paint under-invalidation failures in cases when a transform was
                                                previously clipped out.
                                                4. Remove ancestor_transformed_or_root_paint_layer from the pre-paint tree
                                                walk context.


                                                Bug: 729514
                                                Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
                                                Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                                Reviewed-on: https://chromium-review.googlesource.com/544024
                                                Commit-Queue: Chris Harrelson <chri...@chromium.org>
                                                Reviewed-by: Philip Rogers <p...@chromium.org>
                                                Reviewed-by: Xianzhu Wang <wangx...@chromium.org>
                                                Cr-Commit-Position: refs/heads/master@{#482854}
                                                ---
                                                M third_party/WebKit/LayoutTests/TestExpectations
                                                A third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/clip-unclip-and-change-expected.txt
                                                A third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/css-clip-change-stacking-child-expected.txt
                                                A third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/paint/invalidation/mask-clip-change-stacking-child-expected.txt

                                                A third_party/WebKit/LayoutTests/paint/invalidation/css-clip-change-stacking-child-expected.txt
                                                A third_party/WebKit/LayoutTests/paint/invalidation/css-clip-change-stacking-child.html
                                                A third_party/WebKit/LayoutTests/paint/invalidation/mask-clip-change-stacking-child-expected.txt
                                                A third_party/WebKit/LayoutTests/paint/invalidation/mask-clip-change-stacking-child.html
                                                M third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-antialiasing-expected.png
                                                A third_party/WebKit/LayoutTests/platform/linux/http/tests/security/xssAuditor/object-src-inject-expected.txt
                                                M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt
                                                M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/window-expected.txt
                                                M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt
                                                M third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/svg/window-expected.txt
                                                A third_party/WebKit/LayoutTests/platform/win/http/tests/security/xssAuditor/object-src-inject-expected.txt
                                                M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt
                                                M third_party/WebKit/LayoutTests/platform/win/paint/invalidation/svg/window-expected.txt
                                                A third_party/WebKit/LayoutTests/platform/win7/http/tests/security/xssAuditor/object-src-inject-expected.txt
                                                M third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
                                                M third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp
                                                M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp

                                                M third_party/WebKit/Source/core/paint/PaintInvalidator.h
                                                M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
                                                M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
                                                M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
                                                M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
                                                M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
                                                M third_party/WebKit/Source/core/paint/PrePaintTreeWalkTest.cpp
                                                M third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h
                                                M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
                                                30 files changed, 385 insertions(+), 222 deletions(-)


                                                To view, visit change 544024. To unsubscribe, visit settings.

                                                Gerrit-Project: chromium/src
                                                Gerrit-Branch: master
                                                Gerrit-MessageType: merged
                                                Gerrit-Change-Id: Ic4d8a382c9991c51d4b25c03cb71b406b1ee98ac
                                                Gerrit-Change-Number: 544024
                                                Gerrit-PatchSet: 27
                                                Gerrit-Owner: Chris Harrelson <chri...@chromium.org>
                                                Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
                                                Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
                                                Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
                                                Gerrit-Reviewer: Xianzhu Wang <wangx...@chromium.org>
                                                Gerrit-CC: Alexis Menard <alexis...@intel.com>
                                                Reply all
                                                Reply to author
                                                Forward
                                                0 new messages