gecko-dev/gfx/wr/examples
Dzmitry Malyshau 79ad259c7c Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical
The goal of this change was to simplify the semantics of our document placement and split the logical elements inside (display list) from the actual screen rectangle occupied by a document.
To achieve that, we introduce the framebuffer space for things Y-flipped on screen.
We fix the frame outputs, so that they get produced on the first frame without loopback from the frame building to scene building.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 17:16:59 +00:00
..
common Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
Cargo.toml Bug 1521920 - Remove conditional compilation around debug_renderer. r=emilio 2019-01-22 21:29:24 +00:00
README.md
alpha_perf.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
animation.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
basic.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
blob.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
document.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
frame_output.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
iframe.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
image_resize.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
multiwindow.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
scrolling.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
texture_cache_stress.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00
yuv.rs Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical 2019-03-01 17:16:59 +00:00

README.md

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