author | Benoit Jacob <bjacob@mozilla.com> |
Tue, 04 Nov 2014 18:17:11 -0500 | |
changeset 214021 | 1b07e2892e9d6df4608c97ee7ebd6346a77c00bb |
parent 214020 | 2e9f81c5d00c0b5bc7df99645557eb9f4dd04283 |
child 214022 | b24680cc584c68eefd8dd5f75d177fa8d6464410 |
push id | 27771 |
push user | ryanvm@gmail.com |
push date | Wed, 05 Nov 2014 19:04:24 +0000 |
treeherder | mozilla-central@305b4fecce99 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jrmuizel |
bugs | 1021265 |
milestone | 36.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
|
--- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -65,16 +65,20 @@ #include "nsIMemoryReporter.h" #include <winternl.h> #include "d3dkmtQueryStatistics.h" #include "SurfaceCache.h" #include "gfxPrefs.h" +#if defined(MOZ_CRASHREPORTER) +#include "nsExceptionHandler.h" +#endif + using namespace mozilla; using namespace mozilla::gfx; using namespace mozilla::layers; using namespace mozilla::widget; using namespace mozilla::image; #ifdef CAIRO_HAS_D2D_SURFACE @@ -1517,19 +1521,25 @@ bool DoesD3D11DeviceWork(ID3D11Device *d return result; checked = true; if (GetModuleHandleW(L"dlumd32.dll") && GetModuleHandleW(L"igd10umd32.dll")) { nsString displayLinkModuleVersionString; gfxWindowsPlatform::GetDLLVersion(L"dlumd32.dll", displayLinkModuleVersionString); uint64_t displayLinkModuleVersion; if (!ParseDriverVersion(displayLinkModuleVersionString, &displayLinkModuleVersion)) { +#if defined(MOZ_CRASHREPORTER) + CrashReporter::AppendAppNotesToCrashReport(NS_LITERAL_CSTRING("DisplayLink: could not parse version\n")); +#endif return false; } if (displayLinkModuleVersion <= GFX_DRIVER_VERSION(8,6,1,36484)) { +#if defined(MOZ_CRASHREPORTER) + CrashReporter::AppendAppNotesToCrashReport(NS_LITERAL_CSTRING("DisplayLink: too old version\n")); +#endif return false; } } RefPtr<ID3D11Texture2D> texture; D3D11_TEXTURE2D_DESC desc; desc.Width = 32; desc.Height = 32;