зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1530471 - remove prefs for related to SkiaGL canvas r=jrmuizel
Depends on D21055 Differential Revision: https://phabricator.services.mozilla.com/D21056 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7b51528692
Коммит
0c46a0c440
|
@ -45,9 +45,6 @@ TEST(GfxPrefs, OnceValues) {
|
|||
// Once boolean, default false
|
||||
ASSERT_FALSE(gfxPrefs::LayersDump());
|
||||
|
||||
// Once int32_t, default 95
|
||||
ASSERT_TRUE(gfxPrefs::CanvasSkiaGLCacheSize() == 96);
|
||||
|
||||
// Once uint32_t, default 5
|
||||
ASSERT_TRUE(gfxPrefs::APZMaxVelocityQueueSize() == 5);
|
||||
|
||||
|
|
|
@ -875,7 +875,7 @@ void gfxPlatform::Init() {
|
|||
gfxPrefs::WebGLForceMSAA());
|
||||
// Prefs that don't fit into any of the other sections
|
||||
forcedPrefs.AppendPrintf("-T%d%d%d) ", gfxPrefs::AndroidRGB16Force(),
|
||||
gfxPrefs::CanvasAzureAccelerated(),
|
||||
0, // SkiaGL canvas no longer supported
|
||||
gfxPrefs::ForceShmemTiles());
|
||||
ScopedGfxFeatureReporter::AppNote(forcedPrefs);
|
||||
}
|
||||
|
|
|
@ -468,16 +468,8 @@ class gfxPrefs final {
|
|||
#endif // defined(MOZ_WIDGET_ANDROID)
|
||||
DECL_GFX_PREF(Live, "gfx.compositor.clearstate", CompositorClearState, bool, false);
|
||||
DECL_GFX_PREF(Live, "gfx.compositor.glcontext.opaque", CompositorGLContextOpaque, bool, false);
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.auto_accelerate.min_calls", CanvasAutoAccelerateMinCalls, int32_t, 4);
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.auto_accelerate.min_frames", CanvasAutoAccelerateMinFrames, int32_t, 30);
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.auto_accelerate.min_seconds", CanvasAutoAccelerateMinSeconds, float, 5.0f);
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.azure.accelerated", CanvasAzureAccelerated, bool, false);
|
||||
DECL_GFX_PREF(Once, "gfx.canvas.azure.accelerated.limit", CanvasAzureAcceleratedLimit, int32_t, 0);
|
||||
// 0x7fff is the maximum supported xlib surface size and is more than enough for canvases.
|
||||
DECL_GFX_PREF(Live, "gfx.canvas.max-size", MaxCanvasSize, int32_t, 0x7fff);
|
||||
DECL_GFX_PREF(Once, "gfx.canvas.skiagl.cache-items", CanvasSkiaGLCacheItems, int32_t, 256);
|
||||
DECL_GFX_PREF(Once, "gfx.canvas.skiagl.cache-size", CanvasSkiaGLCacheSize, int32_t, 96);
|
||||
DECL_GFX_PREF(Once, "gfx.canvas.skiagl.dynamic-cache", CanvasSkiaGLDynamicCache, bool, false);
|
||||
|
||||
DECL_GFX_PREF(Live, "gfx.color_management.enablev4", CMSEnableV4, bool, false);
|
||||
DECL_GFX_PREF(Live, "gfx.color_management.mode", CMSMode, int32_t,-1);
|
||||
|
|
|
@ -718,10 +718,7 @@ pref("dom.phonenumber.substringmatching.BR", 8);
|
|||
pref("dom.phonenumber.substringmatching.CO", 10);
|
||||
pref("dom.phonenumber.substringmatching.VE", 7);
|
||||
|
||||
// Support, but deprecate, hardware-accelerated Skia canvas
|
||||
pref("gfx.canvas.azure.backends", "skia");
|
||||
pref("gfx.canvas.azure.accelerated", false);
|
||||
pref("gfx.canvas.azure.accelerated.limit", 64);
|
||||
|
||||
// See ua-update.json.in for the packaged UA override list
|
||||
pref("general.useragent.updates.enabled", true);
|
||||
|
|
|
@ -896,8 +896,6 @@ pref("gfx.content.azure.backends", "skia");
|
|||
#endif
|
||||
#endif
|
||||
|
||||
pref("gfx.canvas.skiagl.dynamic-cache", true);
|
||||
|
||||
pref("gfx.text.disable-aa", false);
|
||||
|
||||
pref("gfx.work-around-driver-bugs", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче