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

Issue 11747002: cc: Set the max frames pending from the thread proxy. (Closed)

Created:
7 years, 11 months ago by danakj
Modified:
7 years, 11 months ago
Reviewers:
jamesr, piman, Nat, nduca, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Set the max frames pending from the thread proxy. When a parent compositor is present (ie, ubercompositor), throttle to a single pending frame. Tests: LayerTreeHostTestMaxPendingFrames.DelegatingRenderer LayerTreeHostTestMaxPendingFrames.GLRenderer BUG=123444 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177104

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : for-landing #

Patch Set 4 : for-landing #

Total comments: 1

Patch Set 5 : move into success block #

Patch Set 6 : indent #

Patch Set 7 : RebaseForLanding #

Patch Set 8 : DCHECK_GE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -14 lines) Patch
M cc/frame_rate_controller.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M cc/frame_rate_controller.cc View 1 2 3 4 5 6 7 5 chunks +5 lines, -13 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 6 3 chunks +54 lines, -1 line 0 comments Download
M cc/scheduler.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/scheduler.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M cc/test/fake_output_surface.h View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M cc/thread_proxy.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/thread_proxy.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
danakj
7 years, 11 months ago (2013-01-02 17:51:38 UTC) #1
enne (OOO)
https://codereview.chromium.org/11747002/diff/2001/cc/frame_rate_controller.cc File cc/frame_rate_controller.cc (right): https://codereview.chromium.org/11747002/diff/2001/cc/frame_rate_controller.cc#newcode111 cc/frame_rate_controller.cc:111: if (m_swapBuffersCompleteSupported && !m_isTimeSourceThrottling && (!m_maxFramesPending || m_numFramesPending < ...
7 years, 11 months ago (2013-01-04 21:42:05 UTC) #2
danakj
https://codereview.chromium.org/11747002/diff/2001/cc/frame_rate_controller.cc File cc/frame_rate_controller.cc (right): https://codereview.chromium.org/11747002/diff/2001/cc/frame_rate_controller.cc#newcode111 cc/frame_rate_controller.cc:111: if (m_swapBuffersCompleteSupported && !m_isTimeSourceThrottling && (!m_maxFramesPending || m_numFramesPending < ...
7 years, 11 months ago (2013-01-04 21:44:44 UTC) #3
enne (OOO)
https://codereview.chromium.org/11747002/diff/2001/cc/layer_tree_host_unittest.cc File cc/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/11747002/diff/2001/cc/layer_tree_host_unittest.cc#newcode2282 cc/layer_tree_host_unittest.cc:2282: EXPECT_LT(1, proxy->maxFramesPendingForTesting()); On 2013/01/04 21:44:45, danakj wrote: > On ...
7 years, 11 months ago (2013-01-04 21:56:43 UTC) #4
danakj
On 2013/01/04 21:56:43, enne wrote: > https://codereview.chromium.org/11747002/diff/2001/cc/layer_tree_host_unittest.cc > File cc/layer_tree_host_unittest.cc (right): > > https://codereview.chromium.org/11747002/diff/2001/cc/layer_tree_host_unittest.cc#newcode2282 > ...
7 years, 11 months ago (2013-01-04 22:00:23 UTC) #5
enne (OOO)
Also, lgtm
7 years, 11 months ago (2013-01-04 22:06:48 UTC) #6
danakj
thanks :) On Fri, Jan 4, 2013 at 5:06 PM, <enne@chromium.org> wrote: > Also, lgtm ...
7 years, 11 months ago (2013-01-04 22:11:40 UTC) #7
danakj
https://codereview.chromium.org/11747002/diff/2001/cc/frame_rate_controller.cc File cc/frame_rate_controller.cc (right): https://codereview.chromium.org/11747002/diff/2001/cc/frame_rate_controller.cc#newcode111 cc/frame_rate_controller.cc:111: if (m_swapBuffersCompleteSupported && !m_isTimeSourceThrottling && (!m_maxFramesPending || m_numFramesPending < ...
7 years, 11 months ago (2013-01-04 22:24:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11747002/17001
7 years, 11 months ago (2013-01-04 22:24:40 UTC) #9
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 11 months ago (2013-01-05 02:38:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11747002/17001
7 years, 11 months ago (2013-01-05 03:28:31 UTC) #11
commit-bot: I haz the power
Change committed as 175275
7 years, 11 months ago (2013-01-05 03:28:55 UTC) #12
nduca
i would have liked to see maxFramesPending be a construction time parameter
7 years, 11 months ago (2013-01-05 04:07:44 UTC) #13
danakj
On Fri, Jan 4, 2013 at 11:07 PM, <nduca@chromium.org> wrote: > i would have liked ...
7 years, 11 months ago (2013-01-06 03:17:04 UTC) #14
Nat
One longstanding todo is that the vsync callback comes in via the wgc3d and then ...
7 years, 11 months ago (2013-01-07 17:49:42 UTC) #15
danakj
On Mon, Jan 7, 2013 at 12:49 PM, Nat Duca <nduca@google.com> wrote: > One longstanding ...
7 years, 11 months ago (2013-01-07 17:51:54 UTC) #16
jamesr
https://chromiumcodereview.appspot.com/11747002/diff/17001/cc/thread_proxy.cc File cc/thread_proxy.cc (right): https://chromiumcodereview.appspot.com/11747002/diff/17001/cc/thread_proxy.cc#newcode949 cc/thread_proxy.cc:949: if (m_layerTreeHostImpl->outputSurface()->Capabilities().has_parent_compositor) This line caused crashes on the win_aura ...
7 years, 11 months ago (2013-01-08 00:18:39 UTC) #17
danakj
Here's a patch that shouldn't crash when initializing the renderer fails.
7 years, 11 months ago (2013-01-08 00:58:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11747002/10006
7 years, 11 months ago (2013-01-08 01:05:29 UTC) #19
jamesr
On 2013/01/08 01:05:29, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 11 months ago (2013-01-08 01:06:27 UTC) #20
jamesr
Patch set 6 LGTM, but that's no reason to skip process (including running trybots - ...
7 years, 11 months ago (2013-01-08 01:07:15 UTC) #21
danakj
On 2013/01/08 01:07:15, jamesr wrote: > Patch set 6 LGTM, but that's no reason to ...
7 years, 11 months ago (2013-01-08 01:09:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11747002/10006
7 years, 11 months ago (2013-01-08 01:11:53 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11747002/10006
7 years, 11 months ago (2013-01-10 19:26:13 UTC) #24
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-10 19:26:15 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11747002/43001
7 years, 11 months ago (2013-01-16 03:52:20 UTC) #26
commit-bot: I haz the power
7 years, 11 months ago (2013-01-16 08:51:35 UTC) #27
Message was sent while issue was closed.
Change committed as 177104

Powered by Google App Engine
This is Rietveld 408576698