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

Issue 1236533004: cc: Change max_tiles_for_interest_rect to be screen pixels padding. (Closed)

Created:
5 years, 5 months ago by vmpstr
Modified:
5 years, 5 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, dzhioev+watch_chromium.org, jam, darin-cc_chromium.org, oshima+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Change max_tiles_for_interest_rect to be screen pixels padding. This patch changes the interest rect calculation from using number of tiles to screen space distance (3k as the initial setting). The problem with using the number of tiles is that on devices like mac book pro, we end up having very little prepainting area in software and way too large of a prepainting area with ganesh, since the sizes of tiles differ drastically. BUG=483520 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/6c0087ba54947efa6dd3c9e8b7dd40ea644d9947 Cr-Commit-Position: refs/heads/master@{#339704}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : rebase #

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

Messages

Total messages: 16 (4 generated)
vmpstr
Please take a look. jdduke@, this is the device space approach. I'm asking for a ...
5 years, 5 months ago (2015-07-13 21:48:20 UTC) #2
weiliangc
LGTM w/ some question on unittest numbers. https://codereview.chromium.org/1236533004/diff/80001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1236533004/diff/80001/cc/layers/picture_layer_impl_unittest.cc#newcode4755 cc/layers/picture_layer_impl_unittest.cc:4755: gfx::Rect(0, 5000, ...
5 years, 5 months ago (2015-07-15 19:56:10 UTC) #3
vmpstr
https://codereview.chromium.org/1236533004/diff/80001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1236533004/diff/80001/cc/layers/picture_layer_impl_unittest.cc#newcode4755 cc/layers/picture_layer_impl_unittest.cc:4755: gfx::Rect(0, 5000, 100, 100), // viewport_rect_for_tile_priority On 2015/07/15 19:56:09, ...
5 years, 5 months ago (2015-07-16 00:31:03 UTC) #4
weiliangc
On 2015/07/16 00:31:03, vmpstr wrote: > https://codereview.chromium.org/1236533004/diff/80001/cc/layers/picture_layer_impl_unittest.cc > File cc/layers/picture_layer_impl_unittest.cc (right): > > https://codereview.chromium.org/1236533004/diff/80001/cc/layers/picture_layer_impl_unittest.cc#newcode4755 > ...
5 years, 5 months ago (2015-07-16 19:19:23 UTC) #5
vmpstr
+rsesek for crash_keys +piman for content/ and chrome_restart_request Please take a look.
5 years, 5 months ago (2015-07-17 17:34:04 UTC) #6
vmpstr
actually +rsesek and +piman. Please take a look.
5 years, 5 months ago (2015-07-17 17:43:35 UTC) #8
Robert Sesek
crash_keys.cc LGTM
5 years, 5 months ago (2015-07-17 17:53:38 UTC) #9
vmpstr
ping, piman@ could you take a look at content/ and chrome/browser/? thanks!
5 years, 5 months ago (2015-07-20 18:47:39 UTC) #10
piman
lgtm
5 years, 5 months ago (2015-07-20 22:00:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236533004/100001
5 years, 5 months ago (2015-07-21 17:34:14 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-21 18:32:49 UTC) #15
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 18:34:06 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6c0087ba54947efa6dd3c9e8b7dd40ea644d9947
Cr-Commit-Position: refs/heads/master@{#339704}

Powered by Google App Engine
This is Rietveld 408576698