diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-25 21:26:24 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-26 09:48:52 +0100 |
commit | 282b791acb826de9b537fce88bf49472d8e19977 (patch) | |
tree | 66305728b11d922ef5a8bd5e2f158ea651f99e5f /gfx/thebes/gfxWindowsPlatform.h | |
parent | a64ac6d7022e4c88149d897864f857dce1063249 (diff) | |
download | UXP-282b791acb826de9b537fce88bf49472d8e19977.tar UXP-282b791acb826de9b537fce88bf49472d8e19977.tar.gz UXP-282b791acb826de9b537fce88bf49472d8e19977.tar.lz UXP-282b791acb826de9b537fce88bf49472d8e19977.tar.xz UXP-282b791acb826de9b537fce88bf49472d8e19977.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/gfxWindowsPlatform.h')
-rw-r--r-- | gfx/thebes/gfxWindowsPlatform.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gfx/thebes/gfxWindowsPlatform.h b/gfx/thebes/gfxWindowsPlatform.h index 129365f82..b56dab338 100644 --- a/gfx/thebes/gfxWindowsPlatform.h +++ b/gfx/thebes/gfxWindowsPlatform.h @@ -226,9 +226,6 @@ public: bool SupportsPluginDirectDXGIDrawing(); protected: - bool AccelerateLayersByDefault() override { - return true; - } void GetAcceleratedCompositorBackends(nsTArray<mozilla::layers::LayersBackend>& aBackends) override; virtual void GetPlatformCMSOutputProfile(void* &mem, size_t &size) override; |