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

Issue 12209022: cc: add rasterize time to continuous painting graph data in impl-side-painting (Closed)

Created:
7 years, 10 months ago by egraether
Modified:
7 years, 10 months ago
Reviewers:
danakj, nduca
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@raster
Visibility:
Public.

Description

This change adds the rasterize time of tiles labeled NOW_BIN of the pending tree to the continuous painting data when in impl-side-painting. BUG=174364 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182839

Patch Set 1 #

Total comments: 4

Patch Set 2 : only collect now_bin rasterize time in pending tree #

Patch Set 3 : Rebase to 181700 #

Patch Set 4 : Save paint and rasterize time in per frame struct #

Total comments: 6

Patch Set 5 : assume that rasterize time is saved after paint time #

Total comments: 4

Patch Set 6 : Rebase to 182752 #

Total comments: 5

Patch Set 7 : Fixed style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -15 lines) Patch
M cc/layer_tree_host.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 2 chunks +12 lines, -2 lines 0 comments Download
M cc/paint_time_counter.h View 1 2 3 4 5 6 1 chunk +25 lines, -2 lines 0 comments Download
M cc/paint_time_counter.cc View 1 2 3 4 5 6 4 chunks +33 lines, -8 lines 0 comments Download
M cc/rendering_stats.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/rendering_stats.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/ring_buffer.h View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M cc/tile_manager.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M cc/worker_pool.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
egraether
I had some troubles here with getting rendering stats from the TileManager after it was ...
7 years, 10 months ago (2013-02-05 19:06:32 UTC) #1
danakj
WDYT of making the recordRenderingStats a debugState flag instead? WebLayerTreeViewImpl could set it based on ...
7 years, 10 months ago (2013-02-05 19:20:39 UTC) #2
nduca
https://codereview.chromium.org/12209022/diff/1/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/12209022/diff/1/cc/layer_tree_host.cc#newcode326 cc/layer_tree_host.cc:326: if (m_debugState.continuousPainting) && !implSidePainting https://codereview.chromium.org/12209022/diff/1/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/12209022/diff/1/cc/layer_tree_host_impl.cc#newcode1720 ...
7 years, 10 months ago (2013-02-05 23:09:35 UTC) #3
egraether
The new patch only saves the rasterize time of tiles labeled NOW_BIN in the pending ...
7 years, 10 months ago (2013-02-06 19:29:00 UTC) #4
egraether
The new patch saves paint and rasterize times in a struct along with the frame ...
7 years, 10 months ago (2013-02-12 00:15:30 UTC) #5
nduca
https://codereview.chromium.org/12209022/diff/6007/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (left): https://codereview.chromium.org/12209022/diff/6007/cc/layer_tree_host_impl.cc#oldcode151 cc/layer_tree_host_impl.cc:151: , m_paintTimeCounter(PaintTimeCounter::create()) why do you defer the creation of ...
7 years, 10 months ago (2013-02-13 08:12:21 UTC) #6
egraether
https://codereview.chromium.org/12209022/diff/9001/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/12209022/diff/9001/cc/layer_tree_host_impl.cc#newcode160 cc/layer_tree_host_impl.cc:160: , m_paintTimeCounter(PaintTimeCounter::create()) Creating PaintTimeCounter in constructor again. https://codereview.chromium.org/12209022/diff/9001/cc/layer_tree_host_impl.cc#newcode1778 cc/layer_tree_host_impl.cc:1778: ...
7 years, 10 months ago (2013-02-13 20:28:07 UTC) #7
nduca
What about the observation I made about this being simpler than we thought because of ...
7 years, 10 months ago (2013-02-13 21:14:39 UTC) #8
egraether
On 2013/02/13 21:14:39, nduca wrote: > What about the observation I made about this being ...
7 years, 10 months ago (2013-02-13 22:01:16 UTC) #9
nduca
That seems fine. I can't review right now but this seems on track.
7 years, 10 months ago (2013-02-13 22:23:16 UTC) #10
nduca
maybe dana can give you final review. i'll lgtm to get out of the way.
7 years, 10 months ago (2013-02-13 22:38:23 UTC) #11
nduca
Oh, btw, you need to rebase. I landed the now bin stuff last night.
7 years, 10 months ago (2013-02-13 22:40:36 UTC) #12
egraether
On 2013/02/13 22:40:36, nduca wrote: > Oh, btw, you need to rebase. I landed the ...
7 years, 10 months ago (2013-02-13 23:00:50 UTC) #13
danakj
https://codereview.chromium.org/12209022/diff/17001/cc/layer_tree_host_impl.h File cc/layer_tree_host_impl.h (right): https://codereview.chromium.org/12209022/diff/17001/cc/layer_tree_host_impl.h#newcode221 cc/layer_tree_host_impl.h:221: void savePaintTime(const base::TimeDelta& totalPaintTime, const int& commitNumber); no const& ...
7 years, 10 months ago (2013-02-15 18:45:06 UTC) #14
egraether
Fixed style and resolved nits.
7 years, 10 months ago (2013-02-15 18:58:16 UTC) #15
danakj
thanks, LGTM
7 years, 10 months ago (2013-02-15 19:18:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/12209022/21001
7 years, 10 months ago (2013-02-15 19:25:29 UTC) #17
commit-bot: I haz the power
7 years, 10 months ago (2013-02-15 21:53:26 UTC) #18
Message was sent while issue was closed.
Change committed as 182839

Powered by Google App Engine
This is Rietveld 408576698