servo/components/gfx
Martin Robinson c0b397322f Stall PaintTask exit until it can release all buffers
It is possible for a PaintTask to start exiting soon after sending new
buffers to the compositor. In that case, the compositor should return
the now unnecessary buffers to the PaintTask so that it can properly
free them.

To accomplish this, the compositor now keeps a hash map of paint task
channels per pipeline id. When a PaintTask exists, the constellation
informs the compositor that it can forget about it. Additionally, the
PaintTask should not wait for any buffers when the engine is doing a
complete shutdown. In that case, the compositor is already halted and
has simply let all buffers leak. We pipe through the shutdown type when
destroying the pipeline to make this decision.

Fixes #2641.
2015-01-02 15:20:32 -08:00
..
display_list use geom::num::Zero rather than the deprecated num::Zero trait in std 2014-12-29 18:30:16 -06:00
platform gfx: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
text Reformat the transform_text tests. 2014-12-30 10:11:40 +01:00
buffer_map.rs Replace almost "render" to "paint" words in gfx crate. 2014-12-08 14:55:30 +09:00
Cargo.toml Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -05:00
color.rs gfx: Inline a few commonly-used methods that were showing up in profiles 2014-10-28 10:55:19 -07:00
font.rs gfx: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
font_cache_task.rs gfx: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
font_context.rs gfx: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
font_template.rs gfx: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
lib.rs gfx: Refactor the border drawing code and split out fragment display 2014-12-22 14:48:55 -08:00
paint_context.rs gfx: Clip the background properly when border-radius is used. 2014-12-22 14:48:55 -08:00
paint_task.rs Stall PaintTask exit until it can release all buffers 2015-01-02 15:20:32 -08:00