gecko-dev/image
Andrew Osmond 774c428cae Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel
With WebRender, we had observed that the print preview for animated
images was not displaying correctly. It should display the first frame
but it was showing nothing the first time the preview was opened. Once
the decoded image was available in the cache, it would display
correctly if the preview was reloaded.

The StartDecoding and RequestDecode variants always requested
FRAME_CURRENT for animated images. They should use FRAME_FIRST for
static requests / FrozenImage. Correcting this fixes the print preview.


Differential Revision: https://phabricator.services.mozilla.com/D32033
2019-05-22 06:22:50 -04:00
..
build
decoders Bug 1530190. Cleanup GetStockIcon from first patch. r=aosmond 2019-05-13 21:34:01 -05:00
encoders
test Bug 1545231 - Enable some android gtests in image/test/gtest; r=jmaher 2019-05-06 18:51:59 +00:00
AnimationFrameBuffer.cpp
AnimationFrameBuffer.h
AnimationParams.h
AnimationSurfaceProvider.cpp
AnimationSurfaceProvider.h
BMPHeaders.h
ClippedImage.cpp Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert 2019-05-02 23:28:21 +00:00
ClippedImage.h Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert 2019-05-02 23:28:21 +00:00
CopyOnWrite.h
DecodedSurfaceProvider.cpp
DecodedSurfaceProvider.h
DecodePool.cpp Bug 1530190. Use the image io thread to call SHGetFileInfo. r=aosmond 2019-04-22 17:30:41 -05:00
DecodePool.h
Decoder.cpp
Decoder.h
DecoderFactory.cpp
DecoderFactory.h
DecoderFlags.h
Downscaler.cpp Bug 1530190. Fix unified build bustage in image/Downscaler.cpp. r=aosmond 2019-04-22 17:30:40 -05:00
Downscaler.h
DownscalingFilter.h
DynamicImage.cpp Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
DynamicImage.h
FrameAnimator.cpp
FrameAnimator.h
FrameTimeout.h
FrozenImage.cpp Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
FrozenImage.h Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
ICOFileHeaders.h
IDecodingTask.cpp
IDecodingTask.h
Image.cpp
Image.h
ImageCacheKey.cpp Bug 1548349 - Make sure the image cache for third-party tracking subresources is keyed to the top-level document's eTLD+1; r=baku,aosmond 2019-05-02 12:27:07 +00:00
ImageCacheKey.h Bug 1548349 - Make sure the image cache for third-party tracking subresources is keyed to the top-level document's eTLD+1; r=baku,aosmond 2019-05-02 12:27:07 +00:00
ImageFactory.cpp
ImageFactory.h
ImageLogging.h
ImageMemoryReporter.cpp
ImageMemoryReporter.h
ImageMetadata.h
ImageOps.cpp Bug 1545567 - Ensure ImageOps decode methods can handle unbuffered input streams properly. r=baku 2019-04-26 11:58:24 -04:00
ImageOps.h
ImageRegion.h
ImageWrapper.cpp Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
ImageWrapper.h
ImgDrawResult.h
imgFrame.cpp
imgFrame.h
imgICache.idl
imgIContainer.idl Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
imgIContainerDebug.idl
imgIEncoder.idl
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl Bug 1501794 - Implement img decode API. r=bzbarsky,tnikkel 2019-04-02 08:56:54 -04:00
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1548835 - Load moz-extension:// URIs from the cache over reloading. r=tnikkel 2019-05-17 07:21:56 -04:00
imgLoader.h Bug 1548835 - Load moz-extension:// URIs from the cache over reloading. r=tnikkel 2019-05-17 07:21:56 -04:00
imgRequest.cpp Bug 1552077. Use medium high runnables for a few more imagelib runnables. r=smaug 2019-05-17 23:09:38 +00:00
imgRequest.h Bug 1377457. Only apply locks to the image if SetHasImage has been called. r=aosmond 2019-05-01 23:05:47 +00:00
imgRequestProxy.cpp Bug 1377457. Only apply locks to the image if SetHasImage has been called. r=aosmond 2019-05-01 23:05:47 +00:00
imgRequestProxy.h
imgTools.cpp
imgTools.h
IProgressObserver.h
ISurfaceProvider.h
LookupResult.h Bug 1543584 - Always rasterize SVGs but clamp the maximum size. r=tnikkel 2019-04-18 14:35:58 -04:00
moz.build Bug 1530190. De-unify image/DecodePool.cpp on Windows. r=aosmond 2019-04-22 17:30:40 -05:00
MultipartImage.cpp
MultipartImage.h
nsIIconURI.idl
Orientation.h
OrientedImage.cpp Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert 2019-05-02 23:28:21 +00:00
OrientedImage.h Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert 2019-05-02 23:28:21 +00:00
PlaybackType.h
ProgressTracker.cpp Bug 1552077. Use medium high runnables for a few more imagelib runnables. r=smaug 2019-05-17 23:09:38 +00:00
ProgressTracker.h Bug 1552077. Use medium high runnables for a few more imagelib runnables. r=smaug 2019-05-17 23:09:38 +00:00
RasterImage.cpp Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
RasterImage.h Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
RecyclingSourceSurface.h
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h
StreamingLexer.h
SurfaceCache.cpp Bug 1543584 - Always rasterize SVGs but clamp the maximum size. r=tnikkel 2019-04-18 14:35:58 -04:00
SurfaceCache.h Bug 1543584 - Always rasterize SVGs but clamp the maximum size. r=tnikkel 2019-04-18 14:35:58 -04:00
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h
SurfaceFlags.h
SurfacePipe.cpp
SurfacePipe.h Bug 1530774 - Part 2. Remove support for paletted surface pipes. r=tnikkel 2019-03-18 07:30:34 -04:00
SurfacePipeFactory.h
SVGDocumentWrapper.cpp Bug 1544215 - Make nsIContentVewer::GetPresShell() return mozilla::PresShell instead of nsIPresShell r=bzbarsky 2019-04-16 02:47:26 +00:00
SVGDocumentWrapper.h Bug 1544215 - Make nsIContentVewer::GetPresShell() return mozilla::PresShell instead of nsIPresShell r=bzbarsky 2019-04-16 02:47:26 +00:00
SVGDrawingParameters.h
VectorImage.cpp Bug 1550523 - Ensure that decoding methods for frozen images request the correct frame. r=tnikkel 2019-05-22 06:22:50 -04:00
VectorImage.h Bug 1543584 - Always rasterize SVGs but clamp the maximum size. r=tnikkel 2019-04-18 14:35:58 -04:00