Bug 1368120 - Enable webrender border handling by default. r=kats

We largely handle borders correctly except for two major classes of error:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1363060 - gecko doesn't feed webrender transforms properly (major)
* https://github.com/servo/webrender/issues/1280 - webrender's 3D border colours are too naive (minor)

MozReview-Commit-ID: 42JtbLYzqKn

--HG--
extra : rebase_source : 7970e2f4cc2f66392d98486d663bf2ccb0040821
This commit is contained in:
Alexis Beingessner 2017-05-17 11:22:24 -04:00
parent b60a342a2b
commit 19035534ea

View File

@ -518,7 +518,7 @@ private:
DECL_OVERRIDE_PREF(Live, "layers.advanced.background-color", LayersAllowBackgroundColorLayers, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.background-image", LayersAllowBackgroundImage, gfxPrefs::OverrideBase_WebRendest());
DECL_GFX_PREF(Live, "layers.advanced.basic-layer.enabled", LayersAdvancedBasicLayerEnabled, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.border-layers", LayersAllowBorderLayers, gfxPrefs::OverrideBase_WebRendest());
DECL_OVERRIDE_PREF(Live, "layers.advanced.border-layers", LayersAllowBorderLayers, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.boxshadow-inset-layers", LayersAllowInsetBoxShadow, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.boxshadow-outer-layers", LayersAllowOuterBoxShadow, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.bullet-layers", LayersAllowBulletLayers, gfxPrefs::OverrideBase_WebRender());