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

Issue 1134123005: cc: split UpdateGpuRasterizationStatus() into two parts. (Closed)

Created:
5 years, 7 months ago by Stephen White
Modified:
5 years, 7 months ago
Reviewers:
danakj
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: split UpdateGpuRasterizationStatus() into two parts. Make one part handle updating status (now private, and called automatically when content or viewport params change), and one part called on commit or renderer change. BUG=464892 Committed: https://crrev.com/9c04acba8eacb5be020098cec7b4ec7c797844d7 Cr-Commit-Position: refs/heads/master@{#330170}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Fixes per review comments #

Total comments: 6

Patch Set 3 : Fixes per review comments #

Patch Set 4 : Rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -64 lines) Patch
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 8 chunks +18 lines, -24 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 3 chunks +8 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 6 chunks +16 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 6 chunks +23 lines, -30 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Stephen White
https://codereview.chromium.org/1134123005/diff/1/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1134123005/diff/1/cc/layers/picture_layer_impl_unittest.cc#newcode2516 cc/layers/picture_layer_impl_unittest.cc:2516: host_impl_.set_has_gpu_rasterization_trigger(false); Should we be calling UpdateTreeResourcesIfNeeded() here? Test seems ...
5 years, 7 months ago (2015-05-13 19:44:17 UTC) #1
danakj
https://codereview.chromium.org/1134123005/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1134123005/diff/1/cc/trees/layer_tree_host_impl.cc#newcode312 cc/trees/layer_tree_host_impl.cc:312: UpdateTreeResourcesIfNeeded(); I would UpdateGpuRasterizationStatus() here then UpdateTreeResourcesIfNeeded right after, ...
5 years, 7 months ago (2015-05-13 19:50:58 UTC) #3
danakj
https://codereview.chromium.org/1134123005/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1134123005/diff/1/cc/trees/layer_tree_host_impl.cc#newcode1629 cc/trees/layer_tree_host_impl.cc:1629: if (!tree_resources_dirty_) { On 2015/05/13 19:50:58, danakj wrote: > ...
5 years, 7 months ago (2015-05-13 19:53:45 UTC) #4
Stephen White
Thanks for your review! New patch up. https://codereview.chromium.org/1134123005/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1134123005/diff/1/cc/trees/layer_tree_host_impl.cc#newcode312 cc/trees/layer_tree_host_impl.cc:312: UpdateTreeResourcesIfNeeded(); On ...
5 years, 7 months ago (2015-05-13 20:15:20 UTC) #5
danakj
LGTM https://codereview.chromium.org/1134123005/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1134123005/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode2842 cc/layers/picture_layer_impl_unittest.cc:2842: host_impl_.UpdateTreeResourcesForGpuRasterizationIfNeeded(); is this needed? https://codereview.chromium.org/1134123005/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): ...
5 years, 7 months ago (2015-05-13 20:21:58 UTC) #6
Stephen White
https://codereview.chromium.org/1134123005/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/1134123005/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode2842 cc/layers/picture_layer_impl_unittest.cc:2842: host_impl_.UpdateTreeResourcesForGpuRasterizationIfNeeded(); On 2015/05/13 20:21:57, danakj wrote: > is this ...
5 years, 7 months ago (2015-05-13 20:38:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134123005/40001
5 years, 7 months ago (2015-05-13 20:40:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134123005/60001
5 years, 7 months ago (2015-05-15 18:54:13 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-15 19:41:40 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 19:42:30 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9c04acba8eacb5be020098cec7b4ec7c797844d7
Cr-Commit-Position: refs/heads/master@{#330170}

Powered by Google App Engine
This is Rietveld 408576698