gecko-dev/gfx
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
..
2d Bug 1533142 - followup: Fix Windows MinGW bustage. r=me 2019-03-07 00:34:19 +01:00
angle Bug 1517055 - Revendor ANGLE mozilla/firefox-66. (1xN texture cherry-pick) r=bholley 2019-01-22 23:44:13 -08:00
cairo Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
config Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats 2019-02-25 16:07:19 -06:00
docs Bug 1503339 - update frame rate at runtime, r=kats 2018-12-14 20:16:23 +00:00
gl Bug 1532942 - Use EGLConfig as argument of CreateEGLSurfaceForCompositorWidget() r=jgilbert 2019-03-06 19:00:38 +00:00
graphite2 Bug 1515629 - Update Graphite2 to version 1.3.13. r=jfkthame 2018-12-31 15:56:58 +00:00
harfbuzz Bug 1524102 - Update HarfBuzz to version 2.3.1. r=jfkthame 2019-01-31 12:01:26 +00:00
ipc Bug 1441651 - Part 1 - pass Shmem and ByteBuf by rvalref to ParamTraits; r=nika 2019-03-04 16:07:37 +00:00
layers Bug 1532457 - Gracefully handle non WebRenderTextureHost case r=nical 2019-03-07 16:15:17 +00:00
ots Bug 1531912 - Update OTS to 7.1.9. r=jfkthame 2019-03-02 15:32:15 +00:00
qcms Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
sfntly Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats 2019-02-25 16:07:19 -06:00
skia Backed out changeset adf5830d08b5 (bug 1532171) for build bustages on a CLOSED TREE 2019-03-04 23:07:02 +02:00
src Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats 2019-02-25 16:07:19 -06:00
tests Bug 1530471 - remove prefs for related to SkiaGL canvas r=jrmuizel 2019-02-28 15:00:36 +00:00
thebes Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-03-07 06:39:14 +02:00
vr Bug 1532992 - Set 'Core :: WebVR' as default bugzilla product and component for gfx/vr/ r=kats 2019-03-06 14:45:43 +00:00
webrender_bindings Bug 1533142 - Use more cbindgen features. r=kats 2019-03-06 23:01:11 +00:00
wr Bug 1533236 - Add a fast path to WR for common gradient types. r=kvark 2019-03-07 21:20:40 +00:00
ycbcr Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
moz.build