gecko-dev/gfx/wr/webrender
Glenn Watson 2637b20d2f Bug 1581757 - Support slicing the scene into an arbitrary number of picture cache slices r=nical,kvark
Previously, the setup_picture_caching function was hard coded
to support only a very specific shape of display list. With this
change, flags are added to PrimitiveCluster that can specify
if a picture cache slice should be created before / after this
cluster when picture caching is set up.

The usage of these flags in this patch matches the old behaviour,
so should not have any functional effect.

However, in future we will make use of this functionality to
create picture slices for a number of different use cases, such as:

 * Creating cache tiles for the UI.
 * Slicing the scene where there are video elements, in order to
   allow these to be composited directly by the OS. This may also
   apply to WebGL and/or canvas elements.
 * Slicing the scene when there is a very large fixed position
   background image or other element, to avoid invalidating the
   entire tile cache each frame.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:38:42 +00:00
..
doc Bug 1581058 - Remove remaining use of the term "flattening". r=gw 2019-09-17 09:20:04 +00:00
res Bug 1574493 - Part 2. Remove snapping in frame building. r=kvark 2019-09-14 16:17:02 +00:00
src Bug 1581757 - Support slicing the scene into an arbitrary number of picture cache slices r=nical,kvark 2019-09-25 20:38:42 +00:00
tests Bug 1555483 - Part 3: Add SVG render task and shader r=gw 2019-07-10 22:37:30 +00:00
build.rs Bug 1517616 - Update webrender to commit a5b036eced81dcfc012f1335277af595f931fb11 (WR PRs #3463 and #3464). r=kats 2019-01-04 04:21:27 +00:00
Cargo.toml Bug 1581549. Update to mozangle 0.3.1 to solve build time issues. r=kvark 2019-09-16 15:30:32 +00:00