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

Issue 2007163002: cc: Separate raster and decode prepaint regions. (Closed)

Created:
4 years, 7 months ago by vmpstr
Modified:
4 years, 5 months ago
Reviewers:
enne (OOO), ericrk
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Separate raster and decode prepaint regions. This patch separates raster and decode distances to be independent of each other. Specifically, any tile in prepaint that is further than 1000 screen space pixels from the viewport will not be rasterized. Instead, we will pull out the images on those tiles and predecode those instead. R=enne, ericrk CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/70a29c1298e666c465a8e75530575eda1aeaa37c Cr-Commit-Position: refs/heads/master@{#398677}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -39 lines) Patch
M cc/test/fake_tile_manager.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M cc/tiles/tile_manager.h View 1 2 6 chunks +29 lines, -18 lines 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 13 chunks +92 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
vmpstr
Please take a look. Preliminary patch.
4 years, 7 months ago (2016-05-24 21:30:46 UTC) #3
ericrk
https://codereview.chromium.org/2007163002/diff/20001/cc/tiles/tile_manager.cc File cc/tiles/tile_manager.cc (right): https://codereview.chromium.org/2007163002/diff/20001/cc/tiles/tile_manager.cc#newcode651 cc/tiles/tile_manager.cc:651: if (!tile->required_for_activation() && !tile->required_for_draw() && Just to make sure ...
4 years, 7 months ago (2016-05-24 23:42:34 UTC) #4
enne (OOO)
I think I would be more convinced about what to do here with some data ...
4 years, 7 months ago (2016-05-25 00:35:41 UTC) #5
vmpstr
We've added a bunch of UMA stats that I think capture most things that we ...
4 years, 6 months ago (2016-06-07 20:43:55 UTC) #7
vmpstr
On 2016/06/07 20:43:55, vmpstr wrote: > I'm going to write up a one-pager to describe ...
4 years, 6 months ago (2016-06-07 22:45:08 UTC) #8
enne (OOO)
Thanks for the analysis. lgtm I am shocked that 56% of prepaint tiles are wasted ...
4 years, 6 months ago (2016-06-07 22:55:37 UTC) #9
ericrk
On 2016/06/07 22:55:37, enne wrote: > Thanks for the analysis. lgtm > > I am ...
4 years, 6 months ago (2016-06-08 00:24:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007163002/40001
4 years, 6 months ago (2016-06-08 00:27:55 UTC) #12
vmpstr
On 2016/06/08 00:24:50, ericrk wrote: > On 2016/06/07 22:55:37, enne wrote: > > Thanks for ...
4 years, 6 months ago (2016-06-08 00:28:24 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/226204)
4 years, 6 months ago (2016-06-08 01:49:30 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2007163002/40001
4 years, 6 months ago (2016-06-08 20:28:49 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-08 21:17:35 UTC) #19
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/70a29c1298e666c465a8e75530575eda1aeaa37c Cr-Commit-Position: refs/heads/master@{#398677}
4 years, 6 months ago (2016-06-08 21:21:15 UTC) #21
Primiano Tucci (use gerrit)
4 years, 5 months ago (2016-06-29 17:21:28 UTC) #22
Message was sent while issue was closed.
On 2016/06/08 21:21:15, commit-bot: I haz the power wrote:
> Patchset 3 (id:??) landed as
> https://crrev.com/70a29c1298e666c465a8e75530575eda1aeaa37c
> Cr-Commit-Position: refs/heads/master@{#398677}

Howdy, I think this CL caused big improvements on the system health benchmark
(see crbug.com/624467) (which is great)
Only one question: is it expected that, while GPU PSS memory went down (together
with the cc and gpu categories) the renderer process memory went up (even if
less than the total)?
more details in  crbug.com/624467, can somebody take a look there plz?

Powered by Google App Engine
This is Rietveld 408576698