gecko-dev/gfx/2d
Andrew Osmond 91b071ed14 Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel
gfx::Color is currently misused in many places. The DrawTargets expect
the color space to be in device space, e.g. what we are actually going
to draw using. Everything sitting above generally deals with sRGB, as
specified in CSS. Sometimes we missed the conversion from sRGB to device
space when issuing draw calls, and similarly sometimes we converted the
color to device space twice.

This patch splits the type in two. sRGBColor and DeviceColor now
represent sRGB and device color spaces respectively. DrawTarget only
accepts DeviceColor, and one can get a DeviceColor from an sRGBColor via
the ToDeviceColor helper API. The reftests now pass with color
management enabled for everything (e.g. CSS) instead of just tagged
raster images.

There will be a follow up patch to enable color management everywhere by
default on all supported platforms.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:16:17 +00:00
..
unittest Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
2D.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
AutoHelpersWin.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BaseCoord.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
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 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BasePoint3D.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BasePoint4D.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BaseRect.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BaseSize.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BezierUtils.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BezierUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BigEndianInts.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Blur.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
Blur.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
BlurLS3.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BlurNEON.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BlurSSE2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
BorrowedContext.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BufferEdgePad.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
BufferEdgePad.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BufferUnrotate.cpp Bug 1528881 - Part 4: gfx/2d: Make some global functions static. r=lsalzman 2019-02-16 18:08:30 -08:00
BufferUnrotate.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CGTextDrawing.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
CaptureCommandList.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
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 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
ConvolutionFilter.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
Coord.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CriticalSection.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
DataSourceSurface.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
DataSourceSurfaceWrapper.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
DataSurfaceHelpers.cpp Bug 1522310. Use GetRect() instead of IntRect(IntPoint(), GetSize()) in Filters code. r=mstange 2019-01-25 23:03:16 +00:00
DataSurfaceHelpers.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
DrawCommand.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
DrawCommands.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawEventRecorder.cpp Bug 1580511: Check size is allowed in DrawTargetRecording::CreateSourceSurfaceFromData. r=jrmuizel 2019-10-07 14:38:06 +00:00
DrawEventRecorder.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
DrawTarget.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
DrawTargetCairo.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetCairo.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetCapture.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetCapture.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetD2D1.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetD2D1.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetDual.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetDual.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetOffset.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
DrawTargetOffset.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetRecording.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetRecording.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetSkia.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetSkia.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetTiled.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
DrawTargetTiled.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetWrapAndRecord.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawTargetWrapAndRecord.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
DrawingJob.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
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 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Factory.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FilterNodeCapture.cpp Bug 1429613 - Variant matcher callbacks renamed from `match` to `operator()` - r=froydnj 2019-04-02 11:53:47 +00:00
FilterNodeCapture.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FilterNodeD2D1.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FilterNodeD2D1.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FilterNodeSoftware.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FilterNodeSoftware.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FilterProcessing.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FilterProcessing.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FilterProcessingSIMD-inl.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FilterProcessingSSE2.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
FilterProcessingScalar.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Filters.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
FontVariation.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GenericRefCounted.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
GradientStopsD2D.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
Helpers.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
HelpersCairo.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
HelpersD2D.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
HelpersSkia.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
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 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +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 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
JobScheduler.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
JobScheduler_posix.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
JobScheduler_posix.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
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 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
Logging.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
LoggingConstants.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
LuminanceNEON.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
LuminanceNEON.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
MMIHelpers.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
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 Bug 1532375 - Implement Matrix4x4Double and QuaternionDouble r=lsalzman 2019-03-19 17:19:47 +00:00
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 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
NativeFontResourceFreeType.h Bug 1547063 - add SharedFTFace abstraction of FT_Face. r=jfkthame 2019-09-16 17:03:04 +00:00
NativeFontResourceGDI.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
NativeFontResourceGDI.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
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 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Path.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
PathAnalysis.h Bug 1546894 - Keep track of current and begin points in path objects in case we'll create a builder from them. r=lsalzman 2019-06-05 09:55:46 +02:00
PathCairo.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
PathCairo.h Bug 1546894 - Keep track of current and begin points in path objects in case we'll create a builder from them. r=lsalzman 2019-06-05 09:55:46 +02:00
PathCapture.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
PathCapture.h Bug 1546894 - Keep track of current and begin points in path objects in case we'll create a builder from them. r=lsalzman 2019-06-05 09:55:46 +02:00
PathD2D.cpp Bug 1546894 - Keep track of current and begin points in path objects in case we'll create a builder from them. r=lsalzman 2019-06-05 09:55:46 +02:00
PathD2D.h Bug 1546894 - Keep track of current and begin points in path objects in case we'll create a builder from them. r=lsalzman 2019-06-05 09:55:46 +02:00
PathHelpers.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PathHelpers.h Bug 1613985 - Fix bustage on PathHelpers.h. r=fix CLOSED TREE 2020-03-04 18:36:20 +02: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 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +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 Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
Point.h Bug 1518584 - Add WithinEpsilonOf() functions to RectTyped and MarginTyped. r=kats 2019-01-09 15:37:52 +00:00
Polygon.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
QuartzSupport.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
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 Bug 1616386 - Fix Quaternion copy constructor r=lsalzman 2020-02-18 21:37:21 +00:00
RadialGradientEffectD2D1.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
RadialGradientEffectD2D1.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
RecordedEvent.cpp Bug 1577910 - Remove using namespace std from gfx/2d r=nical 2019-09-01 18:32:06 +00:00
RecordedEvent.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
RecordedEventImpl.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 Bug 1496194 - Add a RectAbsolute implementation for MoveInsideAndClamp. r=botond 2018-12-21 22:31:55 +00:00
SFNTData.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SFNTData.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
SFNTNameTable.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
SFNTNameTable.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
SIMD.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SSEHelpers.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
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 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
Scale.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
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 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
ScaledFontMac.h Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SourceSurfaceCairo.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
SourceSurfaceCapture.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
SourceSurfaceCapture.h Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceD2D1.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
SourceSurfaceD2D1.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
SourceSurfaceDual.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
SourceSurfaceRawData.cpp Bug 1612589 - Improve image memory reporting even further. r=tnikkel 2020-02-05 22:22:13 +00:00
SourceSurfaceRawData.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
SourceSurfaceSkia.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
SourceSurfaceSkia.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
StackArray.h Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel 2019-04-11 12:36:51 +00:00
Swizzle.cpp Bug 1616030 - Fix SwizzleRow for big endian systems. r=lsalzman 2020-03-06 20:04:18 +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 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +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 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
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 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
dw-extra.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
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 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ssse3-scaler.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
u16string.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00