author | Wes Kocher <wkocher@mozilla.com> |
Mon, 12 May 2014 19:10:30 -0700 (2014-05-13) | |
changeset 182784 | 74dbaf5ff1fc44bda93795786104271ebaf10be8 |
parent 182783 | d839669e740c7776824cc94001dcbb28a6f9dceb |
child 182785 | e1476873e8e76491b6259497e79c206036953606 |
push id | 43390 |
push user | kwierso@gmail.com |
push date | Tue, 13 May 2014 02:12:10 +0000 (2014-05-13) |
treeherder | mozilla-inbound@060ce12574c8 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 980178 |
milestone | 32.0a1 |
backs out | 475168143f2e19497b99732819a1b3f636a6cb04 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/content/canvas/src/WebGLContext.cpp +++ b/content/canvas/src/WebGLContext.cpp @@ -1306,31 +1306,33 @@ WebGLContext::UpdateContextLossStatus() mEmitContextLostErrorOnce = true; return; } } void WebGLContext::ForceLoseContext() { + printf_stderr("WebGL(%p)::ForceLoseContext\n", this); MOZ_ASSERT(!IsContextLost()); mContextStatus = ContextLostAwaitingEvent; mContextLostErrorSet = false; mLastLossWasSimulated = false; // Burn it all! DestroyResourcesAndContext(); // Queue up a task, since we know the status changed. EnqueueUpdateContextLossStatus(); } void WebGLContext::ForceRestoreContext() { + printf_stderr("WebGL(%p)::ForceRestoreContext\n", this); mContextStatus = ContextLostAwaitingRestore; mAllowContextRestore = true; // Hey, you did say 'force'. // Queue up a task, since we know the status changed. EnqueueUpdateContextLossStatus(); } void