gecko-dev/image
Jens Stutte a71d351e3b Bug 1797688 - Part 6: Substitute gXPCOMThreadsShutDown with InOrBeyond(XPCOMShutdownFinal) in SurfaceCacheImpl. r=xpcom-reviewers,mccr8
To release the images, `ClearReleasingImages` basically takes all the `RefPtr<Image>` out of `mReleasingImagesOnMainThread` under a lock and then clears them, all on the main thread. This can be safely done before as late as XPCOMShutdownFinal on the main thread in order to avoid leaks.

Differential Revision: https://phabricator.services.mozilla.com/D160624
2022-11-01 14:08:45 +00:00
..
build Bug 1511670 - Add WebP image encoding support. r=aosmond 2021-11-06 13:09:07 +00:00
decoders Bug 1794754. Return NEED_MORE_DATA from nsWebPDecoder::ReadHeader if ICC was specified but chunk not found r=aosmond 2022-10-20 07:53:25 +00:00
encoders Bug 1784835. Use checkedint in webp encoder to avoid overflow. r=aosmond 2022-08-23 08:42:49 +00:00
test Bug 327074 - Allow RLE bitmaps with extra pixels per row to render. r=tnikkel 2022-10-12 03:58:32 +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 1519636 - Reformat recent changes to the Google coding style. r=marco 2022-07-15 08:27:50 +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 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03: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 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +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 1734811 - consider to use higher priority for the imglib tasks r=tnikkel 2021-10-08 19:29:37 +00:00
DecodePool.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
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 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel 2021-10-06 14:41:17 +00:00
DecoderFactory.h Bug 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel 2021-10-06 14:41:17 +00:00
DecoderFlags.h
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 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03: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 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel 2021-11-27 11:47:40 +00:00
Image.h Bug 1795779. Don't call TimeStamp::Now for the profiler every time an image is drawn if the profiler isn't active. r=smaug 2022-10-18 06:57:13 +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 1765313, part 2 - Move the ShouldAllowAccessFor functions to StorageAccess.h, r=anti-tracking-reviewers,timhuang 2022-06-08 21:57:16 +00:00
ImageCacheKey.h Backed out 2 changesets (bug 1728331) for causing failures at RTCPeerConnection-videoDetectorTest.html. CLOSED TREE 2022-03-29 00:04:47 +03:00
ImageFactory.cpp 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
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 1729598 - Replace MOZ_MUST_USE_TYPE with [[nodiscard]]. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +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 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03: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 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
RasterImage.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +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 1797688 - Part 6: Substitute gXPCOMThreadsShutDown with InOrBeyond(XPCOMShutdownFinal) in SurfaceCacheImpl. r=xpcom-reviewers,mccr8 2022-11-01 14:08:45 +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 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel 2021-10-06 14:41:18 +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 1794722 - Part 2. Remove all uses of gfxVars::UseWebRender(). r=jrmuizel,media-playback-reviewers,alwu 2022-10-28 12:36:06 +00:00
VectorImage.h Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03: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 1765871. Deal with oriented image frames in imgFrame::Finish. r=aosmond 2022-05-07 06:50:47 +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 1655598 - Cross origin image request should not respect image orientation. r=emilio 2022-09-28 03:56:57 +00:00
imgIScriptedNotificationObserver.idl
imgITools.idl
imgLoader.cpp Bug 1760580 - P2: Provide a reason when request is cancelled with NS_BINDING_ABORTED, r=necko-reviewers,media-playback-reviewers,valentin,chunmin 2022-09-08 09:11:19 +00:00
imgLoader.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
imgRequest.cpp Bug 1794766 - Use CancelWithReason in imgRequest and nsLoadGroup, r=necko-reviewers,dragana 2022-10-13 08:54:12 +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 1792435 - Fix triggering principal set-up for static image requests. r=dlrobertson 2022-09-28 03:56:58 +00:00
imgRequestProxy.h Bug 1792435 - Fix triggering principal set-up for static image requests. r=dlrobertson 2022-09-28 03:56:58 +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 1774376 - update further metadata mapping files to Graphics Bugzilla components. DONTBUILD 2022-07-11 22:38:30 +00:00
nsIIconURI.idl