gecko-dev/layout/reftests/css-gradients
Glenn Watson e920cc3f6a Bug 1533236 - Add a fast path to WR for common gradient types. r=kvark
The existing linear gradient shader is quite slow, especially
on very large gradients on integrated GPUs.

The vast majority of gradients in real content are very simple
(typically < 4 stops, no angle, no repeat). For these, we can
run a fast path to persist a small gradient in the texture cache
and draw the gradient via the image shader.

This is _much_ faster than the catch-all gradient shader, and also
results in better batching while drawing the main scene.

In future, we can expand the fast path to handle more cases, such
as angled gradients. For now, it takes a conservative approach,
but still seems to hit the fast path on most real content.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 21:20:40 +00:00
..
1224761-1-ref.html
1224761-1.html
aja-linear-1-ref.html
aja-linear-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-1c.html
aja-linear-1d.html
aja-linear-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-1f.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-2-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-2.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-3-ref.html
aja-linear-3a.html
aja-linear-3b.html
aja-linear-4-ref.html
aja-linear-4a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-4b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
aja-linear-5-ref.html
aja-linear-5a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
bug-916535-background-repeat-linear-ref.html
bug-916535-background-repeat-linear.html
height-dependence-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-2-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-2.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-3-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
height-dependence-3.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
large-gradient-1-ref.html
large-gradient-1.html
large-gradient-2-ref.html
large-gradient-2.html
large-gradient-3-ref.html
large-gradient-3.html
large-gradient-4-ref.html
large-gradient-4.html
large-gradient-5-ref.html
large-gradient-5.html
linear-1-ref.html
linear-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-1-ref.html
linear-diagonal-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-2-ref.html
linear-diagonal-2a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-3-ref.html
linear-diagonal-3a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-diagonal-4-ref.html
linear-diagonal-4a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-flipped-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-flipped-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-keywords-1-ref.html
linear-keywords-1a.html
linear-onestopposition-1-ref.html
linear-onestopposition-1-ref2.html
linear-onestopposition-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-position-1-ref.html
linear-position-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-premul-ref.html
linear-premul.html
linear-repeat-1-ref.html
linear-repeat-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1f.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-repeat-1g.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-rotated-1-ref.html
linear-rotated-1.html
linear-size-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-size-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-stops-1f.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1-ref.html
linear-vertical-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-subpixel-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-vertical-subpixel-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-viewport-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
linear-viewport.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
mask-gradient-translucent-end-color-1-ref.html
mask-gradient-translucent-end-color-1.html
nostops.html
onestop.html
orange-square.html
radial-1-ref.html
radial-1a.html
radial-1b.html
radial-2-ref.html
radial-2a.html
radial-2b.html
radial-2c.html
radial-2d.html
radial-onestopposition-1-ref.html
radial-onestopposition-1a.html
radial-onestopposition-1b.html
radial-position-1-ref.html
radial-position-1a.html
radial-position-1b.html
radial-premul-ref.html
radial-premul.html
radial-shape-closest-corner-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-shape-closest-corner-1a.html
radial-shape-closest-corner-1b.html
radial-shape-closest-side-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-shape-closest-side-1a.html
radial-shape-closest-side-1b.html
radial-shape-farthest-corner-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-shape-farthest-corner-1a.html
radial-shape-farthest-corner-1b.html
radial-shape-farthest-side-1-ref.html
radial-shape-farthest-side-1a.html
radial-shape-farthest-side-1b.html
radial-size-1-ref.html
radial-size-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
radial-size-1b.html
radial-zero-length-1-ref.html
radial-zero-length-1a.html
radial-zero-length-1b.html
radial-zero-length-1c.html
radial-zero-length-1d.html
radial-zero-length-1e.html
radial-zero-length-1f.html
reftest.list Bug 1533236 - Add a fast path to WR for common gradient types. r=kvark 2019-03-07 21:20:40 +00:00
repeated-final-stop-1-ref.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeated-final-stop-1.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-1-ref.html
repeating-linear-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-2-ref.html
repeating-linear-2a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-linear-onestopposition-1.html
repeating-radial-1-ref.html
repeating-radial-1a.html
repeating-radial-1b.html
repeating-radial-1c.html
repeating-radial-1d.html
repeating-radial-2-ref.html
repeating-radial-2a.html
repeating-radial-2b.html
repeating-radial-onestopposition-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
repeating-radial-onestopposition-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1-ref.html
twostops-1a.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1b.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1c.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1d.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00
twostops-1e.html Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert 2017-04-24 15:54:51 +03:00