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

Issue 1113493007: Allow cc::STP::SetNeedsAnimate to request another commit from a commit (Closed)

Created:
5 years, 7 months ago by brianderson
Modified:
5 years, 7 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org, enne (OOO)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow cc::STP::SetNeedsAnimate to request another commit from a commit This makes SingleThreadProxy behave like ThreadProxy. BUG=481436 Committed: https://crrev.com/49e101d29ee1fa026ea609fb7bbd229a7e223d6a Cr-Commit-Position: refs/heads/master@{#327396}

Patch Set 1 #

Patch Set 2 : enable TP test for STP #

Total comments: 2

Patch Set 3 : address comments #

Total comments: 1

Patch Set 4 : remove {}'s #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M cc/trees/layer_tree_host_unittest_animation.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 5 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
brianderson
All tests pass, so this will need a regression test.
5 years, 7 months ago (2015-04-28 19:20:22 UTC) #1
brianderson
Test already existed. Just needed to enable it for STP. The test fails before this ...
5 years, 7 months ago (2015-04-28 19:33:58 UTC) #3
danakj
https://codereview.chromium.org/1113493007/diff/20001/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (right): https://codereview.chromium.org/1113493007/diff/20001/cc/trees/single_thread_proxy.cc#newcode182 cc/trees/single_thread_proxy.cc:182: SetNeedsCommitOnImplThread(); This would ScheduleComposite twice, and we should early ...
5 years, 7 months ago (2015-04-28 20:00:44 UTC) #4
danakj
I was going to do basically the same thing as this :) https://codereview.chromium.org/1109203004 Can you ...
5 years, 7 months ago (2015-04-28 20:03:11 UTC) #5
brianderson
Looks a lot more like Dana's patch now. Ptal. Duped call to ScheduleComposite is gone ...
5 years, 7 months ago (2015-04-28 20:33:55 UTC) #6
danakj
LGTM https://codereview.chromium.org/1113493007/diff/40001/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (right): https://codereview.chromium.org/1113493007/diff/40001/cc/trees/single_thread_proxy.cc#newcode182 cc/trees/single_thread_proxy.cc:182: if (animate_requested_) { nit: no {}
5 years, 7 months ago (2015-04-28 21:47:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1113493007/60001
5 years, 7 months ago (2015-04-28 22:02:12 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-04-29 00:05:43 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 00:07:36 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/49e101d29ee1fa026ea609fb7bbd229a7e223d6a
Cr-Commit-Position: refs/heads/master@{#327396}

Powered by Google App Engine
This is Rietveld 408576698