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

Issue 6995062: Fix RAF-stall that occurs when switching between WebGL animation and another tab. (Closed)

Created:
9 years, 6 months ago by jbates
Modified:
9 years, 6 months ago
Reviewers:
jamesr, nduca
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, Vangelis Kokkevis
Visibility:
Public.

Description

Fix RAF-stall that occurs when switching between WebGL animation and another tab. For some reason the RAF engine will stall permanently when switching back to a WebGL animation when the early out code is there. This just allows a DoDeferredUpdate anyway, which should be harmless because the visible check is done later. BUG=85265 TEST=switch between WebGL particles demo and about:flags for a while, notice no stall. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88474

Patch Set 1 #

Patch Set 2 : fixed root cause #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M content/renderer/render_widget.cc View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
jbates
9 years, 6 months ago (2011-06-08 00:12:43 UTC) #1
nduca
Can you help me understand what the race condition is that triggers this? I don't ...
9 years, 6 months ago (2011-06-08 00:26:48 UTC) #2
jbates
On 2011/06/08 00:26:48, nduca wrote: > Can you help me understand what the race condition ...
9 years, 6 months ago (2011-06-08 01:01:05 UTC) #3
nduca
Hmm, so the zero swapbuffers pending case is supposed to occur only when the context ...
9 years, 6 months ago (2011-06-08 01:24:25 UTC) #4
jbates
On 2011/06/08 01:24:25, nduca wrote: > Hmm, so the zero swapbuffers pending case is supposed ...
9 years, 6 months ago (2011-06-08 16:35:46 UTC) #5
nduca
The purpose of the early out is for a specific lost-context case. It should never ...
9 years, 6 months ago (2011-06-08 16:50:36 UTC) #6
jbates
Fixed the root cause, passes basic testing.
9 years, 6 months ago (2011-06-08 23:41:44 UTC) #7
nduca
LGTM
9 years, 6 months ago (2011-06-08 23:43:18 UTC) #8
jamesr
9 years, 6 months ago (2011-06-08 23:44:38 UTC) #9
lgtm

Powered by Google App Engine
This is Rietveld 408576698