mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Issue #80 - Re-unify most of gfx
This commit is contained in:
parent
42b9149fbc
commit
f801bd1847
9 changed files with 65 additions and 57 deletions
|
|
@ -62,7 +62,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit'):
|
|||
EXPORTS.mozilla.gfx += [
|
||||
'MacIOSurface.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'NativeFontResourceMac.cpp',
|
||||
'PathCG.cpp',
|
||||
'ScaledFontMac.cpp',
|
||||
|
|
@ -94,8 +94,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
|
|||
]
|
||||
|
||||
if CONFIG['MOZ_ENABLE_SKIA']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'convolver.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'DrawTargetSkia.cpp',
|
||||
'image_operations.cpp', # Uses _USE_MATH_DEFINES
|
||||
'PathSkia.cpp',
|
||||
|
|
@ -140,7 +142,7 @@ elif CONFIG['CPU_ARCH'].startswith('mips'):
|
|||
'convolverLS3.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'BezierUtils.cpp',
|
||||
'Blur.cpp',
|
||||
'DataSourceSurface.cpp',
|
||||
|
|
@ -153,7 +155,6 @@ SOURCES += [
|
|||
'DrawTargetDual.cpp',
|
||||
'DrawTargetRecording.cpp',
|
||||
'DrawTargetTiled.cpp',
|
||||
'Factory.cpp', # Need to suppress warnings in Skia header files.
|
||||
'FilterNodeSoftware.cpp',
|
||||
'FilterProcessing.cpp',
|
||||
'FilterProcessingScalar.cpp',
|
||||
|
|
@ -175,6 +176,10 @@ 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']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue