servo/support
bors-servo 7fa2b2c879
Auto merge of #21842 - jdm:android-extra-frame, r=paulrouget
Fix flickering on Android

This is particularly noticeable in debug builds on WebGL pages, but also appears during startup when loading normal pages. requestRender() causes Android to swap buffers under the assumption that the buffer contains a fully rendered frame, but when calling it from `doFrame` there are no guarantees that Servo has finished compositing yet. This causes stale buffers to be composited instead, leading to flickering at startup when there is no content, or general jerkiness on pages using animation callbacks as previous frames replace current frames.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21796
- [x] These changes do not require tests because no android integration tests.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21842)
<!-- Reviewable:end -->
2018-10-03 05:00:48 -04:00
..
android Auto merge of #21842 - jdm:android-extra-frame, r=paulrouget 2018-10-03 05:00:48 -04:00
arm32 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
arm64 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
linux/gstreamer Review fixes 2018-09-11 19:34:38 +05:30
rust-task_info Remove our dependency on the gcc crate 2018-03-21 15:17:39 +01:00
windows Create bundle with GStreamer and Servo installers 2018-09-11 17:43:31 +02:00