gecko-dev/servo/components/gfx
Martin Robinson 8e14dc298f servo: Merge #4536 - Stall PaintTask exit until it can release all buffers (from mrobinson:pixmap); r=pcwalton
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.

Source-Repo: https://github.com/servo/servo
Source-Revision: a31acffb0405b2c38b39c39c6d552f2ba79b6326
2015-01-02 20:21:47 -07:00
..
display_list servo: Merge #4512 - use geom::num::Zero rather than the deprecated num::Zero trait from std (from benjaminp:zero-warning); r=jdm 2014-12-29 18:48:41 -07:00
platform servo: Merge #4485 - Replace most to_string calls by into_string calls (from servo:into_string); r=Ms2ger 2014-12-27 06:51:44 -07:00
text servo: Merge #4487 - Re-enable two transform_text unit tests (from Ms2ger:gfx-test); r=jdm 2014-12-30 09:03:45 -07:00
buffer_map.rs servo: Merge #4279 - Rename "render"/"rendering" to "paint"/"painting" (from saneyuki:rename); r=jdm 2014-12-08 10:28:10 -07:00
Cargo.toml servo: Merge #4405 - Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d (from servo:rustup_20141124); r=jdm 2014-12-17 18:45:49 -07:00
color.rs servo: Merge #3832 - gfx: Inline a few commonly-used methods that were showing up in profiles (from pcwalton:display-list-inline); r=mrobinson 2014-10-28 14:27:54 -06:00
font_cache_task.rs servo: Merge #4485 - Replace most to_string calls by into_string calls (from servo:into_string); r=Ms2ger 2014-12-27 06:51:44 -07:00
font_context.rs servo: Merge #4485 - Replace most to_string calls by into_string calls (from servo:into_string); r=Ms2ger 2014-12-27 06:51:44 -07:00
font_template.rs servo: Merge #4485 - Replace most to_string calls by into_string calls (from servo:into_string); r=Ms2ger 2014-12-27 06:51:44 -07:00
font.rs servo: Merge #4485 - Replace most to_string calls by into_string calls (from servo:into_string); r=Ms2ger 2014-12-27 06:51:44 -07:00
lib.rs servo: Merge #4459 - gfx: Clip the background properly when border-radius is used, and clean up some painting stuff (from pcwalton:border-radius-clipping); r=glennw 2014-12-22 15:51:48 -07:00
paint_context.rs servo: Merge #4459 - gfx: Clip the background properly when border-radius is used, and clean up some painting stuff (from pcwalton:border-radius-clipping); r=glennw 2014-12-22 15:51:48 -07:00
paint_task.rs servo: Merge #4536 - Stall PaintTask exit until it can release all buffers (from mrobinson:pixmap); r=pcwalton 2015-01-02 20:21:47 -07:00