summaryrefslogtreecommitdiffstats
path: root/gfx/thebes/gfxPlatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/thebes/gfxPlatform.h')
-rw-r--r--gfx/thebes/gfxPlatform.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gfx/thebes/gfxPlatform.h b/gfx/thebes/gfxPlatform.h
index 5af6d77345..452e7208b4 100644
--- a/gfx/thebes/gfxPlatform.h
+++ b/gfx/thebes/gfxPlatform.h
@@ -646,9 +646,6 @@ class gfxPlatform : public mozilla::layers::MemoryPressureListener {
*/
static mozilla::LogModule* GetLog(eGfxLog aWhichLog);
- int GetScreenDepth() const { return mScreenDepth; }
- mozilla::gfx::IntSize GetScreenSize() const { return mScreenSize; }
-
static void PurgeSkiaFontCache();
static bool UsesOffMainThreadCompositing();
@@ -811,8 +808,6 @@ class gfxPlatform : public mozilla::layers::MemoryPressureListener {
static bool UseDesktopZoomingScrollbars();
- virtual bool SupportsHDR() { return false; }
-
protected:
gfxPlatform();
virtual ~gfxPlatform();
@@ -982,7 +977,7 @@ class gfxPlatform : public mozilla::layers::MemoryPressureListener {
static void ShutdownCMS();
/**
- * This uses nsIScreenManager to determine the screen size and color depth
+ * This uses nsIScreenManager to determine the primary screen color depth
*/
void PopulateScreenInfo();
@@ -1027,9 +1022,6 @@ class gfxPlatform : public mozilla::layers::MemoryPressureListener {
// created yet.
mozilla::layers::LayersBackend mCompositorBackend;
- int32_t mScreenDepth;
- mozilla::gfx::IntSize mScreenSize;
-
mozilla::Maybe<mozilla::layers::OverlayInfo> mOverlayInfo;
mozilla::Maybe<mozilla::layers::SwapChainInfo> mSwapChainInfo;