gecko-dev/gfx/2d
Ting-Yu Lin 570a5436c4 Bug 1742006 - Fix documents of rect types' Union and SaturatingUnion, and add a test. r=gfx-reviewers,mstange
The documents of Union and SaturatingUnion promise that |this| will be return
when both rects are empty, but the current implementation returns aRect instead.

This patch fixes the documents and added a test case.

Differential Revision: https://phabricator.services.mozilla.com/D131568
2021-11-22 03:26:19 +00:00
..
unittest
2D.h Bug 1738589 - Let Gecko decide if WR Mac font has color glyphs. r=jfkthame 2021-11-10 22:16:13 +00:00
AutoHelpersWin.h
BaseCoord.h Bug 1675852 Part 1 - Mark more methods 'constexpr' in BaseCoord and nsSize. r=emilio 2020-11-06 22:22:02 +00:00
BaseMargin.h Bug 1667863 - Replace AppendToString for MarginTyped with ostream. r=mattwoodrow 2020-09-29 02:57:17 +00:00
BasePoint.h
BasePoint3D.h
BasePoint4D.h
BaseRect.h Bug 1742006 - Fix documents of rect types' Union and SaturatingUnion, and add a test. r=gfx-reviewers,mstange 2021-11-22 03:26:19 +00:00
BaseSize.h Bug 1667656 - Replace AppendToString of nsSize with ostream usage. r=mattwoodrow 2020-09-28 01:13:52 +00:00
BezierUtils.cpp
BezierUtils.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
BigEndianInts.h
Blur.cpp
Blur.h
BlurLS3.cpp Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
BlurNEON.cpp
BlurSSE2.cpp
BorrowedContext.h Bug 1732443 - Remove remaining XRender leftovers,r=emilio,stransky 2021-09-30 14:14:13 +00:00
BufferEdgePad.cpp
BufferEdgePad.h
BufferUnrotate.cpp
BufferUnrotate.h
ConicGradientEffectD2D1.cpp Bug 1617396 - Implement conic-gradient for Direct2D graphics backend. r=gfx-reviewers,nical 2020-10-08 19:58:15 +00:00
ConicGradientEffectD2D1.h Bug 1617396 - Implement conic-gradient for Direct2D graphics backend. r=gfx-reviewers,nical 2020-10-08 19:58:15 +00:00
ConvolutionFilter.cpp
ConvolutionFilter.h
Coord.h Bug 1726620 Part 1 - Generalize IntCoordTyped template to take a parameter as the underlying type. r=botond 2021-08-24 17:19:21 +00:00
CriticalSection.h
DWriteSettings.cpp Bug 1698946 p2: Add DWriteSettings to be used to retrieve font settings. r=jfkthame 2021-08-05 09:13:10 +00:00
DWriteSettings.h Bug 1698946 p2: Add DWriteSettings to be used to retrieve font settings. r=jfkthame 2021-08-05 09:13:10 +00:00
DataSourceSurface.cpp
DataSourceSurfaceWrapper.h
DataSurfaceHelpers.cpp
DataSurfaceHelpers.h
DrawEventRecorder.cpp Bug 1728240 - Remove DrawTargetWrapAndRecord and gfx.2d.recording pref. r=jrmuizel 2021-08-31 02:03:58 +00:00
DrawEventRecorder.h Bug 1728240 - Remove DrawTargetWrapAndRecord and gfx.2d.recording pref. r=jrmuizel 2021-08-31 02:03:58 +00:00
DrawTarget.cpp Bug 1728113 - Remove DrawTargetCapture and related code. r=jrmuizel 2021-08-30 16:35:50 +00:00
DrawTargetCairo.cpp Bug 1732443 - Remove remaining XRender leftovers,r=emilio,stransky 2021-09-30 14:14:13 +00:00
DrawTargetCairo.h Bug 1728112 - Remove BorrowedCairoContext. r=jrmuizel 2021-08-30 16:35:49 +00:00
DrawTargetD2D1.cpp Bug 1728205 - Remove DrawTargetDual. r=jrmuizel 2021-08-30 22:55:32 +00:00
DrawTargetD2D1.h
DrawTargetOffset.cpp
DrawTargetOffset.h Bug 1728113 - Remove DrawTargetCapture and related code. r=jrmuizel 2021-08-30 16:35:50 +00:00
DrawTargetRecording.cpp Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
DrawTargetRecording.h Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
DrawTargetSkia.cpp Bug 1739448 - Implement a prototype WebGL-backed Canvas2D. r=gfx-reviewers,nical,jrmuizel 2021-11-11 07:16:58 +00:00
DrawTargetSkia.h Bug 1739448 - Implement a prototype WebGL-backed Canvas2D. r=gfx-reviewers,nical,jrmuizel 2021-11-11 07:16:58 +00:00
ExtendInputEffectD2D1.cpp
ExtendInputEffectD2D1.h
Factory.cpp Bug 1739448 - Implement a prototype WebGL-backed Canvas2D. r=gfx-reviewers,nical,jrmuizel 2021-11-11 07:16:58 +00:00
FilterNodeD2D1.cpp Bug 1728205 - Remove DrawTargetDual. r=jrmuizel 2021-08-30 22:55:32 +00:00
FilterNodeD2D1.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
FilterNodeSoftware.cpp Bug 1732481 - Fix non-unified build errors in gfx. r=gfx-reviewers,jrmuizel 2021-09-24 19:14:46 +00:00
FilterNodeSoftware.h
FilterProcessing.cpp
FilterProcessing.h
FilterProcessingSIMD-inl.h Bug 1518099 - Add support for lighter operator in feComposite r=jrmuizel,emilio 2021-01-05 20:49:00 +00:00
FilterProcessingSSE2.cpp
FilterProcessingScalar.cpp
Filters.h Bug 1518099 - Add support for lighter operator in feComposite r=jrmuizel,emilio 2021-01-05 20:49:00 +00:00
FontVariation.h Bug 1701942 - Use bitwise equality for font variation value comparisons. r=jfkthame 2021-04-02 12:37:23 +00:00
GenericRefCounted.h Bug 1687391 - Avoid using a spinlock in ThreadSafeWeakReference, r=glandium,mccr8,Gankra,sg 2021-02-03 17:00:04 +00:00
GradientStopsD2D.h
Helpers.h
HelpersCairo.h
HelpersD2D.h Bug 1617396 - Implement conic-gradient for Direct2D graphics backend. r=gfx-reviewers,nical 2020-10-08 19:58:15 +00:00
HelpersSkia.h
HelpersWinFonts.h
ImageScaling.cpp
ImageScaling.h
ImageScalingSSE2.cpp
InlineTranslator.cpp Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
InlineTranslator.h Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
IterableArena.h
Logging.h Bug 1728240 - Remove DrawTargetWrapAndRecord and gfx.2d.recording pref. r=jrmuizel 2021-08-31 02:03:58 +00:00
LoggingConstants.h
LuminanceNEON.cpp
LuminanceNEON.h
MMIHelpers.h
MacIOSurface.cpp Bug 1736626 - Properly align more IOSurface properties. r=jrmuizel 2021-10-19 19:18:56 +00:00
MacIOSurface.h Bug 1459526 - Handle full-range video in Webrender. r=gw,lsalzman 2021-06-25 19:16:22 +00:00
Matrix.cpp
Matrix.h Bug 1733281 - Remove MaybeMatrix4x4. r=hiro 2021-09-30 00:08:35 +00:00
MatrixFwd.h
NativeFontResource.cpp
NativeFontResourceDWrite.cpp
NativeFontResourceDWrite.h
NativeFontResourceFreeType.cpp
NativeFontResourceFreeType.h
NativeFontResourceGDI.cpp
NativeFontResourceGDI.h
NativeFontResourceMac.cpp Bug 1694161 - some fixes for the MacOS non unified environment. r=sg 2021-02-27 08:05:46 +00:00
NativeFontResourceMac.h Bug 1674175 - Add a memory reporter for memory allocated in NativeFontResourceMac::Create. r=mstange 2020-10-30 00:29:55 +00:00
NumericTools.h
Path.cpp Bug 1713520 - Remove "else" after "return" in FindInflectionPoints r=nical 2021-06-17 12:39:16 +00:00
PathAnalysis.h
PathCairo.cpp
PathCairo.h
PathD2D.cpp Bug 1663703 - only allow PathD2D::ContainsPoint to proceed if transform is invertible. r=bobowen 2020-12-09 12:03:11 +00:00
PathD2D.h
PathHelpers.cpp
PathHelpers.h
PathRecording.cpp
PathRecording.h
PathSkia.cpp Bug 1684050 - choose appropriate stroke res scale for PathSkia::StrokeContainsPoint. r=bobowen 2021-01-14 09:01:54 +00:00
PathSkia.h
PatternHelpers.h Bug 1697344 p3: Don't hold the GradientStops object on CanvasGradient. r=jrmuizel 2021-03-29 12:12:21 +00:00
Point.h Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-05-24 15:08:47 +00:00
Polygon.h
QuartzSupport.h
QuartzSupport.mm Bug 1685183 Part 1: Make MacIOSurface always use 1.0 scale, and update callsites. r=jgilbert 2021-04-08 16:42:06 +00:00
Quaternion.cpp
Quaternion.h
RadialGradientEffectD2D1.cpp
RadialGradientEffectD2D1.h
RecordedEvent.cpp Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio 2021-08-09 22:07:36 +00:00
RecordedEvent.h Bug 1393362 - Make more RecordedEvent implementations fallible. r=bobowen 2021-11-01 19:33:28 +00:00
RecordedEventImpl.h Bug 1519636 - First reformat with clang-format 13.0.0. r=firefox-build-system-reviewers,sylvestre,mhentges 2021-11-16 08:07:30 +00:00
RecordingTypes.h
Rect.h Bug 1679208 - Improve non-native theme with fractional scaling. r=heycam 2020-11-30 04:48:07 +00:00
RectAbsolute.h Bug 1742006 - Fix documents of rect types' Union and SaturatingUnion, and add a test. r=gfx-reviewers,mstange 2021-11-22 03:26:19 +00:00
SFNTData.cpp
SFNTData.h
SIMD.h
SSEHelpers.h
SVGTurbulenceRenderer-inl.h
Scale.cpp Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
Scale.h
ScaleFactor.h
ScaleFactors2D.h Bug 1732423. Backout https://hg.mozilla.org/mozilla-central/rev/743007ddfecc from bug 1731929 because we don't need it anymore. r=botond 2021-09-30 05:55:36 +00:00
ScaledFontBase.cpp Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontBase.h Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontDWrite.cpp Bug 1728113 - Remove DrawTargetCapture and related code. r=jrmuizel 2021-08-30 16:35:50 +00:00
ScaledFontDWrite.h Bug 1698946 p3: Change existing code to use DWriteSettings. r=jfkthame 2021-08-05 09:13:11 +00:00
ScaledFontFontconfig.cpp Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontFontconfig.h Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontFreeType.cpp Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontFreeType.h Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontMac.cpp Bug 1738589 - Let Gecko decide if WR Mac font has color glyphs. r=jfkthame 2021-11-10 22:16:13 +00:00
ScaledFontMac.h Bug 1738589 - Let Gecko decide if WR Mac font has color glyphs. r=jfkthame 2021-11-10 22:16:13 +00:00
ScaledFontWin.cpp Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ScaledFontWin.h Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel 2021-07-29 23:29:44 +00:00
ShadersD2D.fx Bug 1617396 - Implement conic-gradient for Direct2D graphics backend. r=gfx-reviewers,nical 2020-10-08 19:58:15 +00:00
ShadersD2D.h Bug 1617396 - Fix more linting opt failures. CLOSED TREE DONTBUILD 2020-10-09 04:44:56 +03:00
ShadersD2D1.h Bug 1617396 - Fix more linting opt failures. CLOSED TREE DONTBUILD 2020-10-09 04:44:56 +03:00
ShadersD2D1.hlsl Bug 1617396 - Implement conic-gradient for Direct2D graphics backend. r=gfx-reviewers,nical 2020-10-08 19:58:15 +00:00
SourceSurfaceCairo.cpp
SourceSurfaceCairo.h
SourceSurfaceD2D1.cpp Bug 1732208 - Silence the unused-but-set-variable warning in gfx. r=gfx-reviewers,nical 2021-09-28 00:02:45 +00:00
SourceSurfaceD2D1.h Bug 1699352 - Fix DrawTargetD2D1::mVRAMUsageSS handling r=jrmuizel 2021-03-23 01:17:19 +00:00
SourceSurfaceRawData.cpp Bug 1728113 - Remove DrawTargetCapture and related code. r=jrmuizel 2021-08-30 16:35:50 +00:00
SourceSurfaceRawData.h Bug 1728113 - Remove DrawTargetCapture and related code. r=jrmuizel 2021-08-30 16:35:50 +00:00
SourceSurfaceSkia.cpp Bug 1739448 - Reduce Skia header pollution in Moz2D from sk_sp. r=gfx-reviewers,jgilbert 2021-11-11 07:16:57 +00:00
SourceSurfaceSkia.h Bug 1739448 - Reduce Skia header pollution in Moz2D from sk_sp. r=gfx-reviewers,jgilbert 2021-11-11 07:16:57 +00:00
StackArray.h
Swizzle.cpp Bug 1732115 - Part 1. Add swizzling support for reorienting by row. r=tnikkel 2021-10-06 14:41:17 +00:00
Swizzle.h Bug 1732115 - Part 1. Add swizzling support for reorienting by row. r=tnikkel 2021-10-06 14:41:17 +00:00
SwizzleAVX2.cpp
SwizzleNEON.cpp
SwizzleSSE2.cpp
SwizzleSSSE3.cpp
Tools.h
Triangle.h
Types.cpp Bug 1666802 - Move the SurfaceFormat serializer into an ostream operator. r=mattwoodrow 2020-10-11 23:22:28 +00:00
Types.h Bug 1739448 - Implement a prototype WebGL-backed Canvas2D. r=gfx-reviewers,nical,jrmuizel 2021-11-11 07:16:58 +00:00
UnscaledFontDWrite.h
UnscaledFontFreeType.cpp
UnscaledFontFreeType.h
UnscaledFontGDI.h
UnscaledFontMac.h Bug 1732629 - [gfx/2d] Get non-localized variation axis names from CoreGraphics in ScaledFontMac, so that we set up the CGFont correctly with variation values. r=jrmuizel 2021-10-27 14:15:12 +00:00
UserData.h
dw-extra.h Bug 1519636 - First reformat with clang-format 13.0.0. r=firefox-build-system-reviewers,sylvestre,mhentges 2021-11-16 08:07:30 +00:00
genshaders.sh Bug 1617396 - Implement conic-gradient for Direct2D graphics backend. r=gfx-reviewers,nical 2020-10-08 19:58:15 +00:00
gfx2d.sln
gfx2d.vcxproj
moz.build Bug 1739448 - Implement a prototype WebGL-backed Canvas2D. r=gfx-reviewers,nical,jrmuizel 2021-11-11 07:16:58 +00:00
ssse3-scaler.c
ssse3-scaler.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00