gecko-dev/gfx/wr/webrender_build
Nicolas Silva e9fa42a649 Bug 1594128 - Dynamically choose the brush kind in the shader. r=gw
This is an experiment with only image and solid to see what the infrastructure can be like.
If it works out I'll extend the it with more brush types. More work will be needed to get text rendering in there as well.

The multi-brush shader includes all brushes that it potentially needs suport for. Which brushes actually get compiled in is then specified via WR_FEATURE defines.
Since brushes can't have the same names for their entry points, they specify the function to use via a macros (WR_BRUSH_VS_FUNCTION and WR_BRUSH_FS_FUNCTION).

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

--HG--
extra : moz-landing-system : lando
2019-11-21 17:37:01 +00:00
..
src Bug 1594128 - Dynamically choose the brush kind in the shader. r=gw 2019-11-21 17:37:01 +00:00
Cargo.toml Bug 1525402 - Mark all gfx/wr crates as Rust 2018. r=kvark 2019-05-07 01:39:22 +00:00