Backed out changeset 475168143f2e (bug 980178) to fix webgl bustage on a CLOSED TREE
authorWes 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 id43390
push userkwierso@gmail.com
push dateTue, 13 May 2014 02:12:10 +0000 (2014-05-13)
treeherdermozilla-inbound@060ce12574c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs980178
milestone32.0a1
backs out475168143f2e19497b99732819a1b3f636a6cb04
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
Backed out changeset 475168143f2e (bug 980178) to fix webgl bustage on a CLOSED TREE
content/canvas/src/WebGLContext.cpp
--- 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