fune/gfx/2d
Andrew Osmond 484b8d4e39 Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman
This patch makes CanvasDrawEventRecorder track what eventCount we
recorded an external surface reference. When the reader has increment
its processedCount above that, we will release our reference as it
should have acquired a strong reference to the data. This was previously
done when we forwarded the texture, but with remote textures, we no
longer have this event. Now we check when we start a new recording, or
attempt to clear cached resources.

Differential Revision: https://phabricator.services.mozilla.com/D197216
2023-12-23 01:34:31 +00:00
..
unittest Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
2D.h Backed out 12 changesets (bug 1795296, bug 1855742) as requested by aosmond a=backout 2023-12-19 17:25:55 +02:00
AutoHelpersWin.h
BaseCoord.h Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
BaseMargin.h Bug 1841729 - Change the return type of BaseMargin::{LeftRight,TopBottom}() to Coord. r=botond 2023-07-17 21:18:17 +00:00
BasePoint.h No bug - Remove unreachable return in BasePoint::IsFinite(). r=dlrobertson 2023-07-13 14:23:35 +00:00
BasePoint3D.h Bug 1660405 - Move away from mozilla::IsInfinite in favor of std::isinf. r=nbp,media-playback-reviewers,alwu 2023-03-22 11:35:34 +00:00
BasePoint4D.h
BaseRect.h Bug 1855756 - Fix the edge cases when the angle is 0deg (or 90deg) for ray(). r=hiro 2023-10-20 03:41:10 +00:00
BaseSize.h Bug 1841478 - Use strongly-typed coordinates in the BaseSize constructor. r=botond 2023-07-10 02:59:01 +00:00
BezierUtils.cpp Bug 1787694 - Use a quadratic polynomial formula with less precision loss. r=gfx-reviewers,lsalzman 2022-10-10 07:24:40 +00:00
BezierUtils.h
BigEndianInts.h
Blur.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
Blur.h
BlurLS3.cpp
BlurNEON.cpp
BlurSSE2.cpp
BorrowedContext.h
BufferEdgePad.cpp
BufferEdgePad.h
BufferUnrotate.cpp
BufferUnrotate.h
ConicGradientEffectD2D1.cpp
ConicGradientEffectD2D1.h
ConvolutionFilter.cpp Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
ConvolutionFilter.h Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
ConvolutionFilterAVX2.cpp Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
ConvolutionFilterNEON.cpp Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
ConvolutionFilterSSE2.cpp Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
Coord.h Bug 1843954 - Have Coord * Primitive and Coord / Primitive return Coord. r=botond 2023-09-14 00:37:04 +00:00
CriticalSection.h
DataSourceSurface.cpp
DataSourceSurfaceWrapper.h
DataSurfaceHelpers.cpp Bug 1817442. r=tnikkel 2023-03-03 20:46:24 +00:00
DataSurfaceHelpers.h
DrawEventRecorder.cpp Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
DrawEventRecorder.h Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
DrawTarget.cpp Bug 1850983: Add check for correct format in DrawTarget::IntoLuminanceSource. r=jrmuizel 2023-09-15 17:48:14 +00:00
DrawTargetCairo.cpp Bug 1850180: Release assert on too many PopLayers in DrawTargetSkia and DrawTargetCairo. r=jrmuizel 2023-09-15 17:47:30 +00:00
DrawTargetCairo.h Bug 1447839 - Avoid creating internal path builder for PathRecording unless necessary. r=jrmuizel 2023-03-17 19:04:40 +00:00
DrawTargetD2D1.cpp Bug 1851861: Null-check more calls that attempt to create a DrawTarget. r=gfx-reviewers,lsalzman 2023-09-06 20:13:22 +00:00
DrawTargetD2D1.h Bug 1839490 - Add FillCircle to DrawTarget. r=lsalzman 2023-06-22 00:11:10 +00:00
DrawTargetOffset.cpp
DrawTargetOffset.h
DrawTargetRecording.cpp Backed out 12 changesets (bug 1795296, bug 1855742) as requested by aosmond a=backout 2023-12-19 17:25:55 +02:00
DrawTargetRecording.h Bug 1829026 - Implement DrawShadow in DrawTargetRecording. r=aosmond 2023-12-18 18:10:47 +00:00
DrawTargetSkia.cpp Bug 1850180: Release assert on too many PopLayers in DrawTargetSkia and DrawTargetCairo. r=jrmuizel 2023-09-15 17:47:30 +00:00
DrawTargetSkia.h Bug 1447839 - Avoid creating internal path builder for PathRecording unless necessary. r=jrmuizel 2023-03-17 19:04:40 +00:00
DWriteSettings.cpp
DWriteSettings.h
ExtendInputEffectD2D1.cpp
ExtendInputEffectD2D1.h
Factory.cpp Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
FilterNodeD2D1.cpp Bug 1846683: Make assertions in FilterNodeD2D1::SetInput release assertions. r=jrmuizel 2023-09-02 12:22:22 +00:00
FilterNodeD2D1.h
FilterNodeSoftware.cpp Bug 1842072 - Prevent IntCoordTyped's constructor from accepting non-integral parameters. r=botond 2023-07-08 07:45:44 +00:00
FilterNodeSoftware.h
FilterProcessing.cpp
FilterProcessing.h
FilterProcessingScalar.cpp
FilterProcessingSIMD-inl.h
FilterProcessingSSE2.cpp
Filters.h
FontVariation.h
GenericRefCounted.h
genshaders.sh
gfx2d.sln
gfx2d.vcxproj
GradientStopsD2D.h
Helpers.h
HelpersCairo.h Bug 1816775 - Implement globalCompositeOperation "clear" without Windows. r=lsalzman 2023-03-31 07:50:57 +00:00
HelpersD2D.h Bug 1850034 - Remove pre-Win10-specific codepath from gfx/. r=gfx-reviewers,lsalzman 2023-08-26 23:44:57 +00:00
HelpersSkia.h Bug 1821512 - Fix Skia usage for API changes. r=jrmuizel 2023-04-16 15:34:50 +00:00
HelpersWinFonts.h
ImageScaling.cpp
ImageScaling.h
ImageScalingSSE2.cpp
InlineTranslator.cpp Bug 1863914: Use multiple shmem buffers for remote canvas recording. r=aosmond 2023-12-08 16:11:27 +00:00
InlineTranslator.h Backed out changeset 71b6060b6015 (bug 1863914) for causing Bug 1868934 2023-12-08 13:18:52 +02:00
IterableArena.h
Logging.h Bug 1841478 - Use strongly-typed coordinates in the BaseSize constructor. r=botond 2023-07-10 02:59:01 +00:00
LoggingConstants.h
LuminanceNEON.cpp
LuminanceNEON.h
MacIOSurface.cpp Bug 1868634. Replace deprecated CGColorSpaceCopyICCProfile calls. r=haik,mac-reviewers 2023-12-09 16:41:35 +00:00
MacIOSurface.h Bug 1765187 Part 2: Make macOS video decoder recognize and use color primaries. r=media-playback-reviewers,jgilbert,alwu 2022-10-10 20:12:59 +00:00
Matrix.cpp
Matrix.h Bug 1841731 - Remove obsolete comment from description of BaseMatrix::ScaleFactors(). r=rzvncj 2023-07-05 05:57:47 +00:00
MatrixFwd.h
MMIHelpers.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
moz.build Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
NativeFontResource.cpp
NativeFontResourceDWrite.cpp
NativeFontResourceDWrite.h
NativeFontResourceFreeType.cpp
NativeFontResourceFreeType.h
NativeFontResourceGDI.cpp
NativeFontResourceGDI.h
NativeFontResourceMac.cpp Bug 1803406 - Backout 2 changesets (6a82f1f120aa, 87d83c56fbe5) due to regression reported in bug 1858869. 2023-10-13 08:32:56 +00:00
NativeFontResourceMac.h
NumericTools.h Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
Path.cpp Bug 1856795 - ride along: use = default; on some recently modified files r=emilio 2023-10-15 15:29:03 +00:00
PathAnalysis.h Bug 1801463 - Use a cursor in FlattenedPath to accelerate successive calls to ComputePointAtLength for SVG text-on-a-path layout. r=gfx-reviewers,nical 2023-02-06 15:01:20 +00:00
PathCairo.cpp Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond 2023-07-30 14:31:09 +00:00
PathCairo.h Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond 2023-07-30 14:31:09 +00:00
PathD2D.cpp Bug 1860763. Expand workaround for d2d arcs that are full circles slightly. r=gfx-reviewers,lsalzman 2023-11-01 04:05:29 +00:00
PathD2D.h Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond 2023-07-30 14:31:09 +00:00
PathHelpers.cpp Bug 1756175 - Implement roundRect for canvas2D. r=lsalzman,emilio 2023-02-21 19:41:49 +00:00
PathHelpers.h Bug 1839474 - Add support for directly stroking circles to DrawTarget. r=lsalzman 2023-06-20 19:28:48 +00:00
PathRecording.cpp Bug 1846685: Add PathOps::CheckedStreamToSink and use for event playback. r=jrmuizel 2023-09-02 16:13:30 +00:00
PathRecording.h Bug 1846685: Add PathOps::CheckedStreamToSink and use for event playback. r=jrmuizel 2023-09-02 16:13:30 +00:00
PathSkia.cpp Bug 691187 - Prune zero-length segments for canvas strokes. r=lsalzman 2023-06-02 19:06:15 +00:00
PathSkia.h Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond 2023-07-30 14:31:09 +00:00
PatternHelpers.h
Point.h Bug 1841478 - Use strongly-typed coordinates in the BaseSize constructor. r=botond 2023-07-10 02:59:01 +00:00
Polygon.h
Quaternion.cpp
Quaternion.h
RadialGradientEffectD2D1.cpp Bug 1787085 - Fix undefined behavior from cast from float to char. r=gfx-reviewers,lsalzman 2022-09-02 01:37:03 +00:00
RadialGradientEffectD2D1.h
RecordedEvent.cpp Bug 1863914: Use multiple shmem buffers for remote canvas recording. r=aosmond 2023-12-08 16:11:27 +00:00
RecordedEvent.h Bug 1829026 - Implement DrawShadow in DrawTargetRecording. r=aosmond 2023-12-18 18:10:47 +00:00
RecordedEventImpl.h Bug 1829026 - Implement DrawShadow in DrawTargetRecording. r=aosmond 2023-12-18 18:10:47 +00:00
RecordingTypes.h Bug 1850072: Initialize RecordedDrawTargetCreation::mHasExistingData. r=jrmuizel 2023-09-12 11:51:11 +00:00
Rect.h Bug 1840485 - Change the type of BaseMargin::{top,right,bottom,left} to Coord. r=botond 2023-07-01 02:23:21 +00:00
RectAbsolute.h
Scale.h
ScaledFontBase.cpp
ScaledFontBase.h
ScaledFontDWrite.cpp Bug 1862061 - Remove -moz-font-smoothing-background-color. r=gfx-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,gw 2023-11-01 09:14:29 +00:00
ScaledFontDWrite.h Bug 1819272 - Implement ScaledFontDWrite::HasVariationSettings(), so that we can use the print-as-paths option for PDF output with variation fonts on Windows. r=gfx-reviewers,lsalzman 2023-03-03 14:06:07 +00:00
ScaledFontFontconfig.cpp Bug 1862061 - Remove -moz-font-smoothing-background-color. r=gfx-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,gw 2023-11-01 09:14:29 +00:00
ScaledFontFontconfig.h
ScaledFontFreeType.cpp Bug 1862061 - Remove -moz-font-smoothing-background-color. r=gfx-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,gw 2023-11-01 09:14:29 +00:00
ScaledFontFreeType.h
ScaledFontMac.cpp Bug 1866105 - Add the font file path to the font descriptor sent to webrender on macOS. r=gfx-reviewers,lsalzman 2023-12-05 10:59:06 +00:00
ScaledFontMac.h Bug 1862061 - Remove -moz-font-smoothing-background-color. r=gfx-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,gw 2023-11-01 09:14:29 +00:00
ScaledFontWin.cpp
ScaledFontWin.h
ScaleFactor.h
ScaleFactors2D.h
SFNTData.cpp Bug 1823401: Hash cmap as well as head tables for SFNTData::GetUniqueKey. r=jfkthame 2023-03-22 15:31:53 +00:00
SFNTData.h Bug 1823401: Hash cmap as well as head tables for SFNTData::GetUniqueKey. r=jfkthame 2023-03-22 15:31:53 +00:00
ShadersD2D.fx
ShadersD2D.h
ShadersD2D1.h
ShadersD2D1.hlsl
SIMD.h
SkConvolver.cpp Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
SkConvolver.h Bug 1805757 - Move SkConvolver into the tree. r=aosmond 2022-12-15 05:53:16 +00:00
SourceSurfaceCairo.cpp
SourceSurfaceCairo.h
SourceSurfaceD2D1.cpp
SourceSurfaceD2D1.h
SourceSurfaceRawData.cpp
SourceSurfaceRawData.h
SourceSurfaceSkia.cpp Bug 1821512 - Fix Skia usage for API changes. r=jrmuizel 2023-04-16 15:34:50 +00:00
SourceSurfaceSkia.h Bug 1752841 - Add ExtractSubrect API to SourceSurface. r=jrmuizel 2022-12-07 21:06:32 +00:00
SSEHelpers.h
ssse3-scaler.c Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
ssse3-scaler.h
StackArray.h
SVGTurbulenceRenderer-inl.h
Swizzle.cpp
Swizzle.h
SwizzleAVX2.cpp
SwizzleNEON.cpp
SwizzleSSE2.cpp
SwizzleSSSE3.cpp
Tools.h Bug 1277372 - Move away from "mozilla/TypeTraits.h". r=geckoview-reviewers,sergesanspaille,m_kato 2023-04-17 13:50:11 +00:00
Triangle.h
Types.cpp
Types.h Bug 1816775 - Implement globalCompositeOperation "clear" without Windows. r=lsalzman 2023-03-31 07:50:57 +00:00
UnscaledFontDWrite.h
UnscaledFontFreeType.cpp Bug 1798036 - Attach a SharedFTFaceData (recording the filename) when instantiating SharedFTFace for an installed variation font. r=lsalzman 2022-11-10 17:24:11 +00:00
UnscaledFontFreeType.h
UnscaledFontGDI.h
UnscaledFontMac.h Bug 1866105 - Add the font file path to the font descriptor sent to webrender on macOS. r=gfx-reviewers,lsalzman 2023-12-05 10:59:06 +00:00
UserData.h Bug 1786136 - Make UserData thread-safe. r=jrmuizel 2022-09-01 05:29:14 +00:00