author Andrew Osmond <aosmond@mozilla.com>
Tue, 16 Oct 2018 08:45:26 -0400
changeset 447457 ccfa531dea0301244c99db4ff26d5610382487e2
parent 433500 bc1b51b050b02c474c44e27ad45fc52fc5873955
permissions -rw-r--r--
Bug 1504699 - Part 7. Update animated image recycling queue to work well with WebRender. r=tnikkel WebRender takes longer than OMTP to release its hold on the current frame. This is because it is in a separate process and holds onto the surface in between rendering frames, rather than getting a reference for each repaint. This patch makes us less aggressive about taking the most recent surface placed in the recycling queue out to avoid blocking on waiting for the surface to be released. Differential Revision: https://phabricator.services.mozilla.com/D10903