Commit Graph

5 Commits

Author SHA1 Message Date
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
Nicolas Silva
d4e6130aa7 Bug 1594128 - Only include shader sources once during parsing. r=gw
This chanes the shader parsing code to only inject #included shader sources once (the first time) if they are included multiple times.
This will allow some extra flexibility needed by the multi-brush shader.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 17:36:46 +00:00
Alexis Beingessner
63afa58e9a Bug 1525402 - Mark all gfx/wr crates as Rust 2018. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D29569

--HG--
extra : moz-landing-system : lando
2019-05-07 01:39:22 +00:00
Nicolas Silva
cb6ed5e452 Bug 1527884 - Make webrender_build publishable. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D20134

--HG--
extra : moz-landing-system : lando
2019-02-19 16:06:01 +00:00
WR Updater Bot
e48bc104ff Bug 1517616 - Update webrender to commit a5b036eced81dcfc012f1335277af595f931fb11 (WR PRs #3463 and #3464). r=kats
https://github.com/servo/webrender/pull/3463
https://github.com/servo/webrender/pull/3464

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

--HG--
extra : moz-landing-system : lando
2019-01-04 04:21:27 +00:00