diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-25 21:26:24 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:14:11 +0200 |
commit | 068372c618726edc5eb1a519c99fe438fbcbe944 (patch) | |
tree | 301fe19c18fba8ca5645f8e6a97c6f5fda48b08e /gfx/thebes/gfxPlatformMac.h | |
parent | a1cce3b2b00bbd9f4983013ddd8934a7bccb9e99 (diff) | |
download | UXP-068372c618726edc5eb1a519c99fe438fbcbe944.tar UXP-068372c618726edc5eb1a519c99fe438fbcbe944.tar.gz UXP-068372c618726edc5eb1a519c99fe438fbcbe944.tar.lz UXP-068372c618726edc5eb1a519c99fe438fbcbe944.tar.xz UXP-068372c618726edc5eb1a519c99fe438fbcbe944.zip |
Issue #1360 - Part 1: Simplify layers acceleration prefs.
This gets rid of platform-dependent hard-coded defaults, but keeps
build-time blocking if there is no GL provider (in which case layers
acceleration almost certainly won't work because it needs a GL
compositor and would likely crash without)
New prefs are
- layers.acceleration.enabled to enable HWA
- layers.acceleration.force to force it enabled (requires .enabled to be
set as well)
This is the platform part of this issue. The rest will be front-end work
(Preference UI integration and pref migration)
Diffstat (limited to 'gfx/thebes/gfxPlatformMac.h')
-rw-r--r-- | gfx/thebes/gfxPlatformMac.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gfx/thebes/gfxPlatformMac.h b/gfx/thebes/gfxPlatformMac.h index 0807614f6..ea4c1a101 100644 --- a/gfx/thebes/gfxPlatformMac.h +++ b/gfx/thebes/gfxPlatformMac.h @@ -81,9 +81,6 @@ public: // lower threshold on font anti-aliasing uint32_t GetAntiAliasingThreshold() { return mFontAntiAliasingThreshold; } -protected: - bool AccelerateLayersByDefault() override; - private: virtual void GetPlatformCMSOutputProfile(void* &mem, size_t &size) override; |