haikuwebkit/Source/cmake/OptionsFTW.cmake

239 lines
11 KiB
CMake
Raw Permalink Normal View History

if (CMAKE_VERSION VERSION_LESS 3.14)
message(FATAL_ERROR "CMake 3.14 or greater is required to compile WebKitFTW")
endif ()
if (MSVC_VERSION VERSION_LESS 1920)
message(FATAL_ERROR "Visual Studio 2019 is required to compile WebKitFTW")
endif ()
if (${WTF_CPU_X86})
message(FATAL_ERROR "WebKitFTW does not support 32-bit builds")
endif ()
set(PORT FTW)
# Compilation options
include(OptionsMSVC)
add_definitions(-DWTF_PLATFORM_FTW=1)
# Prevent min() and max() macros from being exposed
add_definitions(-DNOMINMAX)
# Use unicode
add_definitions(-DUNICODE -D_UNICODE)
# If <winsock2.h> is not included before <windows.h> redefinition errors occur
# unless _WINSOCKAPI_ is defined before <windows.h> is included
add_definitions(-D_WINSOCKAPI_=)
# Setup library paths
if (DEFINED ENV{AppleApplicationSupportSDK})
file(TO_CMAKE_PATH "$ENV{AppleApplicationSupportSDK}/AppleInternal" WEBKIT_LIBRARIES_DIR)
set(WEBKIT_LIBRARIES_INCLUDE_DIR "${WEBKIT_LIBRARIES_DIR}/include")
include_directories(${WEBKIT_LIBRARIES_INCLUDE_DIR})
set(APPLE_BUILD 1)
endif ()
if (NOT WEBKIT_LIBRARIES_DIR)
if (DEFINED ENV{WEBKIT_LIBRARIES})
file(TO_CMAKE_PATH "$ENV{WEBKIT_LIBRARIES}" WEBKIT_LIBRARIES_DIR)
else ()
file(TO_CMAKE_PATH "${CMAKE_SOURCE_DIR}/WebKitLibraries/win" WEBKIT_LIBRARIES_DIR)
endif ()
endif ()
set(CMAKE_PREFIX_PATH ${WEBKIT_LIBRARIES_DIR})
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS OFF)
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS ON)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
set(WEBKIT_LIBRARIES_LINK_DIR "${WEBKIT_LIBRARIES_DIR}/lib64")
# FIXME: Remove ${WEBKIT_LIBRARIES_LINK_DIR} when find_library is used for everything
link_directories("${CMAKE_BINARY_DIR}/lib64" "${WEBKIT_LIBRARIES_LINK_DIR}")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib64)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib64)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin64)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
WEBKIT_OPTION_BEGIN()
# Features in the same state on WinCairo and AppleWin
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_3D_TRANSFORMS PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ATTACHMENT_ELEMENT PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CACHE_PARTITIONING PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CHANNEL_MESSAGING PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS3_TEXT PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_BOX_DECORATION_BREAK PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_CONIC_GRADIENTS PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_DEVICE_ADAPTATION PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_IMAGE_RESOLUTION PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_PAINTING_API PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_SELECTORS_LEVEL4 PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CURSOR_VISIBILITY PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DRAG_SUPPORT PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FILTERS_LEVEL_2 PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FTL_JIT PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FTPDIR PRIVATE ON)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FULLSCREEN_API PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GEOLOCATION PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INTERSECTION_OBSERVER PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MAC_GESTURE_EVENTS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MATHML PRIVATE ON)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_CONTROLS_SCRIPT PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MHTML PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MINIBROWSER PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MOUSE_CURSOR_SCALE PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETSCAPE_PLUGIN_API PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ORIENTATION_EVENTS PRIVATE OFF)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_OVERFLOW_SCROLLING_TOUCH PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PUBLIC_SUFFIX_LIST PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESIZE_OBSERVER PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOLUTION_MEDIA_QUERY PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SAMPLING_PROFILER PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPELLCHECK PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_SLIDER PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_UNIFIED_BUILDS PRIVATE ON)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIDEO PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBASSEMBLY PRIVATE OFF)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WIRELESS_PLAYBACK_TARGET PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_XSLT PRIVATE ON)
# Media things that should be on
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_AVF_CAPTIONS PRIVATE OFF)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_AUDIO PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LEGACY_ENCRYPTED_MEDIA PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_CAPTURE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_SOURCE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_STATISTICS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_STREAM PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIDEO_PRESENTATION_MODE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_RTC PRIVATE OFF)
# Payment things
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_APPLE_PAY PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PAYMENT_REQUEST PRIVATE OFF)
# WebGL
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL2 PRIVATE OFF)
# Off for now, but should be on
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_API_TESTS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_APPLICATION_MANIFEST PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ASYNC_SCROLLING PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CONTENT_EXTENSIONS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CONTENT_FILTERING PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_TYPED_OM PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DARK_MODE_CSS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DATACUE_VALUE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DATALIST_ELEMENT PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DEVICE_ORIENTATION PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DOWNLOAD_ATTRIBUTE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ENCRYPTED_MEDIA PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LAYOUT_FORMATTING_CONTEXT PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LETTERPRESS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LAYOUT_FORMATTING_CONTEXT PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LETTERPRESS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEMORY_SAMPLER PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_CACHE_STALE_WHILE_REVALIDATE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NOTIFICATIONS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_OVERFLOW_SCROLLING_TOUCH PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PDFKIT_PLUGIN PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_POINTER_LOCK PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOURCE_LOAD_STATISTICS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOURCE_USAGE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RUBBER_BANDING PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SANDBOX_EXTENSIONS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SERVER_PRECONNECT PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SERVICE_CONTROLS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SERVICE_WORKER PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHAREABLE_RESOURCE PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SMOOTH_SCROLLING PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SPEECH_SYNTHESIS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TELEPHONE_NUMBER_DETECTION PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TEXT_AUTOSIZING PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_USER_MESSAGE_HANDLERS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VARIATION_FONTS PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBDRIVER PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_AUTHN PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_CRYPTO PRIVATE OFF)
#WEBKIT_OPTION_DEFAULT_PORT_VALUE(USE_VERSION_STAMPER PRIVATE ON)
# Experimental features
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
#WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REMOTE_INSPECTOR PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REMOTE_INSPECTOR PRIVATE OFF)
#WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOURCE_USAGE PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_RESOURCE_USAGE PRIVATE OFF)
# Features to investigate
#
# Features that are temporarily turned off because an implementation is not
# present at this time
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FTL_JIT PRIVATE OFF)
# No support planned
# FIXME: Port bmalloc to Windows. https://bugs.webkit.org/show_bug.cgi?id=143310
WEBKIT_OPTION_DEFAULT_PORT_VALUE(USE_SYSTEM_MALLOC PRIVATE ON)
WEBKIT_OPTION_END()
if (APPLE_BUILD)
set(COREFOUNDATION_LIBRARY CoreFoundation${DEBUG_SUFFIX})
SET_AND_EXPOSE_TO_BUILD(USE_CF ON)
find_package(LibXml2 2.9.1 REQUIRED)
if (ENABLE_XSLT)
find_package(LibXslt 1.1.28 REQUIRED)
endif ()
else ()
find_package(LibXml2 2.9.7 REQUIRED)
if (ENABLE_XSLT)
find_package(LibXslt 1.1.32 REQUIRED)
endif ()
endif ()
find_package(CURL 7.60.0 REQUIRED)
Update minimum ICU version to 60.2 https://bugs.webkit.org/show_bug.cgi?id=209694 Reviewed by Darin Adler. .: * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: Indicate 60.2 as minimum version (as required by GTK for supporting Ubuntu 18.04 LTS). Also ensure that the C++ API is hidden for all platforms. Source/JavaScriptCore: * icu/LICENSE: Deleted. * icu/README: Deleted. Remove leftover files following r219155. * runtime/IntlDateTimeFormat.cpp: (JSC::IntlDateTimeFormat::UFieldPositionIteratorDeleter::operator() const): (JSC::IntlDateTimeFormat::partTypeString): (JSC::IntlDateTimeFormat::formatToParts): * runtime/IntlDateTimeFormat.h: * runtime/IntlDateTimeFormatPrototype.cpp: (JSC::IntlDateTimeFormatPrototype::finishCreation): (JSC::IntlDateTimeFormatPrototypeFuncFormatToParts): * runtime/IntlNumberFormat.cpp: (JSC::IntlNumberFormat::partTypeString): (JSC::IntlNumberFormat::formatToParts): * runtime/IntlNumberFormat.h: * runtime/IntlNumberFormatPrototype.cpp: (JSC::IntlNumberFormatPrototype::finishCreation): (JSC::IntlNumberFormatPrototypeFuncFormatToParts): * runtime/IntlPluralRules.cpp: (JSC::IntlPluralRules::resolvedOptions): (JSC::IntlPluralRules::select): * runtime/IntlPluralRules.h: * runtime/JSGlobalObjectFunctions.cpp: (JSC::decode): Remove obsoleted compile-time version checks. Source/WebCore: * PlatformMac.cmake: * WebCore.xcodeproj/project.pbxproj: * icu/LICENSE: Deleted. * icu/README: Deleted. Remove leftover files following r219155 as well as a corresponding Xcode step. * editing/cocoa/DataDetection.mm: (WebCore::buildQuery): * page/ios/FrameIOS.mm: (WebCore::Frame::interpretationsForCurrentRoot const): * platform/cocoa/KeyEventCocoa.mm: (WebCore::keyForCharCode): * platform/cocoa/TelephoneNumberDetectorCocoa.cpp: (WebCore::TelephoneNumberDetector::find): * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource): * platform/graphics/cocoa/FontCacheCoreText.cpp: (WebCore::createFontForCharacters): (WebCore::FontCache::prewarm): * platform/graphics/mac/ComplexTextControllerCoreText.mm: (WebCore::provideStringAndAttributes): * platform/graphics/mac/GlyphPageMac.cpp: (WebCore::GlyphPage::fill): Manually convert between UChar and UniChar/unichar where needed. * platform/text/CharacterProperties.h: (WebCore::isEmojiGroupCandidate): (WebCore::isEmojiWithPresentationByDefault): (WebCore::isEmojiModifierBase): (WebCore::icuLibraryUnderstandsSupplementalSymbolsAndPictographs): Deleted. Remove obsoleted compile-time and runtime version checks. Source/WebKit: * WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.mm: (-[WKDOMTextIterator currentTextPointer]): Manually convert between UChar and UniChar/unichar where needed. Source/WebKitLegacy/mac: * Misc/WebKitNSStringExtras.mm: (-[NSString _web_drawAtPoint:font:textColor:]): (-[NSString _web_widthWithFont:]): * WebCoreSupport/WebVisitedLinkStore.mm: (WebVisitedLinkStore::addVisitedLink): * WebView/WebTextIterator.mm: (-[WebTextIterator currentTextPointer]): Manually convert between UChar and UniChar/unichar where needed. Source/WTF: This patch has two immediate motivations: 1. To properly introduce a minimum ICU version for WebKit as a whole (responding to a pain point identified in bug 209579) 2. To support the development of ECMA-402 Intl API features, which JSC is quite behind on (and which often boil down to exposing ICU functionality to JavaScript) * icu/LICENSE: * icu/README: * icu/unicode/: Update ICU headers to major version 62, the version included in macOS Mojave. * wtf/text/AtomString.h: * wtf/text/WTFString.h: Remove obsoleted compile-time version checks. * wtf/text/cocoa/StringCocoa.mm: (WTF::String::String): * wtf/text/cocoa/StringViewCocoa.mm: (WTF::StringView::createNSString const): (WTF::StringView::createNSStringWithoutCopying const): Manually convert between UChar and UniChar/unichar where needed. Tools: * TestWebKitAPI/Tests/WTF/StringConcatenate.cpp: Remove obsoleted compile-time version checks. * DumpRenderTree/TestRunner.cpp: (TestRunner::runUIScript): * TestWebKitAPI/Tests/WebCore/LineBreaking.mm: (breakingLocationsFromICU): Manually convert between UChar and UniChar/unichar where needed. Canonical link: https://commits.webkit.org/222989@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-06 23:15:45 +00:00
find_package(ICU 60.2 REQUIRED COMPONENTS data i18n uc)
find_package(JPEG 1.5.2 REQUIRED)
find_package(OpenSSL 2.0.0 REQUIRED)
find_package(PNG 1.6.34 REQUIRED)
find_package(SQLite3 3.23.1 REQUIRED)
find_package(ZLIB 1.2.11 REQUIRED)
find_package(LibPSL 0.20.2 REQUIRED)
# FIXME: We should add the following, too.
# find_package(WebP REQUIRED COMPONENTS demux)
# if (WebP_FOUND)
# SET_AND_EXPOSE_TO_BUILD(USE_WEBP ON)
# endif ()
Rename GraphicsContext3D to GraphicsContextGL https://bugs.webkit.org/show_bug.cgi?id=205778 <rdar://problem/58327597> Reviewed by Ross Kirsling. .: Fix the build after r254064 on Windows and PlayStation. Add USE_OPENGL_ES_3 to Windows and WPE builds to simplify the Platform checks for GL functions available in OpenGL ES 3.0+. Expose additional USE macros for Windows builds to remove Platform.h entries around ENABLE(WEBGL). * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: Source/WebCore: Use ENABLE(GRAPHICS_CONTEXT_GL) instead of ENABLE(WEBGL) for relevant files. This was causing the build breakage. Move methods wrapping OpenGL[ES] 3.0+ functions into GraphicsContextGLOpenGLCommon.cpp and remove them from GraphicsContextGLTextureMapper.cpp. Add a check for OpenGL[ES] versions rather than depending on a particular platform. * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GraphicsContextGL.cpp: * platform/graphics/GraphicsContextGL.h: * platform/graphics/GraphicsContextGLAttributes.h: * platform/graphics/angle/GraphicsContextGLANGLE.cpp: * platform/graphics/opengl/GraphicsContextGLOpenGL.h: * platform/graphics/opengl/GraphicsContextGLOpenGLCommon.cpp: (WebCore::GraphicsContextGLOpenGL::mapBufferRange): (WebCore::GraphicsContextGLOpenGL::unmapBuffer): (WebCore::GraphicsContextGLOpenGL::copyBufferSubData): (WebCore::GraphicsContextGLOpenGL::getInternalformativ): (WebCore::GraphicsContextGLOpenGL::renderbufferStorageMultisample): (WebCore::GraphicsContextGLOpenGL::texStorage2D): (WebCore::GraphicsContextGLOpenGL::texStorage3D): (WebCore::GraphicsContextGLOpenGL::getActiveUniforms): * platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp: (WebCore::GraphicsContextGLOpenGL::mapBufferRange): Deleted. (WebCore::GraphicsContextGLOpenGL::unmapBuffer): Deleted. (WebCore::GraphicsContextGLOpenGL::copyBufferSubData): Deleted. (WebCore::GraphicsContextGLOpenGL::getInternalformativ): Deleted. (WebCore::GraphicsContextGLOpenGL::renderbufferStorageMultisample): Deleted. (WebCore::GraphicsContextGLOpenGL::texStorage2D): Deleted. (WebCore::GraphicsContextGLOpenGL::texStorage3D): Deleted. (WebCore::GraphicsContextGLOpenGL::getActiveUniforms): Deleted. Source/WTF: Define USE_OPENGL_3 for Mac and USE_OPENGL_ES_3 for iOS. Use CMake config for Windows and WebGL. * wtf/Platform.h: Canonical link: https://commits.webkit.org/218971@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-07 02:52:26 +00:00
set(USE_ANGLE_EGL ON)
SET_AND_EXPOSE_TO_BUILD(USE_CURL ON)
SET_AND_EXPOSE_TO_BUILD(USE_DIRECT2D ON)
Rename GraphicsContext3D to GraphicsContextGL https://bugs.webkit.org/show_bug.cgi?id=205778 <rdar://problem/58327597> Reviewed by Ross Kirsling. .: Fix the build after r254064 on Windows and PlayStation. Add USE_OPENGL_ES_3 to Windows and WPE builds to simplify the Platform checks for GL functions available in OpenGL ES 3.0+. Expose additional USE macros for Windows builds to remove Platform.h entries around ENABLE(WEBGL). * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWinCairo.cmake: Source/WebCore: Use ENABLE(GRAPHICS_CONTEXT_GL) instead of ENABLE(WEBGL) for relevant files. This was causing the build breakage. Move methods wrapping OpenGL[ES] 3.0+ functions into GraphicsContextGLOpenGLCommon.cpp and remove them from GraphicsContextGLTextureMapper.cpp. Add a check for OpenGL[ES] versions rather than depending on a particular platform. * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GraphicsContextGL.cpp: * platform/graphics/GraphicsContextGL.h: * platform/graphics/GraphicsContextGLAttributes.h: * platform/graphics/angle/GraphicsContextGLANGLE.cpp: * platform/graphics/opengl/GraphicsContextGLOpenGL.h: * platform/graphics/opengl/GraphicsContextGLOpenGLCommon.cpp: (WebCore::GraphicsContextGLOpenGL::mapBufferRange): (WebCore::GraphicsContextGLOpenGL::unmapBuffer): (WebCore::GraphicsContextGLOpenGL::copyBufferSubData): (WebCore::GraphicsContextGLOpenGL::getInternalformativ): (WebCore::GraphicsContextGLOpenGL::renderbufferStorageMultisample): (WebCore::GraphicsContextGLOpenGL::texStorage2D): (WebCore::GraphicsContextGLOpenGL::texStorage3D): (WebCore::GraphicsContextGLOpenGL::getActiveUniforms): * platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp: (WebCore::GraphicsContextGLOpenGL::mapBufferRange): Deleted. (WebCore::GraphicsContextGLOpenGL::unmapBuffer): Deleted. (WebCore::GraphicsContextGLOpenGL::copyBufferSubData): Deleted. (WebCore::GraphicsContextGLOpenGL::getInternalformativ): Deleted. (WebCore::GraphicsContextGLOpenGL::renderbufferStorageMultisample): Deleted. (WebCore::GraphicsContextGLOpenGL::texStorage2D): Deleted. (WebCore::GraphicsContextGLOpenGL::texStorage3D): Deleted. (WebCore::GraphicsContextGLOpenGL::getActiveUniforms): Deleted. Source/WTF: Define USE_OPENGL_3 for Mac and USE_OPENGL_ES_3 for iOS. Use CMake config for Windows and WebGL. * wtf/Platform.h: Canonical link: https://commits.webkit.org/218971@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-07 02:52:26 +00:00
SET_AND_EXPOSE_TO_BUILD(USE_EGL ON)
SET_AND_EXPOSE_TO_BUILD(USE_OPENGL_ES ON)
SET_AND_EXPOSE_TO_BUILD(HAVE_OPENGL_ES_3 ON)
[OpenSSL] Add stubs and build for Web Crypto https://bugs.webkit.org/show_bug.cgi?id=206449 Reviewed by Jiewen Tan. .: Enable Web Crypto as an experiment for WinCairo and PlayStation. Add the USE_OPENSSL definition to platforms using OpenSSL. * Source/cmake/OptionsFTW.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/OptionsWinCairo.cmake: Source/WebCore: Add stubs for an OpenSSL implementation of Web Crypto. Add the associated CMake files for OpenSSL platforms and reference them on the platforms using OpenSSL. Tests will be enabled as functionality lands. * PlatformFTW.cmake: * PlatformPlayStation.cmake: * PlatformWinCairo.cmake: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * crypto/openssl/CryptoAlgorithmAES_CBCOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmAES_CBC::platformEncrypt): (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt): * crypto/openssl/CryptoAlgorithmAES_CFBOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmAES_CFB::platformEncrypt): (WebCore::CryptoAlgorithmAES_CFB::platformDecrypt): * crypto/openssl/CryptoAlgorithmAES_CTROpenSSL.cpp: Added. (WebCore::CryptoAlgorithmAES_CTR::platformEncrypt): (WebCore::CryptoAlgorithmAES_CTR::platformDecrypt): * crypto/openssl/CryptoAlgorithmAES_GCMOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmAES_GCM::platformEncrypt): (WebCore::CryptoAlgorithmAES_GCM::platformDecrypt): * crypto/openssl/CryptoAlgorithmAES_KWOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmAES_KW::platformWrapKey): (WebCore::CryptoAlgorithmAES_KW::platformUnwrapKey): * crypto/openssl/CryptoAlgorithmECDHOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmECDH::platformDeriveBits): * crypto/openssl/CryptoAlgorithmECDSAOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmECDSA::platformSign): (WebCore::CryptoAlgorithmECDSA::platformVerify): * crypto/openssl/CryptoAlgorithmHKDFOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmHKDF::platformDeriveBits): * crypto/openssl/CryptoAlgorithmHMACOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmHMAC::platformSign): (WebCore::CryptoAlgorithmHMAC::platformVerify): * crypto/openssl/CryptoAlgorithmPBKDF2OpenSSL.cpp: Added. (WebCore::CryptoAlgorithmPBKDF2::platformDeriveBits): * crypto/openssl/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp: Added. (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformEncrypt): (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt): * crypto/openssl/CryptoAlgorithmRSASSA_PKCS1_v1_5OpenSSL.cpp: Added. (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformSign): (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify): * crypto/openssl/CryptoAlgorithmRSA_OAEPOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmRSA_OAEP::platformEncrypt): (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt): * crypto/openssl/CryptoAlgorithmRSA_PSSOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmRSA_PSS::platformSign): (WebCore::CryptoAlgorithmRSA_PSS::platformVerify): * crypto/openssl/CryptoAlgorithmRegistryOpenSSL.cpp: Added. (WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms): * crypto/openssl/CryptoKeyECOpenSSL.cpp: Added. (WebCore::CryptoKeyEC::keySizeInBits const): (WebCore::CryptoKeyEC::platformSupportedCurve): (WebCore::CryptoKeyEC::platformGeneratePair): (WebCore::CryptoKeyEC::platformImportRaw): (WebCore::CryptoKeyEC::platformImportJWKPublic): (WebCore::CryptoKeyEC::platformImportJWKPrivate): (WebCore::CryptoKeyEC::platformImportSpki): (WebCore::CryptoKeyEC::platformImportPkcs8): (WebCore::CryptoKeyEC::platformExportRaw const): (WebCore::CryptoKeyEC::platformAddFieldElements const): (WebCore::CryptoKeyEC::platformExportSpki const): (WebCore::CryptoKeyEC::platformExportPkcs8 const): * crypto/openssl/CryptoKeyRSAOpenSSL.cpp: Added. (WebCore::CryptoKeyRSA::create): (WebCore::CryptoKeyRSA::isRestrictedToHash const): (WebCore::CryptoKeyRSA::keySizeInBits const): (WebCore::CryptoKeyRSA::generatePair): (WebCore::CryptoKeyRSA::importSpki): (WebCore::CryptoKeyRSA::importPkcs8): (WebCore::CryptoKeyRSA::exportSpki const): (WebCore::CryptoKeyRSA::exportPkcs8 const): (WebCore::CryptoKeyRSA::exportData const): * crypto/openssl/SerializedCryptoKeyWrapOpenSSL.cpp: Added. (WebCore::getDefaultWebCryptoMasterKey): (WebCore::wrapSerializedCryptoKey): (WebCore::unwrapSerializedCryptoKey): * platform/OpenSSL.cmake: Added. Canonical link: https://commits.webkit.org/219674@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-23 02:45:17 +00:00
SET_AND_EXPOSE_TO_BUILD(USE_OPENSSL ON)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER ON)
SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER_GL ON)
#SET_AND_EXPOSE_TO_BUILD(USE_INSPECTOR_SOCKET_SERVER ${ENABLE_REMOTE_INSPECTOR})
SET_AND_EXPOSE_TO_BUILD(USE_INSPECTOR_SOCKET_SERVER OFF)
set(WTF_LIBRARY_TYPE SHARED)
set(JavaScriptCore_LIBRARY_TYPE SHARED)
set(ENABLE_API_TESTS OFF)
set(ENABLE_WEBCORE ON)
[FTW] Get WebKit, WebKit2, and MiniBrowser building and executing https://bugs.webkit.org/show_bug.cgi?id=200539 .: <rdar://problem/54082550> Reviewed by Dean Jackson. * Source/cmake/OptionsFTW.cmake: Source/ThirdParty/ANGLE: Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. Source/WebCore: <rdar://problem/54082550> Reviewed by Dean Jackson. * platform/graphics/win/BackingStoreBackendDirect2D.h: (WebCore::BackingStoreBackendDirect2D::renderTarget const): (WebCore::BackingStoreBackendDirect2D::surface const): (): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: (WebCore::BackingStoreBackendDirect2DImpl::~BackingStoreBackendDirect2DImpl): (WebCore::BackingStoreBackendDirect2DImpl::scroll): (WebCore::createDirect2DImageSurfaceWithFastMalloc): Deleted. * platform/graphics/win/BackingStoreBackendDirect2DImpl.h: * platform/graphics/win/DIBPixelData.cpp: (WebCore::DIBPixelData::DIBPixelData): * platform/graphics/win/DIBPixelData.h: * platform/graphics/win/Direct2DOperations.cpp: (WebCore::Direct2D::fillRectWithRoundedHole): (WebCore::Direct2D::fillRectWithGradient): (WebCore::Direct2D::drawGlyphs): (WebCore::Direct2D::PlatformContextStateSaver::PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::~PlatformContextStateSaver): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::save): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::restore): Deleted. (WebCore::Direct2D::PlatformContextStateSaver::didSave const): Deleted. * platform/graphics/win/Direct2DOperations.h: * platform/graphics/win/Direct2DUtilities.cpp: (WebCore::Direct2D::bitmapSize): (WebCore::Direct2D::bitmapResolution): (WebCore::Direct2D::createWicBitmap): (WebCore::Direct2D::createBitmap): (WebCore::Direct2D::createGDIRenderTarget): (WebCore::Direct2D::copyRectFromOneSurfaceToAnother): * platform/graphics/win/Direct2DUtilities.h: * platform/graphics/win/GraphicsContextDirect2D.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::platformContext const): (WebCore::GraphicsContextPlatformPrivate::setAlpha): (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::releaseWindowsContext): (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate): (WebCore::GraphicsContextPlatformPrivate::beginDraw): (WebCore::GraphicsContextPlatformPrivate::endDraw): (WebCore::GraphicsContext::beginDraw): (WebCore::GraphicsContext::endDraw): (WebCore::GraphicsContext::setCTM): (WebCore::GraphicsContext::isAcceleratedContext const): * platform/graphics/win/GraphicsContextImplDirect2D.cpp: (WebCore::GraphicsContextImplDirect2D::fillRect): (WebCore::GraphicsContextImplDirect2D::fillRectWithRoundedHole): (WebCore::GraphicsContextImplDirect2D::drawGlyphs): * platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: (WebCore::GraphicsContextPlatformPrivate::platformContext): * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::transform): * platform/graphics/win/PlatformContextDirect2D.cpp: (WebCore::PlatformContextDirect2D::beginDraw): (WebCore::PlatformContextDirect2D::endDraw): * platform/graphics/win/PlatformContextDirect2D.h: (WebCore::PlatformContextStateSaver::PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::~PlatformContextStateSaver): (WebCore::PlatformContextStateSaver::save): (WebCore::PlatformContextStateSaver::restore): (WebCore::PlatformContextStateSaver::didSave const): Source/WebKit: <rdar://problem/54082550> Reviewed by Dean Jackson. * PlatformFTW.cmake: Added. * Shared/ShareableBitmap.h: * Shared/win/ShareableBitmapDirect2D.cpp: Added. * UIProcess/BackingStore.cpp: * UIProcess/BackingStore.h: (WebKit::BackingStore::renderTarget): * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: * UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * UIProcess/win/BackingStoreDirect2D.cpp: Added. * UIProcess/win/WebInspectorProxyWin.cpp: (WebKit::WebInspectorProxy::inspectorPageURL): (WebKit::WebInspectorProxy::inspectorTestPageURL): (WebKit::WebInspectorProxy::inspectorBaseURL): * UIProcess/win/WebView.cpp: (WebKit::WebView::paint): * UIProcess/win/WebView.h: * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::display): * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: (WebKit::WebInspectorUI::localizedStringsURL): (WebKit::RemoteWebInspectorUI::localizedStringsURL): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMainWin): Source/WebKitLegacy: <rdar://problem/54082550> Reviewed by Dean Jackson. * CMakeLists.txt: * PlatformFTW.cmake: Added. Source/WebKitLegacy/win: <rdar://problem/54082550> Reviewed by Dean Jackson. * AccessibleBase.cpp: (AccessibleBase::get_locale): * CFDictionaryPropertyBag.cpp: (ConvertCFTypeToVariant): (CFDictionaryPropertyBag::Read): (CFDictionaryPropertyBag::Write): * CFDictionaryPropertyBag.h: * COMPropertyBag.h: (HashType>::Read): (HashType>::GetPropertyInfo): * MarshallingHelpers.cpp: * MarshallingHelpers.h: * WebApplicationCache.cpp: * WebArchive.cpp: * WebArchive.h: * WebCache.cpp: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebDatabaseManager.cpp: * WebHistory.cpp: * WebHistoryItem.cpp: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitDLL.cpp: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebPreferences.cpp: * WebPreferences.h: * WebView.cpp: * WebView.h: Tools: <rdar://problem/54082550> Reviewed by Dean Jackson. * MiniBrowser/win/WebKitLegacyBrowserWindow.cpp: * PlatformFTW.cmake: Added. Canonical link: https://commits.webkit.org/214325@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-08 22:03:58 +00:00
set(ENABLE_WEBKIT ON)
set(ENABLE_WEBKIT_LEGACY ON)