Bug 1021265 - Fix bustage - no review on a CLOSED TREE
authorBenoit Jacob <bjacob@mozilla.com>
Tue, 04 Nov 2014 14:47:15 -0500
changeset 213952 0b298d91fbddcf915f25c3ac3daebfa3a22f9393
parent 213951 b6420c451f452ad458d0935de5da170aff3d34c8
child 213953 2266676732ef2d08ca5c635c79711a3226baa3fe
push id27768
push userkwierso@gmail.com
push dateWed, 05 Nov 2014 02:19:03 +0000
treeherdermozilla-central@a1823d3c7365 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1021265
milestone36.0a1
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
Bug 1021265 - Fix bustage - no review on a CLOSED TREE
gfx/thebes/gfxWindowsPlatform.cpp
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -391,17 +391,17 @@ gfxWindowsPlatform::UpdateRenderMode()
     if (d2dDisabled || mUsingGDIFonts) {
         tryD2D = false;
     }
 
     ID3D11Device *device = GetD3D11Device();
     if (isVistaOrHigher && !safeMode && tryD2D &&
         device &&
         device->GetFeatureLevel() >= D3D_FEATURE_LEVEL_10_0 &&
-        DoesD3D11DeviceSupportResourceSharing(device)) {
+        DoesD3D11DeviceWork(device)) {
 
         VerifyD2DDevice(d2dForceEnabled);
         if (mD2DDevice) {
             mRenderMode = RENDER_DIRECT2D;
             mUseDirectWrite = true;
         }
     } else {
         mD2DDevice = nullptr;