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

Issue 565793003: [Invalidation Tracking] Add trace events for compositor based invalidations (Closed)

Created:
6 years, 3 months ago by kouhei (in TOK)
Modified:
6 years, 3 months ago
Reviewers:
caseq, chrishtr, pdr.
CC:
aandrey+blink_chromium.org, abarth-chromium, apavlov+blink_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, caseq+blink_chromium.org, devtools-reviews_chromium.org, eae+blinkwatch, eustas+blink_chromium.org, jchaffraix+rendering, leviw+renderwatch, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, rune+blink, sergeyv+blink_chromium.org, vsevik+blink_chromium.org, yurys+blink_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[Invalidation Tracking] Add trace events for compositor based invalidations This patch add a new trace event InspectorLayerInvalidationTrackingEvent for invalidation reason tracking. The event tracks when compositor invalidates the whole RenderLayer including its descendents, along with its reason. BUG=410701 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181933

Patch Set 1 #

Patch Set 2 : include reason in a vector #

Patch Set 3 : use containerForPaintInvalidation #

Total comments: 1

Patch Set 4 : squashed -> squashing #

Total comments: 4

Patch Set 5 : use cmacro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M Source/core/inspector/InspectorTraceEvents.h View 1 2 3 4 2 chunks +20 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorTraceEvents.cpp View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositingLayerAssigner.cpp View 1 2 3 4 5 chunks +5 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/GraphicsLayerUpdater.cpp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
kouhei (in TOK)
Would you take a look?
6 years, 3 months ago (2014-09-12 00:20:30 UTC) #2
chrishtr
You can extract the paint invalidation container by calling: layer.renderer()->containerForPaintInvalidation(); Doesn't matter if it is ...
6 years, 3 months ago (2014-09-12 00:27:03 UTC) #3
kouhei (in TOK)
On 2014/09/12 00:27:03, chrishtr wrote: > You can extract the paint invalidation container by calling: ...
6 years, 3 months ago (2014-09-12 01:14:41 UTC) #4
chrishtr
lgtm https://codereview.chromium.org/565793003/diff/40001/Source/core/inspector/InspectorTraceEvents.cpp File Source/core/inspector/InspectorTraceEvents.cpp (right): https://codereview.chromium.org/565793003/diff/40001/Source/core/inspector/InspectorTraceEvents.cpp#newcode262 Source/core/inspector/InspectorTraceEvents.cpp:262: const char InspectorLayerInvalidationTrackingEvent::RemovedFromSquashingLayer[] = "Removed the layer from ...
6 years, 3 months ago (2014-09-12 01:22:46 UTC) #5
kouhei (in TOK)
pdr: Would you take a look? On 2014/09/12 01:22:46, chrishtr wrote: > lgtm > > ...
6 years, 3 months ago (2014-09-12 02:29:47 UTC) #6
pdr.
https://codereview.chromium.org/565793003/diff/60001/Source/core/inspector/InspectorTraceEvents.cpp File Source/core/inspector/InspectorTraceEvents.cpp (right): https://codereview.chromium.org/565793003/diff/60001/Source/core/inspector/InspectorTraceEvents.cpp#newcode260 Source/core/inspector/InspectorTraceEvents.cpp:260: const char InspectorLayerInvalidationTrackingEvent::SquashingLayerGeometryWasUpdated[] = "Squashing layer geometry was updated."; ...
6 years, 3 months ago (2014-09-12 04:07:17 UTC) #7
kouhei (in TOK)
Thanks for your comments! https://codereview.chromium.org/565793003/diff/60001/Source/core/inspector/InspectorTraceEvents.cpp File Source/core/inspector/InspectorTraceEvents.cpp (right): https://codereview.chromium.org/565793003/diff/60001/Source/core/inspector/InspectorTraceEvents.cpp#newcode260 Source/core/inspector/InspectorTraceEvents.cpp:260: const char InspectorLayerInvalidationTrackingEvent::SquashingLayerGeometryWasUpdated[] = "Squashing ...
6 years, 3 months ago (2014-09-12 05:02:12 UTC) #8
pdr.
On 2014/09/12 05:02:12, kouhei wrote: > https://codereview.chromium.org/565793003/diff/60001/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp#newcode102 > Source/core/rendering/compositing/GraphicsLayerUpdater.cpp:102: > layersNeedingPaintInvalidation.append(std::make_pair(&layer, > InspectorLayerInvalidationTrackingEvent::AncestorRequiresNewLayer)); > On ...
6 years, 3 months ago (2014-09-12 05:09:25 UTC) #9
kouhei (in TOK)
On 2014/09/12 05:09:25, pdr wrote: > On 2014/09/12 05:02:12, kouhei wrote: > > > https://codereview.chromium.org/565793003/diff/60001/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp#newcode102 ...
6 years, 3 months ago (2014-09-12 17:33:32 UTC) #10
pdr.
On 2014/09/12 17:33:32, kouhei wrote: > On 2014/09/12 05:09:25, pdr wrote: > > On 2014/09/12 ...
6 years, 3 months ago (2014-09-12 20:12:16 UTC) #11
chrishtr
lgtm
6 years, 3 months ago (2014-09-12 21:12:53 UTC) #12
kouhei (in TOK)
Thanks for review!
6 years, 3 months ago (2014-09-12 21:15:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/565793003/80001
6 years, 3 months ago (2014-09-12 21:16:29 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 21:21:18 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 181933

Powered by Google App Engine
This is Rietveld 408576698