gecko-dev/gfx/wr/webrender_api
Andrew Osmond 734922ce3d Bug 1785673 - Improve DisplayListPayload buffer preallocations. r=nical
Instead of setting a ceiling on how much we are willing to allocate, we
should always try to reallocate a buffer the same size that we used
before. If we cannot, we should fail gracefully and just not preallocate
at all. This should help with profiles where we consistently need a
larger payload buffer than the previous maximum, while minimizing OOM
crashes on the other side, where our preallocations fail and/or are more
than the next display list update actually requires.

Differential Revision: https://phabricator.services.mozilla.com/D154951
2022-08-18 11:47:03 +00:00
..
src Bug 1785673 - Improve DisplayListPayload buffer preallocations. r=nical 2022-08-18 11:47:03 +00:00
Cargo.toml Bug 1776096 - Bump WebRender crate versions. r=jrmuizel 2022-06-24 04:11:26 +00:00