mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
8e14dc298f
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 |
||
---|---|---|
.. | ||
display_list | ||
platform | ||
text | ||
buffer_map.rs | ||
Cargo.toml | ||
color.rs | ||
font_cache_task.rs | ||
font_context.rs | ||
font_template.rs | ||
font.rs | ||
lib.rs | ||
paint_context.rs | ||
paint_task.rs |