summaryrefslogtreecommitdiffstats
path: root/gfx/thebes
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-20 12:10:50 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-20 12:10:50 +0200
commitfc001cc5bf6dfbb6504a4fa2ab95beda615f8d19 (patch)
tree29e15488fc346a9f0078dc37790d95c562f56cf8 /gfx/thebes
parent5aafe792b123389abe2ba108208bbc91435ea3b3 (diff)
downloadUXP-fc001cc5bf6dfbb6504a4fa2ab95beda615f8d19.tar
UXP-fc001cc5bf6dfbb6504a4fa2ab95beda615f8d19.tar.gz
UXP-fc001cc5bf6dfbb6504a4fa2ab95beda615f8d19.tar.lz
UXP-fc001cc5bf6dfbb6504a4fa2ab95beda615f8d19.tar.xz
UXP-fc001cc5bf6dfbb6504a4fa2ab95beda615f8d19.zip
Remove gfxCrashReporterUtils.
Tag #20.
Diffstat (limited to 'gfx/thebes')
-rw-r--r--gfx/thebes/DeviceManagerDx.cpp2
-rw-r--r--gfx/thebes/DeviceManagerDx.h2
-rw-r--r--gfx/thebes/gfxPlatform.cpp2
-rwxr-xr-xgfx/thebes/gfxWindowsPlatform.cpp7
-rw-r--r--gfx/thebes/gfxWindowsPlatform.h1
5 files changed, 0 insertions, 14 deletions
diff --git a/gfx/thebes/DeviceManagerDx.cpp b/gfx/thebes/DeviceManagerDx.cpp
index c194f40f2..2f2693c76 100644
--- a/gfx/thebes/DeviceManagerDx.cpp
+++ b/gfx/thebes/DeviceManagerDx.cpp
@@ -389,7 +389,6 @@ DeviceManagerDx::CreateDevice(IDXGIAdapter* aAdapter,
void
DeviceManagerDx::CreateWARPCompositorDevice()
{
- ScopedGfxFeatureReporter reporterWARP("D3D11-WARP", gfxPrefs::LayersD3D11ForceWARP());
FeatureState& d3d11 = gfxConfig::GetFeature(Feature::D3D11_COMPOSITING);
HRESULT hr;
@@ -434,7 +433,6 @@ DeviceManagerDx::CreateWARPCompositorDevice()
}
mCompositorDevice->SetExceptionMode(0);
- reporterWARP.SetSuccessful();
}
FeatureStatus
diff --git a/gfx/thebes/DeviceManagerDx.h b/gfx/thebes/DeviceManagerDx.h
index ea6dd4846..e29ab0731 100644
--- a/gfx/thebes/DeviceManagerDx.h
+++ b/gfx/thebes/DeviceManagerDx.h
@@ -34,8 +34,6 @@ struct ID3D11Device;
struct IDirectDraw7;
namespace mozilla {
-class ScopedGfxFeatureReporter;
-
namespace gfx {
class FeatureState;
diff --git a/gfx/thebes/gfxPlatform.cpp b/gfx/thebes/gfxPlatform.cpp
index 4db7bc29f..684117788 100644
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -18,7 +18,6 @@
#include "mozilla/Logging.h"
#include "mozilla/Services.h"
-#include "gfxCrashReporterUtils.h"
#include "gfxPlatform.h"
#include "gfxPrefs.h"
#include "gfxEnv.h"
@@ -650,7 +649,6 @@ gfxPlatform::Init()
gfxPrefs::CanvasAzureAccelerated(),
gfxPrefs::DisableGralloc(),
gfxPrefs::ForceShmemTiles());
- ScopedGfxFeatureReporter::AppNote(forcedPrefs);
}
InitMoz2DLogging();
diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp
index c68f622c6..a988859eb 100755
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -33,8 +33,6 @@
#include "nsIGfxInfo.h"
-#include "gfxCrashReporterUtils.h"
-
#include "gfxGDIFontList.h"
#include "gfxGDIFont.h"
@@ -400,7 +398,6 @@ gfxWindowsPlatform::InitDWriteSupport()
return false;
}
- mozilla::ScopedGfxFeatureReporter reporter("DWrite");
decltype(DWriteCreateFactory)* createDWriteFactory = (decltype(DWriteCreateFactory)*)
GetProcAddress(LoadLibraryW(L"dwrite.dll"), "DWriteCreateFactory");
if (!createDWriteFactory) {
@@ -422,7 +419,6 @@ gfxWindowsPlatform::InitDWriteSupport()
Factory::SetDWriteFactory(mDWriteFactory);
SetupClearTypeParams();
- reporter.SetSuccessful();
return true;
}
@@ -1569,8 +1565,6 @@ gfxWindowsPlatform::InitializeD2DConfig()
void
gfxWindowsPlatform::InitializeD2D()
{
- ScopedGfxFeatureReporter d2d1_1("D2D1.1");
-
FeatureState& d2d1 = gfxConfig::GetFeature(Feature::DIRECT2D);
DeviceManagerDx* dm = DeviceManagerDx::Get();
@@ -1621,7 +1615,6 @@ gfxWindowsPlatform::InitializeD2D()
}
MOZ_ASSERT(d2d1.IsEnabled());
- d2d1_1.SetSuccessful();
}
bool
diff --git a/gfx/thebes/gfxWindowsPlatform.h b/gfx/thebes/gfxWindowsPlatform.h
index f77d9a87a..f401038fc 100644
--- a/gfx/thebes/gfxWindowsPlatform.h
+++ b/gfx/thebes/gfxWindowsPlatform.h
@@ -13,7 +13,6 @@
*/
#include "cairo-win32.h"
-#include "gfxCrashReporterUtils.h"
#include "gfxFontUtils.h"
#include "gfxWindowsSurface.h"
#include "gfxFont.h"