mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
a34d3f438e
This was used when defining scroll layers and also backdrop-filter. Removing it from the scroll layer API allows removal of the implicit clip rect that a scroll node previously created (Gecko doesn't use this). To maintain compatibility with wrench tests, add a flag that allows a test to specify a clip rect should be created for the scroll layer (we should remove this from wrench in future and port the tests to create explicit clip rects as required). The usage of backdrop-filter was the only remaining place this type was used, so it's now ported to use the clip-chain API. This simplifies the scroll layer API and removes an extra clip rect from each scroll layer instance, as a small performance improvement. Differential Revision: https://phabricator.services.mozilla.com/D119938 |
||
---|---|---|
.. | ||
common | ||
alpha_perf.rs | ||
animation.rs | ||
basic.rs | ||
blob.rs | ||
Cargo.toml | ||
document.rs | ||
iframe.rs | ||
image_resize.rs | ||
multiwindow.rs | ||
README.md | ||
scrolling.rs | ||
texture_cache_stress.rs | ||
yuv.rs |
Examples
This directory contains a collection of examples which uses the WebRender API.
To run an example e.g. basic
, try:
cargo run --bin basic