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

Issue 775483002: cc: Remove max tiles and skewport constants from tiling client. (Closed)

Created:
6 years ago by vmpstr
Modified:
6 years ago
Reviewers:
danakj, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Remove max tiles and skewport constants from tiling client. This patch removes some more client functionality from picture layer tiling. These values don't typically change (aside from going from gpu to cpu rasterization), but are frequently accessed. By eliminating these calls makes the code more direct (ie it's obvious where these settings are set). Also, it potentially makes the code quicker since it eliminates several virtual calls, although this is only called once per frame. BUG=433048 R=danakj, enne Committed: https://crrev.com/806cff5e6757e655cdfa769832f1b5699116867b Cr-Commit-Position: refs/heads/master@{#307963}

Patch Set 1 #

Total comments: 4

Patch Set 2 : update #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : update #

Patch Set 5 : #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -181 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 3 3 chunks +10 lines, -13 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 4 chunks +15 lines, -19 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 4 chunks +13 lines, -5 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 4 chunks +26 lines, -19 lines 0 comments Download
M cc/resources/picture_layer_tiling_perftest.cc View 1 2 3 4 5 3 chunks +17 lines, -6 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 2 3 4 5 2 chunks +14 lines, -3 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 2 3 4 5 4 chunks +30 lines, -13 lines 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 2 3 4 5 7 chunks +17 lines, -8 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 1 2 3 4 5 26 chunks +85 lines, -53 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 4 chunks +1 line, -16 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 3 chunks +2 lines, -20 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
vmpstr
PTAL. danakj@, this clashes a bit with your no-swap patch, so I'll rebase when it ...
6 years ago (2014-12-02 01:00:51 UTC) #1
enne (OOO)
lgtm to remove more things from the tiling client https://codereview.chromium.org/775483002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/775483002/diff/1/cc/layers/picture_layer_impl.cc#newcode607 cc/layers/picture_layer_impl.cc:607: ...
6 years ago (2014-12-02 21:25:58 UTC) #2
danakj
https://codereview.chromium.org/775483002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/775483002/diff/1/cc/layers/picture_layer_impl.cc#newcode607 cc/layers/picture_layer_impl.cc:607: // TODO(vmpstr): Should this funciton set tilings_ to nullptr ...
6 years ago (2014-12-02 21:58:37 UTC) #3
vmpstr
ptal. I think most comments were addressed in the latest patch.
6 years ago (2014-12-10 20:15:03 UTC) #4
danakj
https://codereview.chromium.org/775483002/diff/40001/cc/debug/rasterize_and_record_benchmark_impl.cc File cc/debug/rasterize_and_record_benchmark_impl.cc (right): https://codereview.chromium.org/775483002/diff/40001/cc/debug/rasterize_and_record_benchmark_impl.cc#newcode211 cc/debug/rasterize_and_record_benchmark_impl.cc:211: settings.skewport_target_time_in_seconds, how come this doesn't check for gpu raster ...
6 years ago (2014-12-10 22:23:25 UTC) #5
vmpstr
ptal https://codereview.chromium.org/775483002/diff/40001/cc/debug/rasterize_and_record_benchmark_impl.cc File cc/debug/rasterize_and_record_benchmark_impl.cc (right): https://codereview.chromium.org/775483002/diff/40001/cc/debug/rasterize_and_record_benchmark_impl.cc#newcode211 cc/debug/rasterize_and_record_benchmark_impl.cc:211: settings.skewport_target_time_in_seconds, On 2014/12/10 22:23:24, danakj wrote: > how ...
6 years ago (2014-12-11 00:14:17 UTC) #6
danakj
LGTM
6 years ago (2014-12-11 00:15:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/775483002/100001
6 years ago (2014-12-11 19:07:12 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years ago (2014-12-11 20:30:17 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-11 20:31:10 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/806cff5e6757e655cdfa769832f1b5699116867b
Cr-Commit-Position: refs/heads/master@{#307963}

Powered by Google App Engine
This is Rietveld 408576698