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

Issue 1126793002: cc: Make tiling interest rect calc based on viewport. (Closed)

Created:
5 years, 7 months ago by sohanjg
Modified:
5 years, 1 month ago
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: Make tiling interest rect calc based on viewport. Current interest/eventually/live rect is calculated based on max_tiles_for_interest_area setting which is not the best choice for determining the size. As part of this patch tiling interest rect is calculated based on viewport area. Which is multiplied by a constant factor. The factor is currently 9, viewport dist in all directions. Also, max_tiles_for_interest_area setting is removed and its associated switch and entries in chrome://flags. BUG=483520 Committed: https://crrev.com/6d84db54a27c036d77b0e4a26d42c158ee4a6add Cr-Commit-Position: refs/heads/master@{#329870}

Patch Set 1 #

Total comments: 3

Patch Set 2 : use new settings for interest rect calc. #

Total comments: 21

Patch Set 3 : no more max tiles #

Total comments: 10

Patch Set 4 : review comments addressed. #

Patch Set 5 : remove switch entry from chromeos cmdline. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -99 lines) Patch
M cc/base/switches.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/base/switches.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 2 4 chunks +9 lines, -6 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 8 chunks +6 lines, -9 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download
M cc/test/impl_side_painting_settings.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 2 chunks +0 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
sohanjg
Can you please take a look. Its rough, just to have your thoughts, whether this ...
5 years, 7 months ago (2015-05-05 12:59:20 UTC) #2
vmpstr
I think you're changing the right code (ie, that's kind of exactly what we want). ...
5 years, 7 months ago (2015-05-05 20:48:11 UTC) #3
sohanjg
Just to summarize, 1. Removed the max_tiles_for_interest_area and added tiling_interest_area_viewport_multiplier a new setting in layer ...
5 years, 7 months ago (2015-05-06 15:01:59 UTC) #4
vmpstr
I'm ok with just keeping it at 9 if the perf shows that this is ...
5 years, 7 months ago (2015-05-06 17:57:29 UTC) #5
sohanjg
I have attached the telemetry data in the bug, can you please take a look. ...
5 years, 7 months ago (2015-05-07 14:42:11 UTC) #7
vmpstr
https://codereview.chromium.org/1126793002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1126793002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode2558 cc/layers/picture_layer_impl_unittest.cc:2558: // High res tiling should have 36 tiles (4x9 ...
5 years, 7 months ago (2015-05-07 17:21:39 UTC) #8
sohanjg
Please take a look, thanks. https://codereview.chromium.org/1126793002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1126793002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode2558 cc/layers/picture_layer_impl_unittest.cc:2558: // High res tiling ...
5 years, 7 months ago (2015-05-08 13:26:10 UTC) #10
sohanjg
On 2015/05/08 13:26:10, sohanjg wrote: > Please take a look, thanks. > > https://codereview.chromium.org/1126793002/diff/20001/cc/layers/picture_layer_impl_unittest.cc > ...
5 years, 7 months ago (2015-05-11 17:37:39 UTC) #11
vmpstr
> The telemetry bots seems to be green with 9 as viewport multiplier, should we ...
5 years, 7 months ago (2015-05-11 17:52:24 UTC) #12
vmpstr
Can you add a description and remove "[WIP]" from the subject please?
5 years, 7 months ago (2015-05-12 00:35:30 UTC) #13
vmpstr
On 2015/05/12 00:35:30, vmpstr wrote: > Can you add a description and remove "[WIP]" from ...
5 years, 7 months ago (2015-05-12 00:42:35 UTC) #14
vmpstr
On 2015/05/12 00:42:35, vmpstr wrote: > On 2015/05/12 00:35:30, vmpstr wrote: > > Can you ...
5 years, 7 months ago (2015-05-12 00:43:35 UTC) #15
sohanjg
On 2015/05/12 00:43:35, vmpstr wrote: > On 2015/05/12 00:42:35, vmpstr wrote: > > On 2015/05/12 ...
5 years, 7 months ago (2015-05-12 05:36:20 UTC) #16
vmpstr
+piman, please take a look at content/
5 years, 7 months ago (2015-05-13 16:10:53 UTC) #19
piman
lgtm
5 years, 7 months ago (2015-05-13 16:45:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126793002/100001
5 years, 7 months ago (2015-05-13 16:53:01 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/17475)
5 years, 7 months ago (2015-05-13 17:25:56 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126793002/120001
5 years, 7 months ago (2015-05-14 06:19:49 UTC) #27
sohanjg
On 2015/05/14 06:19:49, I haz the power (commit-bot) wrote: > Dry run: CQ is trying ...
5 years, 7 months ago (2015-05-14 07:04:52 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-14 07:12:33 UTC) #30
vmpstr
On 2015/05/14 07:04:52, sohanjg wrote: > On 2015/05/14 06:19:49, I haz the power (commit-bot) wrote: ...
5 years, 7 months ago (2015-05-14 17:15:06 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126793002/120001
5 years, 7 months ago (2015-05-14 17:28:04 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 7 months ago (2015-05-14 17:37:29 UTC) #34
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 17:39:03 UTC) #35
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6d84db54a27c036d77b0e4a26d42c158ee4a6add
Cr-Commit-Position: refs/heads/master@{#329870}

Powered by Google App Engine
This is Rietveld 408576698