Bug 1624640 - Grow the alpha8 texture array four layers at a time. r=jrmuizel

The texture array is currently grown layer by layer and we typically get to 3 or 4 layers over several frames by the time we are done loading a simple wikipedia page.

Differential Revision: https://phabricator.services.mozilla.com/D68056

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicolas Silva 2020-03-24 22:53:21 +00:00
Родитель 81a8466c6f
Коммит 756d071573
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -280,7 +280,7 @@ impl SharedTextures {
array_alpha8_linear: TextureArray::new(
TextureFormatPair::from(ImageFormat::R8),
TextureFilter::Linear,
1,
4,
),
// Used for experimental hdr yuv texture support, but not used in
// production Firefox.