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

Issue 23670002: cc: Handle deferred GL initialization failure. (Closed)

Created:
7 years, 3 months ago by danakj
Modified:
7 years, 3 months ago
Reviewers:
boliu
CC:
chromium-reviews, cc-bugs_chromium.org, piman
Visibility:
Public.

Description

cc: Handle deferred GL initialization failure. Adds some tests that demonstrate behaviour when deferred GL initialization fails, and changes to prevent crashes and lose the output surface in this case. The changes are kept local to the deferred initialization path in LayerTreeHostImpl. R=boliu BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220107

Patch Set 1 #

Patch Set 2 : handlefailure-deferredglinit: #

Patch Set 3 : handlefailure-deferredglinit: #

Total comments: 4

Patch Set 4 : handlefailure-deferredglinit: merge test setup code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -39 lines) Patch
cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +39 lines, -9 lines 0 comments Download
cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 5 chunks +129 lines, -30 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
danakj
7 years, 3 months ago (2013-08-28 03:26:49 UTC) #1
boliu
lgtm https://codereview.chromium.org/23670002/diff/4001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/23670002/diff/4001/cc/trees/layer_tree_host_impl_unittest.cc#newcode6234 cc/trees/layer_tree_host_impl_unittest.cc:6234: TEST_F(LayerTreeHostImplTest, DeferredInitializeFails_OnscreenContext_0) { output_surface_unittests should have a test ...
7 years, 3 months ago (2013-08-28 03:48:17 UTC) #2
danakj
PTAL https://codereview.chromium.org/23670002/diff/4001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/23670002/diff/4001/cc/trees/layer_tree_host_impl_unittest.cc#newcode6234 cc/trees/layer_tree_host_impl_unittest.cc:6234: TEST_F(LayerTreeHostImplTest, DeferredInitializeFails_OnscreenContext_0) { On 2013/08/28 03:48:17, boliu wrote: ...
7 years, 3 months ago (2013-08-28 15:36:09 UTC) #3
boliu
"error: old chunk mismatch" on PS4 :/ But still lgtm based on raw diff :)
7 years, 3 months ago (2013-08-28 15:57:41 UTC) #4
danakj
On 2013/08/28 15:57:41, boliu wrote: > "error: old chunk mismatch" on PS4 :/ > > ...
7 years, 3 months ago (2013-08-28 15:59:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/23670002/10001
7 years, 3 months ago (2013-08-28 16:12:53 UTC) #6
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 21:49:51 UTC) #7
Message was sent while issue was closed.
Change committed as 220107

Powered by Google App Engine
This is Rietveld 408576698