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

Issue 2802443002: Compute rounded-ness of visual rects (Closed)

Created:
3 years, 8 months ago by chrishtr
Modified:
3 years, 8 months ago
Reviewers:
trchen, wkorman
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, fmalita+watch_chromium.org, jbroman, jchaffraix+rendering, Justin Novosad, kinuko+watch, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Compute rounded-ness of visual rects. This was not needed until https://codereview.chromium.org/2781863005. Previously we were computing rounded-ness internally to GeometryMapper, but did not expose it through the *VisualRect* methods, only the *ClipRect* ones. Thus this CL is just plumbing and API type updates. BUG=707650 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2802443002 Cr-Commit-Position: refs/heads/master@{#462242} Committed: https://chromium.googlesource.com/chromium/src/+/b6d12780972f3d9711de6d11c6dd6e0536020339

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Total comments: 1

Patch Set 5 : none #

Total comments: 6

Patch Set 6 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -39 lines) Patch
A third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.html View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 1 2 3 4 5 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/FloatClipRect.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h View 1 2 3 4 5 5 chunks +24 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp View 1 2 3 4 5 8 chunks +13 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp View 4 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 38 (30 generated)
chrishtr
3 years, 8 months ago (2017-04-04 19:51:54 UTC) #6
chrishtr
Updated to fix a small bug in GeometryMapper and adjust a layout test. https://codereview.chromium.org/2802443002/diff/60001/third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.html File ...
3 years, 8 months ago (2017-04-04 22:02:57 UTC) #11
chrishtr
3 years, 8 months ago (2017-04-05 19:05:42 UTC) #24
wkorman
lgtm If I understand this change correctly, we were already computing the rounded-ness, but we ...
3 years, 8 months ago (2017-04-05 20:06:47 UTC) #29
trchen
lgtm except for one TODO. https://codereview.chromium.org/2802443002/diff/80001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h File third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h (right): https://codereview.chromium.org/2802443002/diff/80001/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h#newcode50 third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h:50: // |mappingRect| is both ...
3 years, 8 months ago (2017-04-05 20:10:36 UTC) #30
chrishtr
Also updated the CL description per suggestion. https://codereview.chromium.org/2802443002/diff/80001/third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.html File third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.html (right): https://codereview.chromium.org/2802443002/diff/80001/third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.html#newcode3 third_party/WebKit/LayoutTests/fast/clip/nested-rounded-rect-expected.html:3: <div style="border: ...
3 years, 8 months ago (2017-04-05 20:22:16 UTC) #32
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/2802443002/100001
3 years, 8 months ago (2017-04-05 20:23:27 UTC) #35
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 22:21:03 UTC) #38
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/b6d12780972f3d9711de6d11c6dd...

Powered by Google App Engine
This is Rietveld 408576698