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

Issue 2713673005: client-goodbye

Created:
3 years, 10 months ago by danakj
Modified:
3 years, 10 months ago
Reviewers:
pdr., Xianzhu, enne (OOO)
CC:
ajuma+watch_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jbroman, jchaffraix+rendering, Justin Novosad, kinuko+watch, kouhei+svg_chromium.org, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

client-goodbye - GraphicsLayer invalidation uses InvalidationDebugging to access LayoutObject - PaintController doesn't work with LayoutObjects tho for similar things.. idk - Most recorders take the info up front instead of taking a client - Not all.. DrawingRecorder.. *cough* - And they should only take the info up front in DCHECKs mode. R=enne@chromium.org, pdr@chromium.org BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -143 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutObject.h View 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 6 chunks +16 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h View 2 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp View 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BlockPainter.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPainter.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FloatClipRecorder.h View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp View 1 chunk +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FramePainter.cpp View 2 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 3 chunks +18 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PartPainter.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGClipPainter.cpp View 2 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp View 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp View 1 chunk +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGPaintContext.h View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGShapePainter.cpp View 1 chunk +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollRecorder.h View 2 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollRecorder.cpp View 1 chunk +23 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp View 1 chunk +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/paint/Transform3DRecorder.h View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/Transform3DRecorder.cpp View 1 chunk +13 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/TransformRecorder.h View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/TransformRecorder.cpp View 1 chunk +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 9 chunks +29 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h View 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImpl.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
pdr.
+reviewer Xianzhu
3 years, 10 months ago (2017-02-23 00:58:28 UTC) #4
pdr.
I think InvalidationDebugging.h got left out of this review. Xianzhu and I talked about this ...
3 years, 10 months ago (2017-02-23 02:06:15 UTC) #5
danakj
On Wed, Feb 22, 2017 at 9:06 PM, <pdr@chromium.org> wrote: > I think InvalidationDebugging.h got ...
3 years, 10 months ago (2017-02-23 21:39:15 UTC) #6
danakj
On Wed, Feb 22, 2017 at 9:06 PM, <pdr@chromium.org> wrote: > I think InvalidationDebugging.h got ...
3 years, 10 months ago (2017-02-23 21:45:02 UTC) #7
pdr.
On 2017/02/23 at 21:45:02, danakj wrote: > On Wed, Feb 22, 2017 at 9:06 PM, ...
3 years, 10 months ago (2017-02-23 22:20:25 UTC) #8
danakj
On Thu, Feb 23, 2017 at 5:20 PM, <pdr@chromium.org> wrote: > On 2017/02/23 at 21:45:02, ...
3 years, 10 months ago (2017-02-23 23:32:20 UTC) #9
danakj
On Thu, Feb 23, 2017 at 5:20 PM, <pdr@chromium.org> wrote: > On 2017/02/23 at 21:45:02, ...
3 years, 10 months ago (2017-02-23 23:32:20 UTC) #10
pdr.
On 2017/02/23 at 23:32:20, danakj wrote: > Ah I didn't sort that out yet. I ...
3 years, 10 months ago (2017-02-23 23:36:37 UTC) #11
danakj
On Thu, Feb 23, 2017 at 6:36 PM, <pdr@chromium.org> wrote: > On 2017/02/23 at 23:32:20, ...
3 years, 10 months ago (2017-02-23 23:45:58 UTC) #12
danakj
3 years, 10 months ago (2017-02-23 23:51:45 UTC) #13
On Thu, Feb 23, 2017 at 6:36 PM, <pdr@chromium.org> wrote:

> On 2017/02/23 at 23:32:20, danakj wrote:
> > Ah I didn't sort that out yet. I have a idea I mean to try where instead
> of
> > passing debugname+bool we pass a struct. In non-dcheck the struct has no
> > fields. So non-dcheck builds wouldn't call debugName and fill the field.
> I
> > am not sure how it will play out in practice yet.
>
> Cool, my code suggestion above was just a way to do this without having to
> make
> all of the callsites ugly. This isn't a blocker to me, but it seems like
> it may
> be easier for you to just modify the recorders internals (and pass
> DisplayItemClient) instead of changing all the callsites. Introducing a
> different wrapper (your struct approach) sounds reasonable too.
>

Ok cool. The trick will be to do it without a struct client.. lol :) It may
end up being DisplayItemClient round 2 XD


>
> https://codereview.chromium.org/2713673005/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698