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 902813003: Temporarily remove DCHECK that triggers during hardware teardown. (Closed)

Created:
5 years, 10 months ago by Tobias Sargeant
Modified:
5 years, 10 months ago
Reviewers:
boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org, hush (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Temporarily remove DCHECK that triggers during hardware teardown. The logic that this DCHECK checks is correct, but during hardware teardown the tracking information is also reset, even though the sync RequestDrawGL has not set up the tracking info that it is resetting, leaving the tracker in an unexpected state. Ideally we should be differentiating the DrawGL calls required for hardware teardown from the normal kModeProcess DrawGL calls, but that seems to require touching framework code, making it difficult to fix. BUG=451955 Committed: https://crrev.com/e020a9ef53a39b4010a68925933f4f1de6b83ca6 Cr-Commit-Position: refs/heads/master@{#315002}

Patch Set 1 : Temporarily remove DCHECK #

Patch Set 2 : Fix secondary DCHECK failure uncovered after Patch 1 #

Patch Set 3 : More speculative changes #

Total comments: 9

Patch Set 4 : Reformat code. #

Patch Set 5 : Go back to just removing the DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M android_webview/browser/shared_renderer_state.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
Tobias Sargeant
5 years, 10 months ago (2015-02-05 13:59:24 UTC) #2
boliu
Woh, this got more complicated since 2 hours and 38 minutes ago..
5 years, 10 months ago (2015-02-05 16:28:30 UTC) #3
boliu
Seems like a lot of refactoring. Aside from checking IsVisible instead of IsInsideHardwareRelease, what actually ...
5 years, 10 months ago (2015-02-05 17:10:22 UTC) #4
boliu
cc hush
5 years, 10 months ago (2015-02-05 17:10:46 UTC) #5
Tobias Sargeant
https://codereview.chromium.org/902813003/diff/40001/android_webview/browser/shared_renderer_state.cc File android_webview/browser/shared_renderer_state.cc (right): https://codereview.chromium.org/902813003/diff/40001/android_webview/browser/shared_renderer_state.cc#newcode297 android_webview/browser/shared_renderer_state.cc:297: case AwDrawGLInfo::kModeProcessNoContext: { On 2015/02/05 17:10:22, boliu wrote: > ...
5 years, 10 months ago (2015-02-05 17:29:39 UTC) #6
boliu
https://codereview.chromium.org/902813003/diff/40001/android_webview/browser/shared_renderer_state.cc File android_webview/browser/shared_renderer_state.cc (right): https://codereview.chromium.org/902813003/diff/40001/android_webview/browser/shared_renderer_state.cc#newcode322 android_webview/browser/shared_renderer_state.cc:322: if (browser_view_renderer_->IsVisible()) { On 2015/02/05 17:29:39, Tobias Sargeant wrote: ...
5 years, 10 months ago (2015-02-05 17:36:17 UTC) #7
Tobias Sargeant
> And that call is kModeDraw (not kModeProcess)? The answer matters a lot to where ...
5 years, 10 months ago (2015-02-05 17:40:48 UTC) #8
boliu
lgtm
5 years, 10 months ago (2015-02-05 18:05:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902813003/80001
5 years, 10 months ago (2015-02-06 09:09:31 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-06 12:11:13 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 12:12:09 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e020a9ef53a39b4010a68925933f4f1de6b83ca6
Cr-Commit-Position: refs/heads/master@{#315002}

Powered by Google App Engine
This is Rietveld 408576698