Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Issue 2105273004: GeometryMapper: Support computing visual rects in spaces that are not direct ancestors. (Closed)

Created:
4 years, 5 months ago by chrishtr
Modified:
4 years, 5 months ago
Reviewers:
pdr., Xianzhu, wkorman
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GeometryMapper: Support computing visual rects in spaces that are not direct ancestors. position: fixed is one example of this. Demonstrate this by mapping an overflow rect for a fixed-position element using property trees, and comparing with the legacy methods. Also adds in some extra debugging info attributing property tree nodes to layout objects in PaintPropertyTreePrinter. BUG=611379 Committed: https://crrev.com/3d6dfca4dfae148adecbe787cceeb368442b738b Cr-Commit-Position: refs/heads/master@{#403574}

Patch Set 1 #

Patch Set 2 : none #

Total comments: 12

Patch Set 3 : none #

Total comments: 11

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Total comments: 4

Patch Set 8 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -142 lines) Patch
M third_party/WebKit/Source/core/paint/ObjectPaintProperties.h View 5 chunks +9 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 4 10 chunks +35 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp View 4 chunks +17 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 3 3 chunks +2 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h View 1 2 3 4 2 chunks +47 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp View 1 2 3 4 5 6 7 5 chunks +68 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp View 1 2 3 4 5 chunks +45 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h View 1 2 3 1 chunk +43 lines, -3 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/paint/PropertyTreeStateTest.cpp View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 32 (14 generated)
chrishtr
https://codereview.chromium.org/2105273004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2105273004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:380: object.getMutableForPainting().clearObjectPaintProperties(); Now allocating an ObjectPaintProperties object for all boxes, ...
4 years, 5 months ago (2016-06-30 16:49:55 UTC) #4
pdr.
Looks good overall. https://codereview.chromium.org/2105273004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2105273004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:380: object.getMutableForPainting().clearObjectPaintProperties(); On 2016/06/30 at 16:49:55, chrishtr ...
4 years, 5 months ago (2016-06-30 21:21:50 UTC) #5
chrishtr
https://codereview.chromium.org/2105273004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2105273004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:380: object.getMutableForPainting().clearObjectPaintProperties(); On 2016/06/30 at 21:21:50, pdr. wrote: > On ...
4 years, 5 months ago (2016-07-01 17:52:24 UTC) #6
Xianzhu
lgtm https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h File third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h (right): https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h#newcode59 third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h:59: bool* success); Nit: Should |success| be a reference ...
4 years, 5 months ago (2016-07-01 18:18:02 UTC) #7
pdr.
https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode384 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:384: object.getMutableForPainting().clearObjectPaintProperties(); Won't this create an object paint properties for ...
4 years, 5 months ago (2016-07-01 18:39:40 UTC) #8
wkorman
lgtm LGTM https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h File third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h (right): https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h#newcode52 third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h:52: // the the inverse transform mapping from ...
4 years, 5 months ago (2016-07-01 19:19:12 UTC) #9
wkorman
lgtm LGTM
4 years, 5 months ago (2016-07-01 19:19:13 UTC) #10
chrishtr
https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2105273004/diff/40001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode384 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:384: object.getMutableForPainting().clearObjectPaintProperties(); On 2016/07/01 at 18:39:39, pdr. wrote: > Won't ...
4 years, 5 months ago (2016-07-01 22:01:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105273004/80001
4 years, 5 months ago (2016-07-01 22:02:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/186878) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-01 22:06:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105273004/120001
4 years, 5 months ago (2016-07-01 22:54:44 UTC) #19
pdr.
https://codereview.chromium.org/2105273004/diff/120001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp File third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp (right): https://codereview.chromium.org/2105273004/diff/120001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp#newcode11 third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp:11: #include "wtf/HashSet.h" No longer needed https://codereview.chromium.org/2105273004/diff/120001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp#newcode37 third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp:37: return destinationToLca.inverse().mapRect(result); ...
4 years, 5 months ago (2016-07-01 22:56:27 UTC) #20
chrishtr
https://codereview.chromium.org/2105273004/diff/120001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp File third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp (right): https://codereview.chromium.org/2105273004/diff/120001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp#newcode11 third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp:11: #include "wtf/HashSet.h" On 2016/07/01 at 22:56:26, pdr. wrote: > ...
4 years, 5 months ago (2016-07-01 23:01:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105273004/140001
4 years, 5 months ago (2016-07-01 23:04:17 UTC) #27
pdr.
LGTM, I like it
4 years, 5 months ago (2016-07-01 23:04:42 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 5 months ago (2016-07-02 00:20:02 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-02 00:20:05 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-07-02 00:22:08 UTC) #32
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/3d6dfca4dfae148adecbe787cceeb368442b738b
Cr-Commit-Position: refs/heads/master@{#403574}

Powered by Google App Engine
This is Rietveld 408576698