gecko-dev/image
Emilio Cobos Álvarez b85241f0c8 Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert
AspectRatio already has a way of representing a null / invalid ratio,
and there are some cases (broken sizes or invalid SVGOuterSVGFrame
ratio) where we might get Some(AspectRatio()).

It's not a meaningfully different state, and IMO we shouldn't treat it
differently.

Differential Revision: https://phabricator.services.mozilla.com/D224212
2024-10-04 07:59:28 +00:00
..
build Bug 1866010 p2. Update UpdateContentViewerRegistration to reflect nsIDocumentViewer's new name. r=emilio 2023-11-24 09:10:48 +00:00
decoders Bug 1751467 Use GAppInfo to open downloaded files; r=stransky,settings-reviewers,mossop,mak,jmaher 2024-09-24 15:14:24 +00:00
encoders Bug 1872536 - Use MakeUniqueFallible for large buffers in image decoders/encoders. r=gfx-reviewers,lsalzman 2023-12-31 22:16:46 +00:00
test Bug 1919368. When constructing surface pipes for images downscaling must come after premultiplying alpha. r=gfx-reviewers,nical 2024-09-25 11:56:04 +00:00
AnimationFrameBuffer.cpp
AnimationFrameBuffer.h
AnimationParams.h
AnimationSurfaceProvider.cpp Bug 1892643. Allow checking for shutdown in the image decode pool after the decode pool has been cleared. r=gfx-reviewers,nical 2024-05-25 09:45:37 +00:00
AnimationSurfaceProvider.h
AutoRestoreSVGState.h
BlobSurfaceProvider.cpp Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond 2024-05-02 01:45:32 +00:00
BlobSurfaceProvider.h Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond 2024-05-02 01:45:32 +00:00
BMPHeaders.h
ClippedImage.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
ClippedImage.h Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
CopyOnWrite.h
DecodedSurfaceProvider.cpp Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond 2024-05-02 01:45:32 +00:00
DecodedSurfaceProvider.h
DecodePool.cpp Bug 1892643. Allow checking for shutdown in the image decode pool after the decode pool has been cleared. r=gfx-reviewers,nical 2024-05-25 09:45:37 +00:00
DecodePool.h Bug 1892643. Allow checking for shutdown in the image decode pool after the decode pool has been cleared. r=gfx-reviewers,nical 2024-05-25 09:45:37 +00:00
Decoder.cpp Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
Decoder.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
DecoderFactory.cpp Bug 1901078 - Implement promise based anonymous image decoder. r=tnikkel 2024-07-24 03:16:16 +00:00
DecoderFactory.h Bug 1901078 - Implement promise based anonymous image decoder. r=tnikkel 2024-07-24 03:16:16 +00:00
DecoderFlags.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
Downscaler.cpp
Downscaler.h
DownscalingFilter.h
DynamicImage.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
DynamicImage.h
FrameAnimator.cpp
FrameAnimator.h
FrameTimeout.h
FrozenImage.cpp
FrozenImage.h
ICOFileHeaders.h
IDecodingTask.cpp Bug 1880054. Simplify some imagelib event target code. r=gfx-reviewers,lsalzman 2024-02-25 04:54:33 +00:00
IDecodingTask.h Bug 1894284. Give image gtests a threadsafe way to wait for decodes in the decode thread pool to finish. r=gfx-reviewers,nical 2024-05-22 03:29:18 +00:00
Image.cpp Bug 1880054. Simplify some imagelib event target code. r=gfx-reviewers,lsalzman 2024-02-25 04:54:33 +00:00
Image.h
ImageBlocker.cpp Bug 1873474 - Use ImageBlocker directly instead of nsIContentPolicy::ShouldProcess in ImageDocument. r=smaug 2024-01-17 09:49:32 +00:00
ImageBlocker.h Bug 1873474 - Use ImageBlocker directly instead of nsIContentPolicy::ShouldProcess in ImageDocument. r=smaug 2024-01-17 09:49:32 +00:00
ImageCacheKey.cpp Bug 1728331 - Part 5: Respect AppType in ImageCacheKey, r=emilio 2024-06-24 23:19:29 +00:00
ImageCacheKey.h Bug 1728331 - Part 5: Respect AppType in ImageCacheKey, r=emilio 2024-06-24 23:19:29 +00:00
ImageFactory.cpp
ImageFactory.h
ImageLogging.h
ImageMemoryReporter.cpp
ImageMemoryReporter.h
ImageMetadata.h Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
ImageOps.cpp Bug 1901076 - Part 2. Expose frame count variant of metadata decoders. r=tnikkel 2024-06-24 22:44:30 +00:00
ImageOps.h
ImageRegion.h
ImageUtils.cpp Bug 1901078 - Implement promise based anonymous image decoder. r=tnikkel 2024-07-24 03:16:16 +00:00
ImageUtils.h Bug 1901078 - Implement promise based anonymous image decoder. r=tnikkel 2024-07-24 03:16:16 +00:00
ImageWrapper.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
ImageWrapper.h
ImgDrawResult.h
imgFrame.cpp
imgFrame.h
imgICache.idl Bug 1915419 - ImageCacheCleaner support for OriginAttributesPattern. r=tnikkel,anti-tracking-reviewers,timhuang 2024-09-24 09:18:00 +00:00
imgIContainer.idl Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
imgIContainerDebug.idl
imgIEncoder.idl
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1900561 - Set nsIClassOfService::fetchPriority where callers use nsISupportsPriority.adjustPriority r=acreskey 2024-09-25 18:42:52 +00:00
imgLoader.h Bug 1915419 - ImageCacheCleaner support for OriginAttributesPattern. r=tnikkel,anti-tracking-reviewers,timhuang 2024-09-24 09:18:00 +00:00
imgRequest.cpp Bug 1907009 - Part 1: Add CacheExpirationTime type. r=emilio 2024-08-06 05:38:23 +00:00
imgRequest.h Bug 1893402 - Part 2: Use minimum cache expiration time in image cache. r=tnikkel 2024-05-17 11:20:59 +00:00
imgRequestProxy.cpp
imgRequestProxy.h Bug 1874756 - Simplify and reduce the number of hashtable lookups for LCP implementation r=emilio 2024-07-23 20:42:40 +00:00
imgTools.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato 2024-07-17 11:15:31 +00:00
imgTools.h
IProgressObserver.h Bug 1880054. Simplify some imagelib event target code. r=gfx-reviewers,lsalzman 2024-02-25 04:54:33 +00:00
ISurfaceProvider.h Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond 2024-05-02 01:45:32 +00:00
LookupResult.h
moz.build Bug 1901078 - Implement promise based anonymous image decoder. r=tnikkel 2024-07-24 03:16:16 +00:00
MultipartImage.cpp Bug 1862059. Handle edge cases of svg images in multipart images. r=aosmond,gfx-reviewers 2024-01-02 07:13:01 +00:00
MultipartImage.h
nsIIconURI.idl Bug 1883217 - Remove unused defines in IDL files r=webdriver-reviewers,necko-reviewers,credential-management-reviewers,places-reviewers,dom-core,Standard8,valentin,mccr8,sgalich 2024-03-06 19:04:25 +00:00
Orientation.h
OrientedImage.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
OrientedImage.h Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
PlaybackType.h
ProgressTracker.cpp Bug 1880054. Simplify some imagelib event target code. r=gfx-reviewers,lsalzman 2024-02-25 04:54:33 +00:00
ProgressTracker.h Bug 1880054. Simplify some imagelib event target code. r=gfx-reviewers,lsalzman 2024-02-25 04:54:33 +00:00
RasterImage.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
RasterImage.h
Resolution.h
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h
StreamingLexer.h
SurfaceCache.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
SurfaceCache.h Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond 2024-05-02 01:45:32 +00:00
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h
SurfaceFlags.h
SurfacePipe.cpp
SurfacePipe.h
SurfacePipeFactory.h Bug 1919368. When constructing surface pipes for images downscaling must come after premultiplying alpha. r=gfx-reviewers,nical 2024-09-25 11:56:04 +00:00
SVGDocumentWrapper.cpp Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-06-05 00:05:58 +00:00
SVGDocumentWrapper.h Bug 1865480. Rename nsIContentViewer to nsIDocumentViewer. r=layout-reviewers,emilio 2023-11-21 12:45:59 +00:00
SVGDrawingCallback.h
SVGDrawingParameters.h
VectorImage.cpp Bug 1922208 - Don't use Maybe<> to represent no ratio in images. r=dholbert 2024-10-04 07:59:28 +00:00
VectorImage.h
WebRenderImageProvider.h Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond 2024-05-02 01:45:32 +00:00