зеркало из https://github.com/mozilla/gecko-dev.git
a24f72635e
When bug 1508393 landed, it not only enabled producing of full frames on the decoder threads, it also enabled recycling of old animated image frame buffers it would have otherwise discarded. It reuses the contents of the buffer where possible given we know what pixels changed between the old frame and the frame we want to produce. However where this calculation was done was incorrect. We originally calculated it when we advanced the frame, but at that point there is no guarantee that we have all of the necessary information; we may have fallen behind on decoding. As such, we move the calculation to where we actually perform the recycling. At this point we are guaranteed to have all the necessary frames between the recycling and display queues. Differential Revision: https://phabricator.services.mozilla.com/D12903 |
||
---|---|---|
.. | ||
Common.cpp | ||
Common.h | ||
TestADAM7InterpolatingFilter.cpp | ||
TestAnimationFrameBuffer.cpp | ||
TestBlendAnimationFilter.cpp | ||
TestContainers.cpp | ||
TestCopyOnWrite.cpp | ||
TestDecodeToSurface.cpp | ||
TestDecoders.cpp | ||
TestDeinterlacingFilter.cpp | ||
TestDownscalingFilter.cpp | ||
TestDownscalingFilterNoSkia.cpp | ||
TestFrameAnimator.cpp | ||
TestLoader.cpp | ||
TestMetadata.cpp | ||
TestRemoveFrameRectFilter.cpp | ||
TestSourceBuffer.cpp | ||
TestStreamingLexer.cpp | ||
TestSurfaceCache.cpp | ||
TestSurfacePipeIntegration.cpp | ||
TestSurfaceSink.cpp | ||
animated-with-extra-image-sub-blocks.gif | ||
blend.gif | ||
blend.png | ||
blend.webp | ||
corrupt-with-bad-bmp-height.ico | ||
corrupt-with-bad-bmp-width.ico | ||
corrupt-with-bad-ico-bpp.ico | ||
corrupt.jpg | ||
downscaled.bmp | ||
downscaled.gif | ||
downscaled.ico | ||
downscaled.icon | ||
downscaled.jpg | ||
downscaled.png | ||
downscaled.webp | ||
first-frame-green.gif | ||
first-frame-green.png | ||
first-frame-green.webp | ||
first-frame-padding.gif | ||
green-1x1-truncated.gif | ||
green-large-bmp.ico | ||
green-large-png.ico | ||
green-multiple-sizes.ico | ||
green.bmp | ||
green.gif | ||
green.icc_srgb.webp | ||
green.ico | ||
green.icon | ||
green.jpg | ||
green.png | ||
green.webp | ||
invalid-truncated-metadata.bmp | ||
large.webp | ||
moz.build | ||
no-frame-delay.gif | ||
rle4.bmp | ||
rle8.bmp | ||
transparent-ico-with-and-mask.ico | ||
transparent-if-within-ico.bmp | ||
transparent.gif | ||
transparent.png |