Bug 1690247 - Enable the batched texture upload path on windows. r=jrmuizel

Differential Revision: https://phabricator.services.mozilla.com/D104044
This commit is contained in:
Nicolas Silva 2021-02-04 13:51:54 +00:00
Родитель 4dc74de41d
Коммит 177988b873
1 изменённых файлов: 9 добавлений и 0 удалений

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

@ -654,8 +654,17 @@ pref("gfx.webrender.debug.obscure-images", false);
pref("gfx.webrender.debug.glyph-flashing", false);
pref("gfx.webrender.debug.capture-profiler", false);
pref("gfx.webrender.debug.profiler-ui", "Default");
// Temporarily use the debug pref to configure the upload startegy on windows.
// If this doesn't cause breakage it will be selected directly in WebRender's
// initialization code.
#ifdef XP_WIN
pref("gfx.webrender.debug.batched-texture-uploads", true);
pref("gfx.webrender.debug.draw-calls-for-texture-copy", true);
#else
pref("gfx.webrender.debug.batched-texture-uploads", false);
pref("gfx.webrender.debug.draw-calls-for-texture-copy", false);
#endif
pref("accessibility.warn_on_browsewithcaret", true);