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:
Lee Salzman 2019-02-28 15:00:36 +00:00
Родитель 7b51528692
Коммит 0c46a0c440
5 изменённых файлов: 1 добавлений и 17 удалений

Просмотреть файл

@ -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);