Bug 1131370 - Give content side more time to finish its copy. r=jrmuizel, a=lmandel
authorBas Schouten <bschouten@mozilla.com>
Sun, 22 Feb 2015 22:52:47 +0000
changeset 250399 eaeb3aeb7a77
parent 250398 ae0452603a3a
child 250400 be0abc9b1af7
push id4573
push userryanvm@gmail.com
push date2015-03-16 21:06 +0000
treeherdermozilla-beta@be0abc9b1af7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel, lmandel
bugs1131370
milestone37.0
Bug 1131370 - Give content side more time to finish its copy. r=jrmuizel, a=lmandel
gfx/layers/d3d11/TextureD3D11.cpp
--- a/gfx/layers/d3d11/TextureD3D11.cpp
+++ b/gfx/layers/d3d11/TextureD3D11.cpp
@@ -820,17 +820,17 @@ SyncObjectD3D11::FinalizeFrame()
       gfxCriticalError() << "Failed to get KeyedMutex: " << hexa(hr);
       MOZ_CRASH();
     }
   }
 
   if (mD3D10SyncedTextures.size()) {
     RefPtr<IDXGIKeyedMutex> mutex;
     hr = mD3D10Texture->QueryInterface((IDXGIKeyedMutex**)byRef(mutex));
-    hr = mutex->AcquireSync(0, 10000);
+    hr = mutex->AcquireSync(0, 20000);
 
     if (hr == WAIT_TIMEOUT) {
       MOZ_CRASH();
     }
 
     D3D10_BOX box;
     box.front = box.top = box.left = 0;
     box.back = box.bottom = box.right = 1;