gecko-dev/image
Dan Robertson 68be4359ce Bug 1853991 - Refactor SVGSVGElement intrinsic size APIs to return LengthPercentage. r=dholbert
- Use LengthPercentage as the return type for GetIntrinsicHeight and
   GetIntrinsicWidth. This allows the caller to handle percent values.
   No callers have additional logic to handle percent values as of now,
   but this may change in the future, for compat; see last paragraph of
   bug 700533 comment 69.

 - Refactor intrinsic size function definitions.

Differential Revision: https://phabricator.services.mozilla.com/D176974
2023-09-26 20:28:06 +00:00
..
build Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=necko-reviewers,tnikkel,valentin 2023-09-15 19:36:34 +00:00
decoders Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
encoders Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8 2023-03-15 19:52:34 +00:00
test Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo 2023-09-26 17:40:01 +00:00
AnimationFrameBuffer.cpp Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
AnimationFrameBuffer.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
AnimationParams.h
AnimationSurfaceProvider.cpp Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
AnimationSurfaceProvider.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
AutoRestoreSVGState.h Bug 1808102 - Move contextPaint to Document class r=emilio 2023-01-17 19:13:41 +00:00
BMPHeaders.h Bug 1757929 - Avoid some conflicts with WINDOWS define. r=tnikkel 2022-05-05 11:37:51 +00:00
BlobSurfaceProvider.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
BlobSurfaceProvider.h Bug 1711061 - Part 10. Implement BlobSurfaceProvider for non-rasterized blob recordings. r=tnikkel 2021-11-27 11:47:39 +00:00
ClippedImage.cpp Bug 1276351: apply code formatting via Lando 2023-03-27 07:23:36 +00:00
ClippedImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
CopyOnWrite.h
DecodePool.cpp Bug 1839102 - Use enum class for Task kind. r=bas 2023-07-26 05:09:29 +00:00
DecodePool.h Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
DecodedSurfaceProvider.cpp Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel 2021-11-27 11:47:36 +00:00
DecodedSurfaceProvider.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
Decoder.cpp Bug 1765871. Deal with oriented image frames in imgFrame::Finish. r=aosmond 2022-05-07 06:50:47 +00:00
Decoder.h Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
DecoderFactory.cpp Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=necko-reviewers,tnikkel,valentin 2023-09-15 19:36:34 +00:00
DecoderFactory.h Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
DecoderFlags.h Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
Downscaler.cpp Bug 1773384 - Change the type of Downscaler::mScale to MatrixScalesDouble. r=botond 2022-06-15 22:37:48 +00:00
Downscaler.h Bug 1773384 - Change the type of Downscaler::mScale to MatrixScalesDouble. r=botond 2022-06-15 22:37:48 +00:00
DownscalingFilter.h Bug 1773385 - Change the type of DownscalingFilter::mScale to MatrixScalesDouble. r=botond 2022-06-17 21:32:10 +00:00
DynamicImage.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
DynamicImage.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
FrameAnimator.cpp Bug 1765116. Don't ignore any potential invalidation rect from calling UpdateState in FrameAnimator::ResetAnimation. r=aosmond 2022-04-22 09:00:42 +00:00
FrameAnimator.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
FrameTimeout.h
FrozenImage.cpp Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
FrozenImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
ICOFileHeaders.h
IDecodingTask.cpp Bug 1797688 - Part 4: Bail out from IDecodingTask::NotifyProgress and NotifyDecodeComplete InOrBeyond(XPCOMShutdownThreads). r=xpcom-reviewers,mccr8 2022-11-01 14:08:44 +00:00
IDecodingTask.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
IProgressObserver.h
ISurfaceProvider.h Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel 2021-11-27 11:47:37 +00:00
Image.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
Image.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
ImageBlocker.cpp Bug 1720280: Avoid NullPtr deref in ImageBlocker::ShouldLoad. r=smaug 2021-12-09 12:09:40 +00:00
ImageBlocker.h
ImageCacheKey.cpp Bug 1832528 - Make cors mode part of the image cache key. r=tnikkel 2023-05-25 22:25:31 +00:00
ImageCacheKey.h Bug 1832528 - Make cors mode part of the image cache key. r=tnikkel 2023-05-25 22:25:31 +00:00
ImageFactory.cpp Bug 1812368 - Truncate the URLs we are passing into profiler markers r=julienw 2023-02-09 10:16:51 +00:00
ImageFactory.h Bug 1756587. Fix a couple of aInnerWindowId parameters to be uint64_t in ImageFactory.cpp. r=aosmond 2022-02-26 07:22:44 +00:00
ImageLogging.h
ImageMemoryReporter.cpp
ImageMemoryReporter.h
ImageMetadata.h Bug 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel 2021-10-06 14:41:17 +00:00
ImageOps.cpp Bug 1704332 - Remove various image-orientation related prefs. r=tnikkel 2021-04-11 17:39:12 +00:00
ImageOps.h
ImageRegion.h Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel 2021-11-27 11:47:39 +00:00
ImageWrapper.cpp Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
ImageWrapper.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
ImgDrawResult.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
LookupResult.h
MultipartImage.cpp Bug 1530209 - Removed context argument from various methods. r=necko-reviewers,valentin 2021-11-24 11:25:41 +00:00
MultipartImage.h Bug 1530209 - Removed context argument from various methods. r=necko-reviewers,valentin 2021-11-24 11:25:41 +00:00
Orientation.h Bug 1732115 - Part 2. Move OrientedPixel and related to image/Orientation.h. r=tnikkel 2021-10-06 14:41:17 +00:00
OrientedImage.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
OrientedImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
PlaybackType.h
ProgressTracker.cpp Bug 1797688 - Part 5: Substitute gXPCOMThreadsShutDown with InOrBeyond(XPCOMShutdownThreads) in ProgressTracker::RemoveObserver. r=xpcom-reviewers,mccr8,tnikkel 2022-11-01 14:08:44 +00:00
ProgressTracker.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
RasterImage.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
RasterImage.h Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel 2023-03-17 00:50:07 +00:00
Resolution.h Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel 2021-05-05 09:41:24 +00:00
SVGDocumentWrapper.cpp Bug 1786818. r=mstange 2022-09-08 03:29:36 +00:00
SVGDocumentWrapper.h Bug 1708443 - Part 3. Move VectorImage::mIsDrawing to SVGDocumentWrapper. r=tnikkel 2021-04-29 14:15:01 +00:00
SVGDrawingCallback.h Bug 1708443 - Part 2. Move SVGDrawingCallback declaration to own header. r=tnikkel 2021-04-29 14:15:01 +00:00
SVGDrawingParameters.h Bug 1519636 - Reformat recent changes to the Google coding style. r=marco 2022-07-15 08:27:50 +00:00
ScriptedNotificationObserver.cpp
ScriptedNotificationObserver.h
ShutdownTracker.cpp
ShutdownTracker.h
SourceBuffer.cpp
SourceBuffer.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
StreamingLexer.h
SurfaceCache.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
SurfaceCache.h Bug 1519636 - Reformat recent changes to the Google coding style. r=marco 2022-07-15 08:27:50 +00:00
SurfaceCacheUtils.cpp
SurfaceCacheUtils.h
SurfaceFilters.h
SurfaceFlags.h Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel 2021-11-27 11:47:39 +00:00
SurfacePipe.cpp Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
SurfacePipe.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
SurfacePipeFactory.h Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +00:00
VectorImage.cpp Bug 1853991 - Refactor SVGSVGElement intrinsic size APIs to return LengthPercentage. r=dholbert 2023-09-26 20:28:06 +00:00
VectorImage.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
WebRenderImageProvider.h Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel 2021-11-27 11:47:36 +00:00
imgFrame.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
imgFrame.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
imgICache.idl Bug 1705033 - Added ImageCacheCleaner deleteByBaseDomain. r=tnikkel,timhuang 2021-05-27 12:37:04 +00:00
imgIContainer.idl Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
imgIContainerDebug.idl
imgIEncoder.idl Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin 2022-09-09 18:22:36 +00:00
imgILoader.idl
imgINotificationObserver.idl
imgIRequest.idl Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1812488 - Drive-by clean-ups. r=tnikkel 2023-09-07 11:16:47 +00:00
imgLoader.h Bug 1842658 - Part 1: Use a refcounting macro for imgCacheEntry, r=tnikkel 2023-07-14 16:20:53 +00:00
imgRequest.cpp Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin 2023-06-07 14:48:38 +00:00
imgRequest.h Bug 1655598 - Cross origin image request should not respect image orientation. r=emilio 2022-09-28 03:56:57 +00:00
imgRequestProxy.cpp Bug 1808146 - When creating a file promise for images, remember the referrer. r=nika 2023-03-22 21:55:08 +00:00
imgRequestProxy.h Bug 1800979 - Mark CSS image value loads as not cancelable. r=tnikkel 2022-11-20 00:22:20 +00:00
imgTools.cpp Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
imgTools.h
moz.build Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo 2023-09-26 17:40:01 +00:00
nsIIconURI.idl