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

Issue 871743002: cc: Fix multiple outstanding output surface requests (Closed)

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

Description

cc: Fix multiple outstanding output surface requests SingleThreadProxy was previously not considering DidFailToInitializeOutputSurface responses as an outstanding RequestNewOutputSurface call. This would cause the embedder to start servicing an output surface request, then composite, receive another, and then have double output surface requests. The fix is to consider this failure state as a request. BUG=444277 Committed: https://crrev.com/5232fbbf8df7e06471950a12bc041c766e31a997 Cr-Commit-Position: refs/heads/master@{#313357}

Patch Set 1 #

Patch Set 2 : Fix content_unittests #

Total comments: 3

Patch Set 3 : Using CompositorDeps #

Total comments: 2

Patch Set 4 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -22 lines) Patch
M cc/trees/layer_tree_host_unittest_context.cc View 1 chunk +25 lines, -9 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M content/renderer/gpu/compositor_dependencies.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor_unittest.cc View 1 2 4 chunks +28 lines, -9 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/test/fake_compositor_dependencies.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/test/fake_compositor_dependencies.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 24 (7 generated)
enne (OOO)
Sorry for the belated fix here. :(
5 years, 11 months ago (2015-01-22 22:56:28 UTC) #2
danakj
LGTM
5 years, 11 months ago (2015-01-22 23:01:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871743002/1
5 years, 11 months ago (2015-01-22 23:13:56 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/25044)
5 years, 11 months ago (2015-01-23 00:42:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871743002/1
5 years, 11 months ago (2015-01-23 01:15:03 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/47803) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/17377) linux_chromium_rel_ng ...
5 years, 11 months ago (2015-01-23 01:17:01 UTC) #11
enne (OOO)
Fixed content_unittests. jbauman: content/renderer/gpu OWNERS (I added a function to muck with cc settings to ...
5 years, 11 months ago (2015-01-27 01:41:20 UTC) #12
danakj
LGTM but.. https://codereview.chromium.org/871743002/diff/20001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/871743002/diff/20001/content/renderer/gpu/render_widget_compositor.cc#newcode444 content/renderer/gpu/render_widget_compositor.cc:444: } Add a comment here somewhere this ...
5 years, 11 months ago (2015-01-27 01:46:37 UTC) #13
enne (OOO)
https://codereview.chromium.org/871743002/diff/20001/content/renderer/gpu/render_widget_compositor_unittest.cc File content/renderer/gpu/render_widget_compositor_unittest.cc (right): https://codereview.chromium.org/871743002/diff/20001/content/renderer/gpu/render_widget_compositor_unittest.cc#newcode132 content/renderer/gpu/render_widget_compositor_unittest.cc:132: settings->single_thread_proxy_scheduler = false; On 2015/01/27 01:46:37, danakj wrote: > ...
5 years, 11 months ago (2015-01-27 01:59:43 UTC) #14
danakj
LGTM
5 years, 11 months ago (2015-01-27 03:40:46 UTC) #15
jbauman
lgtm (though you'll probably need another owner now).
5 years, 11 months ago (2015-01-27 03:42:42 UTC) #16
enne (OOO)
sievers: content/ OWNERS
5 years, 11 months ago (2015-01-27 04:03:02 UTC) #18
no sievers
lgtm https://codereview.chromium.org/871743002/diff/40001/content/renderer/gpu/compositor_dependencies.h File content/renderer/gpu/compositor_dependencies.h (right): https://codereview.chromium.org/871743002/diff/40001/content/renderer/gpu/compositor_dependencies.h#newcode38 content/renderer/gpu/compositor_dependencies.h:38: virtual bool UseSingleThreadScheduler() = 0; Does this deserve ...
5 years, 11 months ago (2015-01-27 19:26:59 UTC) #19
enne (OOO)
https://codereview.chromium.org/871743002/diff/40001/content/renderer/gpu/compositor_dependencies.h File content/renderer/gpu/compositor_dependencies.h (right): https://codereview.chromium.org/871743002/diff/40001/content/renderer/gpu/compositor_dependencies.h#newcode38 content/renderer/gpu/compositor_dependencies.h:38: virtual bool UseSingleThreadScheduler() = 0; On 2015/01/27 19:26:59, sievers ...
5 years, 11 months ago (2015-01-27 19:30:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871743002/60001
5 years, 11 months ago (2015-01-27 19:31:55 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-27 21:23:13 UTC) #23
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 21:24:21 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5232fbbf8df7e06471950a12bc041c766e31a997
Cr-Commit-Position: refs/heads/master@{#313357}

Powered by Google App Engine
This is Rietveld 408576698