gecko-dev/gfx/2d
Emilio Cobos Álvarez 6311bc2129 Bug 1614512 - Give mozilla::Side and mozilla::Corner a fixed underlying type. r=froydnj
So as to avoid UB. It is somewhat unfortunate/dumb the fact that we need to do
this and we can't detect when we forget to do it :(

Give it uint8_t as it's type as that's enough and consistent with LogicalSide.

Differential Revision: https://phabricator.services.mozilla.com/D62390

--HG--
extra : moz-landing-system : lando
2020-02-11 14:11:06 +00:00
..
unittest Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
2D.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
AutoHelpersWin.h
BaseCoord.h
BaseMargin.h Bug 1585806 - Make SideBits an enum class, add casting where necessary. r=botond 2019-11-16 20:59:34 +00:00
BasePoint.h
BasePoint3D.h
BasePoint4D.h
BaseRect.h
BaseSize.h
BezierUtils.cpp
BezierUtils.h
BigEndianInts.h
Blur.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
Blur.h
BlurLS3.cpp
BlurNEON.cpp
BlurSSE2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
BorrowedContext.h
BufferEdgePad.cpp
BufferEdgePad.h
BufferUnrotate.cpp
BufferUnrotate.h
CGTextDrawing.h
CaptureCommandList.cpp
CaptureCommandList.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
ConvolutionFilter.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
ConvolutionFilter.h
Coord.h
CriticalSection.h
DataSourceSurface.cpp
DataSourceSurfaceWrapper.h
DataSurfaceHelpers.cpp
DataSurfaceHelpers.h
DrawCommand.h
DrawCommands.h
DrawEventRecorder.cpp Bug 1580511: Check size is allowed in DrawTargetRecording::CreateSourceSurfaceFromData. r=jrmuizel 2019-10-07 14:38:06 +00:00
DrawEventRecorder.h Bug 1590619: Only clean up Remote Canvas IPC classes when the CanvasChild owns the only recorder reference. r=jrmuizel 2019-11-04 14:15:22 +00:00
DrawTarget.cpp
DrawTargetCairo.cpp Bug 1592408 - DrawTargetCairo.cpp: Only compile 'GfxFormatToPixmanFormat' when not using skia r=nical 2019-10-30 09:55:11 +00:00
DrawTargetCairo.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
DrawTargetCapture.cpp Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt 2019-06-21 09:51:00 +00:00
DrawTargetCapture.h Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt 2019-06-21 09:51:00 +00:00
DrawTargetD2D1.cpp Bug 1582231 - remove Moz2D dependency on Cairo glyph extents. r=jfkthame 2019-09-20 16:30:21 +00:00
DrawTargetD2D1.h Bug 1582231 - remove Moz2D dependency on Cairo glyph extents. r=jfkthame 2019-09-20 16:30:21 +00:00
DrawTargetDual.cpp Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt 2019-06-21 09:51:00 +00:00
DrawTargetDual.h Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt 2019-06-21 09:51:00 +00:00
DrawTargetOffset.cpp Bug 1595388. Use mDrawTarget->Rect() instead of Size(). r=mstange 2019-12-04 01:45:52 +00:00
DrawTargetOffset.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-16 07:33:44 +00:00
DrawTargetRecording.cpp Bug 1604800 Part 2: Remove DataSourceSurfaceRecording from DrawTargetRecording. r=jrmuizel 2020-01-22 21:23:08 +00:00
DrawTargetRecording.h Bug 1561743. DrawTargetRecording IntRect. r=nical 2019-07-10 13:49:08 +00:00
DrawTargetSkia.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
DrawTargetSkia.h Bug 1547063 - add SharedFTFace abstraction of FT_Face. r=jfkthame 2019-09-16 17:03:04 +00:00
DrawTargetTiled.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
DrawTargetTiled.h Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt 2019-06-21 09:51:00 +00:00
DrawTargetWrapAndRecord.cpp Bug 1604800 Part 1: Add a new WRAP_AND_RECORD SurfaceType for SourceSurfaceWrapAndRecord. r=jrmuizel 2020-01-22 21:21:08 +00:00
DrawTargetWrapAndRecord.h Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt 2019-06-21 09:51:00 +00:00
DrawingJob.cpp
DrawingJob.h Bug 1607595 - Remove uses of mozilla::IsBaseOf. r=froydnj 2020-01-08 14:52:10 +00:00
ExtendInputEffectD2D1.cpp Bug 1577236 - clang-10: Fix a -Wimplicit-int-float-conversion warning in ExtendInputEffectD2D1 r=jrmuizel 2020-02-07 18:06:11 +00:00
ExtendInputEffectD2D1.h
Factory.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
FilterNodeCapture.cpp
FilterNodeCapture.h
FilterNodeD2D1.cpp Bug 1577566 - Enforce appropriate output channel clamping in D2D1 ColorMatrix filters. r=bas 2019-10-09 15:38:21 +00:00
FilterNodeD2D1.h
FilterNodeSoftware.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
FilterNodeSoftware.h
FilterProcessing.cpp
FilterProcessing.h
FilterProcessingSIMD-inl.h
FilterProcessingSSE2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
FilterProcessingScalar.cpp
Filters.h
FontVariation.h
GenericRefCounted.h
GradientStopsD2D.h
Helpers.h
HelpersCairo.h
HelpersD2D.h Bug 1600595: Part 3 - Add D3D11 utilities for creating CPU textures and converting format enums r=jrmuizel 2020-01-04 19:39:40 +00:00
HelpersSkia.h Bug 1591996 - miscellaneous Gecko fixes for Skia m79 update. r=jrmuizel 2019-10-28 21:42:48 +00:00
HelpersWinFonts.h Bug 1547063 - add SharedFTFace abstraction of FT_Face. r=jfkthame 2019-09-16 17:03:04 +00:00
ImageScaling.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
ImageScaling.h
ImageScalingSSE2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
InlineTranslator.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
InlineTranslator.h Bug 1575874: Create the CanvasTranslator on the Compositor thread to prevent race with WaitForSurfaceDescriptor. r=jrmuizel 2019-09-10 02:06:28 +00:00
IterableArena.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
JobScheduler.cpp
JobScheduler.h
JobScheduler_posix.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
JobScheduler_posix.h
JobScheduler_win32.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
JobScheduler_win32.h
Logging.h Bug 1604800 Part 1: Add a new WRAP_AND_RECORD SurfaceType for SourceSurfaceWrapAndRecord. r=jrmuizel 2020-01-22 21:21:08 +00:00
LoggingConstants.h
LuminanceNEON.cpp
LuminanceNEON.h
MMIHelpers.h
MacIOSurface.cpp Bug 1573668 - Add MacIOSurface::GetAsDrawTargetLocked. r=mattwoodrow 2019-08-15 04:54:57 +00:00
MacIOSurface.h Bug 1573668 - Add MacIOSurface::GetAsDrawTargetLocked. r=mattwoodrow 2019-08-15 04:54:57 +00:00
Matrix.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
Matrix.h Bug 1603409 - add missing operator= definitions for gfx/2d classes; r=botond 2019-12-13 17:58:55 +00:00
MatrixFwd.h
NativeFontResourceDWrite.cpp Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
NativeFontResourceDWrite.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
NativeFontResourceFreeType.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
NativeFontResourceFreeType.h Bug 1547063 - add SharedFTFace abstraction of FT_Face. r=jfkthame 2019-09-16 17:03:04 +00:00
NativeFontResourceGDI.cpp
NativeFontResourceGDI.h
NativeFontResourceMac.cpp Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
NativeFontResourceMac.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
NumericTools.h
Path.cpp
PathAnalysis.h
PathCairo.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
PathCairo.h
PathCapture.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
PathCapture.h
PathD2D.cpp
PathD2D.h
PathHelpers.cpp
PathHelpers.h Bug 1464032 Part 14: Refactor Path recording to record Arc properly. r=jrmuizel 2018-12-02 14:20:00 +00:00
PathRecording.cpp Bug 1575796: Pass the begin and current point from the wrapped PathBuilder in PathBuilderRecording::Finish. r=lsalzman 2019-09-05 18:09:24 +00:00
PathRecording.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
PathSkia.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
PathSkia.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
PatternHelpers.h
Point.h
Polygon.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
QuartzSupport.h
QuartzSupport.mm Bug 1573668 - Use CFTypeRefPtr for managing the IOSurfaceRef in MacIOSurface. r=mattwoodrow 2019-08-14 14:53:45 +00:00
Quaternion.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
Quaternion.h
RadialGradientEffectD2D1.cpp
RadialGradientEffectD2D1.h
RecordedEvent.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
RecordedEvent.h Bug 1600491 - Try not to crash if we fail to allocate memory in MemStream. r=bobowen 2019-12-16 08:13:06 +00:00
RecordedEventImpl.h Bug 1598582: Create a DataSourceSurface in RecordedSourceSurfaceCreation::PlayEvent. r=jrmuizel 2019-12-05 15:07:06 +00:00
RecordingTypes.h Bug 1570358: Check validity of enums before playing back Moz2D RecordedEvents. r=jrmuizel 2019-08-05 13:08:30 +00:00
Rect.h Bug 1610670 - Add AllPhysicalCorners() to support range-based for loops. r=mats 2020-02-04 03:28:35 +00:00
RectAbsolute.h
SFNTData.cpp
SFNTData.h
SFNTNameTable.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
SFNTNameTable.h
SIMD.h
SSEHelpers.h
SVGTurbulenceRenderer-inl.h Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj 2020-01-20 16:17:06 +00:00
Scale.cpp
Scale.h
ScaleFactor.h Bug 1603409 - add missing operator= definitions for gfx/2d classes; r=botond 2019-12-13 17:58:55 +00:00
ScaleFactors2D.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
ScaledFontBase.cpp Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
ScaledFontBase.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
ScaledFontDWrite.cpp Bug 1602317 - Switch WR bindings to use associated-constants-in-body. r=jrmuizel 2019-12-08 21:09:37 +00:00
ScaledFontDWrite.h Bug 1593970 - scale subpixel contribution based on ClearType level setting. r=jfkthame 2019-11-09 13:03:47 +00:00
ScaledFontFontconfig.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
ScaledFontFontconfig.h Bug 1583707 - enable text subpixel positioning on Android and Linux. r=jfkthame 2019-10-02 14:04:45 +00:00
ScaledFontFreeType.cpp Bug 1602317 - Switch WR bindings to use associated-constants-in-body. r=jrmuizel 2019-12-08 21:09:37 +00:00
ScaledFontFreeType.h Bug 1583707 - enable text subpixel positioning on Android and Linux. r=jfkthame 2019-10-02 14:04:45 +00:00
ScaledFontMac.cpp Bug 1602391 - Handle possible failure to get font table data in UnscaledFontMac. r=lsalzman 2019-12-09 19:03:17 +00:00
ScaledFontMac.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
ScaledFontWin.cpp Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
ScaledFontWin.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
ShadersD2D.fx
ShadersD2D.h Bug 1519636 - Ride along: remove trailing whitespaces r=Ehsan 2019-07-16 07:34:03 +00:00
ShadersD2D1.h Bug 1519636 - Ride along: remove trailing whitespaces r=Ehsan 2019-07-16 07:34:03 +00:00
ShadersD2D1.hlsl
SourceSurfaceCairo.cpp
SourceSurfaceCairo.h
SourceSurfaceCapture.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceCapture.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceD2D1.cpp
SourceSurfaceD2D1.h
SourceSurfaceDual.h
SourceSurfaceRawData.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceRawData.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceSkia.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
SourceSurfaceSkia.h
StackArray.h
Swizzle.cpp Bug 1439659 - Make |MOZ_{LITTLE,BIG}_ENDIAN| into function macros so that invoking them inside |#if| conditions when they haven't been defined yet is a compile error. r=froydnj 2019-12-13 20:51:04 +00:00
Swizzle.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-21 14:13:44 +00:00
SwizzleAVX2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
SwizzleNEON.cpp Bug 1610814 - Fix NEON compile error with gcc and RGB unpacking. r=lsalzman 2020-01-22 15:19:20 +00:00
SwizzleSSE2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
SwizzleSSSE3.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
Tools.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
Triangle.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
Types.h Bug 1614512 - Give mozilla::Side and mozilla::Corner a fixed underlying type. r=froydnj 2020-02-11 14:11:06 +00:00
UnscaledFontDWrite.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
UnscaledFontFreeType.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
UnscaledFontFreeType.h Bug 1547063 - Use FreeType metrics directly instead of querying Cairo. r=jfkthame 2019-09-16 17:15:10 +00:00
UnscaledFontGDI.h
UnscaledFontMac.h Bug 1584268 - only instantiate Cairo fonts when drawing to Cairo target. r=jfkthame 2019-10-01 21:56:30 +00:00
UserData.h
dw-extra.h
genshaders.sh
gfx2d.sln
gfx2d.vcxproj
moz.build Bug 1591996 - miscellaneous Gecko fixes for Skia m79 update. r=jrmuizel 2019-10-28 21:42:48 +00:00
ssse3-scaler.c
ssse3-scaler.h
u16string.h