servo/components
bors-servo be4ecb9233
Auto merge of #25822 - jdm:delay-reftest-async-render, r=emilio
Delay reftest screenshot while WR frame is rendering

This PR addresses the theory that #24726 occurs when WR is performing an async frame render and the reftest screenshot decides it's time to synchronously read the framebuffer. If there have not been any completed frames rendered yet, that would yield the page background colour.

The changes in this PR introduce an additional layer of synchronization - the compositor stores an AtomicBool value that indicates whether we know that a WR frame has started rendering, which is set to true when an IPC request from layout that submits a new display list is received. This bool is set to false when WR notifies us that a frame has been rendered. The screenshot code refuses to take a screenshot if the bool is true, causing us to delay taking a screenshot until there is no frame pending.
2020-02-21 11:54:44 -05:00
..
allocator Update jemalloc-sys to 0.3.2 2019-11-20 00:00:00 +00:00
atoms Selection interface working for synthetic operations 2020-02-13 20:09:27 -05:00
background_hang_monitor Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
bluetooth Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
bluetooth_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
canvas Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
canvas_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
compositing Auto merge of #25822 - jdm:delay-reftest-async-render, r=emilio 2020-02-21 11:54:44 -05:00
config Update user agent info 2020-01-31 14:32:42 -08:00
config_plugins Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15) 2020-01-16 08:46:41 +01:00
constellation Auto merge of #25822 - jdm:delay-reftest-async-render, r=emilio 2020-02-21 11:54:44 -05:00
debugger Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
deny_public_fields Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15) 2020-01-16 08:46:41 +01:00
derive_common derive_common: Fix example in documentation 2019-11-07 18:52:30 -06:00
devtools Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
devtools_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
dom_struct Use #![register_tool] instead of #![register_attr] 2019-11-15 17:24:42 +01:00
domobject_derive Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15) 2020-01-16 08:46:41 +01:00
embedder_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
fallible style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
geometry Fix some warnings new in Rust Nightly 2019-11-08 11:45:16 +01:00
gfx Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
gfx_traits
hashglobe Fix some warnings new in Rust Nightly 2019-11-08 11:45:16 +01:00
jstraceable_derive
layout Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
layout_2020 Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
layout_thread Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
layout_thread_2020 Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
layout_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
malloc_size_of Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
media Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
metrics Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
msg Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
net Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
net_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
pixels Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions 2019-11-10 18:37:14 -05:00
profile Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
profile_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
rand Update rand to 0.7 (fixes #24448) 2019-10-23 15:34:48 +02:00
range
remutex
script Auto merge of #25784 - szeged:mmatyas__webgl_fns_framebuf_attachments, r=jdm 2020-02-21 09:43:09 -05:00
script_layout_interface Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
script_plugins Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13) 2020-02-14 12:27:14 +01:00
script_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
selectors Use the matches! macro from the standard library 2020-02-12 10:08:31 +01:00
servo Auto merge of #25822 - jdm:delay-reftest-async-render, r=emilio 2020-02-21 11:54:44 -05:00
servo_arc style: Simplify code for keeping alive shared memory until all sheets go away. 2019-11-30 20:44:56 +01:00
size_of_test
std_test_override
style Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
style_derive style: Make rust generate better code for derive(Animate) and derive(ComputeSquaredDistance). 2020-02-12 02:43:21 +01:00
style_traits style: Miscellaneous Servo build fixes. 2020-02-12 02:43:23 +01:00
to_shmem style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
to_shmem_derive
url Update rand to 0.7 (fixes #24448) 2019-10-23 15:34:48 +02:00
webdriver_server Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
webgpu Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
webrender_traits Use non-IPC webrender API over explicit IPC channels. 2019-11-27 20:47:53 -05:00
webvr Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
webvr_traits Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00