зеркало из https://github.com/mozilla/gecko-dev.git
d933968108
WebRender makes extensive use of shared memory buffers, particularly for images decoded in the content process. These images can be arbitrarily large, and there being insufficient memory for an allocation must be handled gracefully. On Linux, we will currently crash with a SIGBUS signal during image decoding instead of just displaying the broken image tag. This is because the pages backing the shared memory are only allocated when we write to them. This blocks shipping WebRender on Linux. This patch uses posix_fallocate to force the reservation of the pages, and allows failing gracefully if they are unavailable. Differential Revision: https://phabricator.services.mozilla.com/D80650 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
glue | ||
gtest | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |