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

Issue 1591513002: cc: Early out of UpdateTiles for resoureceless draw (Closed)

Created:
4 years, 11 months ago by boliu
Modified:
4 years, 10 months ago
Reviewers:
danakj, vmpstr
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: Early out of UpdateTiles for resoureceless draw This ensures that software draws with different draw properties do not affect tiling decisions. This avoids an invalidate-redraw loop if every invalidate leads to resourceless draw(s) with different draw properties that cause more tiling updates and invalidates. BUG=577433 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/99b904adcfc2d25f5a06bcf1e122387ef2c21d7d Cr-Commit-Position: refs/heads/master@{#371615}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment, test #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : don't call UpdateTiles at all #

Patch Set 5 : fix perftests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -202 lines) Patch
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 2 chunks +3 lines, -9 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 2 chunks +7 lines, -12 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 10 chunks +27 lines, -154 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 chunk +0 lines, -8 lines 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 2 3 4 5 chunks +5 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
danakj
https://codereview.chromium.org/1591513002/diff/1/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/1591513002/diff/1/cc/layers/picture_layer_impl.h#newcode159 cc/layers/picture_layer_impl.h:159: // Any draw properties derived from |transform|, |viewport|, and ...
4 years, 11 months ago (2016-01-15 00:58:18 UTC) #3
boliu
ptal just ported the test from the other CL https://codereview.chromium.org/1591513002/diff/1/cc/layers/picture_layer_impl.h File cc/layers/picture_layer_impl.h (right): https://codereview.chromium.org/1591513002/diff/1/cc/layers/picture_layer_impl.h#newcode159 cc/layers/picture_layer_impl.h:159: ...
4 years, 11 months ago (2016-01-15 23:54:28 UTC) #5
boliu
ping!
4 years, 11 months ago (2016-01-19 23:17:17 UTC) #6
boliu
pong?
4 years, 11 months ago (2016-01-21 00:06:18 UTC) #7
boliu
monday morning bump :p
4 years, 11 months ago (2016-01-25 16:49:57 UTC) #8
vmpstr
Sorry for the delay, I was out last week. https://codereview.chromium.org/1591513002/diff/20001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1591513002/diff/20001/cc/layers/picture_layer_impl.cc#newcode433 cc/layers/picture_layer_impl.cc:433: ...
4 years, 11 months ago (2016-01-25 23:44:05 UTC) #9
boliu
https://codereview.chromium.org/1591513002/diff/20001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1591513002/diff/20001/cc/layers/picture_layer_impl.cc#newcode433 cc/layers/picture_layer_impl.cc:433: if (resourceless_software_draw) On 2016/01/25 23:44:05, vmpstr wrote: > It's ...
4 years, 11 months ago (2016-01-26 00:01:03 UTC) #10
boliu
ptal Skipping UpdateTiles altogether
4 years, 11 months ago (2016-01-26 02:41:29 UTC) #11
vmpstr
lgtm thanks
4 years, 10 months ago (2016-01-26 18:24:50 UTC) #12
boliu
dana: any more comments?
4 years, 10 months ago (2016-01-26 18:46:41 UTC) #13
danakj
Nope, I'm happy if vmpstr's happy.
4 years, 10 months ago (2016-01-26 19:12:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591513002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591513002/60001
4 years, 10 months ago (2016-01-26 19:17:57 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/13029) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, ...
4 years, 10 months ago (2016-01-26 19:37:46 UTC) #18
boliu
doh, didn't compile cc_perftests locally. fixed
4 years, 10 months ago (2016-01-26 21:10:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591513002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591513002/80001
4 years, 10 months ago (2016-01-26 21:11:46 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-01-26 22:18:12 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2016-01-26 22:19:38 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/99b904adcfc2d25f5a06bcf1e122387ef2c21d7d
Cr-Commit-Position: refs/heads/master@{#371615}

Powered by Google App Engine
This is Rietveld 408576698