servo/components/webrender_surfman
bors-servo c7f4eba3db
Auto merge of #27766 - jdm:embedding-blit, r=asajeffrey
Embedding support for offscreen-rendering

The current embedding API assumes it should render directly to a native widget at all times. These changes expose an option to render to an offscreen surface when starting the engine, as well as a new WebrenderSurfman API for temporarily acquiring  the surface corresponding to the front buffer so it can be used for blitting purposes.

Demonstrated to work in https://github.com/jdm/servo-embedding-example.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
2020-11-15 17:33:40 -05:00
..
Cargo.toml webgl: Support preserveDrawingBuffer. 2020-08-06 14:25:17 -04:00
lib.rs Auto merge of #27766 - jdm:embedding-blit, r=asajeffrey 2020-11-15 17:33:40 -05:00