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

Issue 196473007: Add --disable-low-res-tiling. Disable low res tiling to save power. (Closed)

Created:
6 years, 9 months ago by Anton
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, piman+watch_chromium.org, danakj, vmpstr, epenner
Visibility:
Public.

Description

Add --disable-low-res-tiling. Disable low res tiling to save power. Generating low resolution tiles uses about 10% of the power used by pages that have gif animations (measured on Nexus 4). These are the most common pages on which chrome consumes above baseline power. It is unclear whether low resolutions are still valuable. It is likely that having low resolution tiles is more useful on older devices. For the moment providing this as a flag, so that it is easier to investigate whether dropping low resolution tiles is reasonable. Default behavior is unchanged, low resolution tiles are enabled. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257790

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve merge conflicts #

Total comments: 2

Patch Set 3 : Address comments from enne and piman #

Total comments: 1

Patch Set 4 : Address comments from enne #

Patch Set 5 : Resolve merge conflicts #

Patch Set 6 : Fix for unittests #

Patch Set 7 : Resolve merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -127 lines) Patch
M cc/layers/picture_layer_impl.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 6 1 chunk +127 lines, -125 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Anton
Hi, Also interested in your opinion of whether low res tiling is still a useful ...
6 years, 9 months ago (2014-03-12 15:53:25 UTC) #1
enne (OOO)
This experimentation seems reasonable to me. I think there's a lot of contention here, and ...
6 years, 9 months ago (2014-03-12 17:52:07 UTC) #2
Anton
On 2014/03/12 17:52:07, enne wrote: > This experimentation seems reasonable to me. > > I ...
6 years, 9 months ago (2014-03-12 18:37:31 UTC) #3
piman
https://codereview.chromium.org/196473007/diff/20001/cc/base/switches.cc File cc/base/switches.cc (right): https://codereview.chromium.org/196473007/diff/20001/cc/base/switches.cc#newcode126 cc/base/switches.cc:126: bool IsLowResTilingEnabled() { Nit: this is only used in ...
6 years, 9 months ago (2014-03-13 00:51:58 UTC) #4
Sami
Drive by comment: good sites to test this on are ones where we have historically ...
6 years, 9 months ago (2014-03-13 13:30:31 UTC) #5
Anton
I do see white tiles for theverge.com, but I see them for both with and ...
6 years, 9 months ago (2014-03-13 14:43:37 UTC) #6
Anton
Uploaded patch #3 which should address the code level comments. Thanks, Anton On 2014/03/13 14:43:37, ...
6 years, 9 months ago (2014-03-13 18:03:24 UTC) #7
Anton
BTW the whitespace change was made by "git cl format", so hopefully that is ok! ...
6 years, 9 months ago (2014-03-13 18:06:52 UTC) #8
enne (OOO)
lgtm https://codereview.chromium.org/196473007/diff/40001/cc/trees/layer_tree_settings.h File cc/trees/layer_tree_settings.h (right): https://codereview.chromium.org/196473007/diff/40001/cc/trees/layer_tree_settings.h#newcode38 cc/trees/layer_tree_settings.h:38: bool low_res_tiling; Can this be should_create_low_res_tiling or low_res_tiling_enabled? ...
6 years, 9 months ago (2014-03-13 18:23:28 UTC) #9
piman
LGTM, thanks!
6 years, 9 months ago (2014-03-13 18:26:35 UTC) #10
Anton
On 2014/03/13 18:23:28, enne wrote: > lgtm > > https://codereview.chromium.org/196473007/diff/40001/cc/trees/layer_tree_settings.h > File cc/trees/layer_tree_settings.h (right): > ...
6 years, 9 months ago (2014-03-13 18:33:34 UTC) #11
enne (OOO)
lgtm, thanks!
6 years, 9 months ago (2014-03-13 18:36:04 UTC) #12
Anton
The CQ bit was checked by anton@chromium.org
6 years, 9 months ago (2014-03-17 18:14:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/196473007/120001
6 years, 9 months ago (2014-03-17 18:15:34 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-17 18:17:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg tryserver.chromium on linux_chromium_chromeos_rel tryserver.chromium on linux_chromium_clang_dbg ...
6 years, 9 months ago (2014-03-17 18:17:54 UTC) #16
Anton
The CQ bit was checked by anton@chromium.org
6 years, 9 months ago (2014-03-18 17:17:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/196473007/120001
6 years, 9 months ago (2014-03-18 17:30:19 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 19:05:49 UTC) #19
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-18 19:05:50 UTC) #20
Anton
The CQ bit was checked by anton@chromium.org
6 years, 9 months ago (2014-03-18 19:35:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/196473007/120001
6 years, 9 months ago (2014-03-18 19:41:42 UTC) #22
commit-bot: I haz the power
6 years, 9 months ago (2014-03-18 22:37:01 UTC) #23
Message was sent while issue was closed.
Change committed as 257790

Powered by Google App Engine
This is Rietveld 408576698