gecko-dev/image/test/gtest
Andrew Osmond a24f72635e Bug 1509408 - Fix animated image distortion regressions caused by frame recycling. r=tnikkel
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
2018-11-28 06:57:39 -05:00
..
Common.cpp Bug 1504448 - Fix buffering problems in WebPDecoder. r=tnikkel 2018-11-07 06:28:38 -05:00
Common.h Bug 1504448 - Fix buffering problems in WebPDecoder. r=tnikkel 2018-11-07 06:28:38 -05:00
TestADAM7InterpolatingFilter.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
TestAnimationFrameBuffer.cpp Bug 1509408 - Fix animated image distortion regressions caused by frame recycling. r=tnikkel 2018-11-28 06:57:39 -05:00
TestBlendAnimationFilter.cpp Bug 1337111 - Part 4. Add gtests for BlendAnimationFilter. r=tnikkel 2018-09-17 15:06:29 -04:00
TestContainers.cpp Bug 1446309 - Part 3. Properly handle ImgDrawResult for WebRender display list generation. r=tnikkel 2018-09-13 19:48:27 -04:00
TestCopyOnWrite.cpp
TestDecodeToSurface.cpp Bug 1294490 - Part 6. Implement WebP gtests. r=tnikkel 2018-10-31 15:01:08 -04:00
TestDecoders.cpp Bug 1504448 - Fix buffering problems in WebPDecoder. r=tnikkel 2018-11-07 06:28:38 -05:00
TestDeinterlacingFilter.cpp Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
TestDownscalingFilter.cpp Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
TestDownscalingFilterNoSkia.cpp Bug 1462355 - Part 1b. Update Decoder and SurfacePipe plumbing to use updated imgFrame methods. r=tnikkel 2018-05-29 08:36:12 -04:00
TestFrameAnimator.cpp Bug 1504237 - Ensure partial animated frames always use BGRA instead of BGRX. r=tnikkel 2018-11-03 19:47:54 -04:00
TestLoader.cpp Bug 1472145 - Part 1. Add support for identifying the WebP images MIME type. r=tnikkel 2018-06-29 20:30:05 -04:00
TestMetadata.cpp Bug 1503935 - Fix some WebP decoder implementation bugs. r=tnikkel 2018-11-01 19:26:14 -04:00
TestRemoveFrameRectFilter.cpp Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
TestSourceBuffer.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
TestStreamingLexer.cpp Bug 1417021 - Fix various non-unified build errors in imagelib. r=aosmond 2017-10-24 23:22:55 +01:00
TestSurfaceCache.cpp Bug 1415547 - Add SurfaceCache gtests for factor of 2 mode. r=tnikkel 2017-12-19 16:45:08 -05:00
TestSurfacePipeIntegration.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
TestSurfaceSink.cpp Bug 1467311 - Fix linux64-ccov/opt beta test build bustage. r=aosmond 2018-06-07 10:37:27 -04:00
animated-with-extra-image-sub-blocks.gif
blend.gif Bug 1504237 - Ensure partial animated frames always use BGRA instead of BGRX. r=tnikkel 2018-11-03 19:47:54 -04:00
blend.png Bug 1504237 - Ensure partial animated frames always use BGRA instead of BGRX. r=tnikkel 2018-11-03 19:47:54 -04:00
blend.webp Bug 1504237 - Ensure partial animated frames always use BGRA instead of BGRX. r=tnikkel 2018-11-03 19:47:54 -04:00
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 Bug 1294490 - Part 6. Implement WebP gtests. r=tnikkel 2018-10-31 15:01:08 -04:00
first-frame-green.gif
first-frame-green.png
first-frame-green.webp Bug 1294490 - Part 6. Implement WebP gtests. r=tnikkel 2018-10-31 15:01:08 -04:00
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 Bug 1294490 - Part 6. Implement WebP gtests. r=tnikkel 2018-10-31 15:01:08 -04:00
green.ico
green.icon
green.jpg
green.png
green.webp Bug 1294490 - Part 6. Implement WebP gtests. r=tnikkel 2018-10-31 15:01:08 -04:00
invalid-truncated-metadata.bmp
large.webp Bug 1504448 - Fix buffering problems in WebPDecoder. r=tnikkel 2018-11-07 06:28:38 -05:00
moz.build Bug 1504448 - Fix buffering problems in WebPDecoder. r=tnikkel 2018-11-07 06:28:38 -05:00
no-frame-delay.gif
rle4.bmp
rle8.bmp
transparent-ico-with-and-mask.ico
transparent-if-within-ico.bmp
transparent.gif
transparent.png