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

Issue 233583002: Fix crash in skia graphics context teardown after gpu context loss (Closed)

Created:
6 years, 8 months ago by Justin Novosad
Modified:
6 years, 8 months ago
Reviewers:
dshwang, piman
CC:
chromium-reviews, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Visibility:
Public.

Description

Fix crash in skia graphics context teardown after gpu context loss GrContextForWebGraphicsContext3D::OnLostContext() was calling GrContext::contextLost() which has the wrong behavior: it assumes that the gpu context is still valid but that all of its resources have been lost, so it attempts to reinitialize resources that are used internally by skia. The correct action is to call GrContext::contextDestroyed(), which signals that the gpu context is no longer usable. BUG=361555 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263056

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Justin Novosad
PTAL
6 years, 8 months ago (2014-04-10 17:25:22 UTC) #1
dshwang
Thank you for fix. lgtm
6 years, 8 months ago (2014-04-10 17:42:16 UTC) #2
piman
lgtm
6 years, 8 months ago (2014-04-10 18:00:33 UTC) #3
Justin Novosad
The CQ bit was checked by junov@chromium.org
6 years, 8 months ago (2014-04-10 18:19:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/junov@chromium.org/233583002/1
6 years, 8 months ago (2014-04-10 18:20:12 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 20:02:46 UTC) #6
Message was sent while issue was closed.
Change committed as 263056

Powered by Google App Engine
This is Rietveld 408576698