diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-13 10:10:59 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:53:34 +0000 |
commit | fa68aa6fd572fb92de7eafe9d253fc00a3f63ae1 (patch) | |
tree | cbdc8b4eb80d525ce4fe34cb590b0d4707b78033 /gfx | |
parent | 9f37161ec53bb2163ef85d16bcc69a6aa339a044 (diff) | |
download | UXP-fa68aa6fd572fb92de7eafe9d253fc00a3f63ae1.tar UXP-fa68aa6fd572fb92de7eafe9d253fc00a3f63ae1.tar.gz UXP-fa68aa6fd572fb92de7eafe9d253fc00a3f63ae1.tar.lz UXP-fa68aa6fd572fb92de7eafe9d253fc00a3f63ae1.tar.xz UXP-fa68aa6fd572fb92de7eafe9d253fc00a3f63ae1.zip |
Issue #80 - De-unify gfx/2d
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/2d/RecordedEvent.cpp | 1 | ||||
-rw-r--r-- | gfx/2d/moz.build | 19 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gfx/2d/RecordedEvent.cpp b/gfx/2d/RecordedEvent.cpp index 3bfc5c8f6..e6be60b59 100644 --- a/gfx/2d/RecordedEvent.cpp +++ b/gfx/2d/RecordedEvent.cpp @@ -7,6 +7,7 @@ #include "PathRecording.h" #include "RecordingTypes.h" +#include "DrawEventRecorder.h" #include "Tools.h" #include "Filters.h" #include "Logging.h" diff --git a/gfx/2d/moz.build b/gfx/2d/moz.build index ad095503d..c862f413f 100644 --- a/gfx/2d/moz.build +++ b/gfx/2d/moz.build @@ -63,7 +63,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit'): EXPORTS.mozilla.gfx += [ 'MacIOSurface.h', ] - UNIFIED_SOURCES += [ + SOURCES += [ 'NativeFontResourceMac.cpp', 'PathCG.cpp', 'ScaledFontMac.cpp', @@ -95,10 +95,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'): ] if CONFIG['MOZ_ENABLE_SKIA']: - UNIFIED_SOURCES += [ - 'convolver.cpp', - ] SOURCES += [ + 'convolver.cpp', 'DrawTargetSkia.cpp', 'image_operations.cpp', # Uses _USE_MATH_DEFINES 'PathSkia.cpp', @@ -143,11 +141,15 @@ elif CONFIG['CPU_ARCH'].startswith('mips'): 'convolverLS3.cpp', ] +# Won't build non-unified with a build error in iosfwd `strlen` (??) UNIFIED_SOURCES += [ - 'BezierUtils.cpp', - 'Blur.cpp', 'DataSourceSurface.cpp', 'DataSurfaceHelpers.cpp', +] + +SOURCES += [ + 'BezierUtils.cpp', + 'Blur.cpp', 'DrawEventRecorder.cpp', 'DrawingJob.cpp', 'DrawTarget.cpp', @@ -156,6 +158,7 @@ UNIFIED_SOURCES += [ 'DrawTargetDual.cpp', 'DrawTargetRecording.cpp', 'DrawTargetTiled.cpp', + 'Factory.cpp', # Need to suppress warnings in Skia header files. 'FilterNodeSoftware.cpp', 'FilterProcessing.cpp', 'FilterProcessingScalar.cpp', @@ -177,10 +180,6 @@ UNIFIED_SOURCES += [ 'SourceSurfaceRawData.cpp', ] -SOURCES += [ - 'Factory.cpp', # Need to suppress warnings in Skia header files. -] - if CONFIG['CLANG_CXX']: SOURCES['Factory.cpp'].flags += ['-Wno-implicit-fallthrough'] |