зеркало из https://github.com/mozilla/gecko-dev.git
9b31d6c49b
This patch breaks linear gradients into two primitives: - LinearGradient is always rendered via the brush shader. It is only used with SWGL. - CachedLinearGradient is always rendered via a cached render task and the brush image shader. Its implementation is very similar to conic and radial gradients, with the addition of a fast-path for axis aligned gradients with two stops. In addition the following changes are made: - The gradient fast path is simpler (only deals with two gradient stops). - Decomposing axis-aligned gradients into parts eligible for the fast path happens during scene building instead of frame building. Differential Revision: https://phabricator.services.mozilla.com/D112018 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |