Skip to content
Permalink
Browse files
.:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

* Source/cmake/OptionsFTW.cmake: Removed.

Source/JavaScriptCore:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformFTW.cmake: Removed.

Source/ThirdParty/ANGLE:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformFTW.cmake: Removed.

Source/WebCore:
Remove support for Direct2D / FTW
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformAppleWin.cmake:
* PlatformFTW.cmake: Removed.
* PlatformWin.cmake:
* page/CaptionUserPreferencesMediaAF.cpp:
* page/CaptionUserPreferencesMediaAF.h:
* page/win/FrameWinDirect2D.cpp: Removed.
* platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::createMIMETypeRegistryThreadGlobalData):
* platform/graphics/BifurcatedGraphicsContext.cpp:
* platform/graphics/BifurcatedGraphicsContext.h:
* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::frameImageAtIndexCacheIfNeeded):
(WebCore::BitmapImage::nativeImage):
(WebCore::BitmapImage::nativeImageForCurrentFrame):
(WebCore::BitmapImage::preTransformedNativeImageForCurrentFrame):
(WebCore::BitmapImage::nativeImageOfSize):
(WebCore::BitmapImage::draw):
* platform/graphics/BitmapImage.h:
* platform/graphics/Font.h:
* platform/graphics/FontPlatformData.h:
(WebCore::FontPlatformData::dwFont const): Deleted.
(WebCore::FontPlatformData::dwFontFace const): Deleted.
* platform/graphics/Gradient.h:
* platform/graphics/GraphicsContext.h:
* platform/graphics/Image.h:
(WebCore::Image::nativeImage):
(WebCore::Image::nativeImageForCurrentFrame):
(WebCore::Image::preTransformedNativeImageForCurrentFrame):
(WebCore::Image::nativeImageOfSize):
* platform/graphics/ImageDecoder.cpp:
(WebCore::ImageDecoder::create):
(WebCore::ImageDecoder::supportsMediaType):
* platform/graphics/ImageDecoder.h:
* platform/graphics/ImageSource.cpp:
(WebCore::ImageSource::setTargetContext): Deleted.
* platform/graphics/ImageSource.h:
* platform/graphics/NullGraphicsContext.h:
* platform/graphics/Path.cpp:
(WebCore::Path::length const):
(WebCore::Path::addRoundedRect):
* platform/graphics/Path.h:
* platform/graphics/Pattern.h:
* platform/graphics/PlatformImage.h:
* platform/graphics/PlatformImageBuffer.h:
* platform/graphics/PlatformImageBufferBackend.h:
* platform/graphics/avfoundation/cf/CDMSessionAVFoundationCF.cpp:
(WebCore::CDMSessionAVFoundationCF::generateKeyRequest):
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::MediaPlayerPrivateAVFoundationCF::paint):
* platform/graphics/cg/PDFDocumentImage.cpp:
(WebCore::PDFDocumentImage::drawPDFPage):
* platform/graphics/displaylists/DisplayListRecorder.h:
* platform/graphics/opentype/OpenTypeMathData.cpp:
(WebCore::OpenTypeMathData::OpenTypeMathData):
* platform/graphics/opentype/OpenTypeUtilities.cpp:
(WebCore::renameAndActivateFont):
* platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::updateContents):
* platform/graphics/texmap/BitmapTextureGL.cpp:
(WebCore::BitmapTextureGL::updateContents):
* platform/graphics/win/BackingStoreBackendDirect2D.h: Removed.
* platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: Removed.
* platform/graphics/win/BackingStoreBackendDirect2DImpl.h: Removed.
* platform/graphics/win/ColorDirect2D.cpp: Removed.
* platform/graphics/win/ComplexTextControllerDirectWrite.cpp: Removed.
* platform/graphics/win/ComplexTextControllerUniscribe.cpp:
* platform/graphics/win/Direct2DOperations.cpp: Removed.
* platform/graphics/win/Direct2DOperations.h: Removed.
* platform/graphics/win/Direct2DUtilities.cpp: Removed.
* platform/graphics/win/Direct2DUtilities.h: Removed.
* platform/graphics/win/DirectWriteUtilities.cpp: Removed.
* platform/graphics/win/DirectWriteUtilities.h: Removed.
* platform/graphics/win/FloatPointDirect2D.cpp: Removed.
* platform/graphics/win/FloatRectDirect2D.cpp: Removed.
* platform/graphics/win/FloatSizeDirect2D.cpp: Removed.
* platform/graphics/win/FontCascadeDirect2D.cpp: Removed.
* platform/graphics/win/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
* platform/graphics/win/FontPlatformDataDirect2D.cpp: Removed.
* platform/graphics/win/GlyphPageTreeNodeDirect2D.cpp: Removed.
* platform/graphics/win/GradientDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsContextDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsContextGLDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: Removed.
* platform/graphics/win/GraphicsContextWin.cpp:
* platform/graphics/win/GraphicsContextWin.h:
* platform/graphics/win/GraphicsLayerDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsLayerDirect2D.h: Removed.
* platform/graphics/win/ImageBufferDirect2DBackend.cpp: Removed.
* platform/graphics/win/ImageBufferDirect2DBackend.h: Removed.
* platform/graphics/win/ImageDecoderDirect2D.cpp: Removed.
* platform/graphics/win/ImageDecoderDirect2D.h: Removed.
* platform/graphics/win/ImageDirect2D.cpp: Removed.
* platform/graphics/win/NativeImageDirect2D.cpp: Removed.
* platform/graphics/win/PathDirect2D.cpp: Removed.
* platform/graphics/win/PatternDirect2D.cpp: Removed.
* platform/graphics/win/PlatformContextDirect2D.cpp: Removed.
* platform/graphics/win/PlatformContextDirect2D.h: Removed.
* platform/graphics/win/SimpleFontDataDirect2D.cpp: Removed.
* platform/graphics/win/TextAnalyzerHelper.cpp: Removed.
* platform/graphics/win/TextAnalyzerHelper.h: Removed.
* platform/graphics/win/TransformationMatrixDirect2D.cpp: Removed.
* platform/win/DragImageDirect2D.cpp: Removed.
* rendering/RenderLayerFilters.cpp:
(WebCore::RenderLayerFilters::allocateBackingStoreIfNeeded):
(WebCore::RenderLayerFilters::beginFilterEffect):
* rendering/RenderLayerFilters.h:
* rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
* rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::applyResource):
* rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::createImageBuffer):
* rendering/svg/SVGRenderingContext.h:
* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::nativeImageForCurrentFrame):
(WebCore::SVGImage::nativeImage):
* svg/graphics/SVGImage.h:
* svg/graphics/SVGImageForContainer.cpp:
(WebCore::SVGImageForContainer::nativeImageForCurrentFrame):
* svg/graphics/SVGImageForContainer.h:

Source/WebCore/PAL:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* pal/PlatformFTW.cmake: Removed.

Source/WebKit:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformFTW.cmake: Removed.
* Shared/ShareableBitmap.cpp:
(WebKit::ShareableBitmap::Configuration::encode const):
(WebKit::ShareableBitmap::Configuration::decode):
(WebKit::ShareableBitmap::ShareableBitmap):
(WebKit::ShareableBitmap::~ShareableBitmap):
(WebKit::ShareableBitmap::numBytesForSize):
* Shared/ShareableBitmap.h:
(WebKit::ShareableBitmap::createPlatformImage):
(WebKit::ShareableBitmap::dxSurface): Deleted.
* Shared/win/ShareableBitmapDirect2D.cpp: Removed.
* UIProcess/BackingStore.cpp:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* UIProcess/win/BackingStoreDirect2D.cpp: Removed.
* UIProcess/win/WebPageProxyWin.cpp:
(WebKit::WebPageProxy::device const): Deleted.
(WebKit::WebPageProxy::setDevice): Deleted.
* UIProcess/win/WebPopupMenuProxyWin.cpp:
(WebKit::WebPopupMenuProxyWin::showPopupMenu):
(WebKit::WebPopupMenuProxyWin::paint):
(WebKit::WebPopupMenuProxyWin::setupSwapChain): Deleted.
(WebKit::WebPopupMenuProxyWin::configureBackingStore): Deleted.
* UIProcess/win/WebPopupMenuProxyWin.h:
* UIProcess/win/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::onSizeEvent):
(WebKit::WebView::setupSwapChain): Deleted.
(WebKit::WebView::configureBackingStore): Deleted.
* UIProcess/win/WebView.h:
(WebKit::WebView::d3dDevice const): Deleted.
(WebKit::WebView::d3dImmediateContext const): Deleted.
* WebProcess/WebCoreSupport/WebPopupMenu.cpp:
(WebKit::WebPopupMenu::show):
* WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::display):
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::getImageForFindMatch):

Source/WebKitLegacy:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformFTW.cmake: Removed.

Source/WebKitLegacy/win:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* WebView.cpp:
(WebView::deleteBackingStore):
(WebView::ensureBackingStore):
(WebView::scrollBackingStore):
(WebView::sizeChanged):
(WebView::updateBackingStore):
(WebView::paint):
(WebView::paintIntoBackingStore):
(WebView::WebViewWndProc):
(WebView::notifyPreferencesChanged):
(WebView::paintWithDirect2D): Deleted.
* WebView.h:

Source/WTF:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

* wtf/PlatformFTW.cmake: Removed.

Tools:
Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* DumpRenderTree/PixelDumpSupport.cpp:
* DumpRenderTree/PlatformWin.cmake:
* DumpRenderTree/win/PixelDumpSupportDirect2D.cpp: Removed.
* DumpRenderTree/win/PixelDumpSupportDirect2D.h: Removed.
* DumpRenderTree/win/PixelDumpSupportWin.cpp:
(createBitmapContextFromWebView):
* PlatformFTW.cmake: Removed.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::dumpDOMAsWebArchive):
* WebKitTestRunner/PlatformFTW.cmake: Removed.
* WebKitTestRunner/PlatformWebView.h:
* WebKitTestRunner/win/PlatformWebViewWin.cpp:
* WebKitTestRunner/win/TestInvocationDirect2D.cpp: Removed.



Canonical link: https://commits.webkit.org/245881@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
weinig committed Jan 10, 2022
1 parent 43f3ab5 commit bf7f7603ec053523aa694451978e03b3c812e854
Showing 153 changed files with 466 additions and 11,005 deletions.
@@ -1,3 +1,12 @@
2022-01-09 Sam Weinig <weinig@apple.com>

Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

* Source/cmake/OptionsFTW.cmake: Removed.

2022-01-07 Alex Christensen <achristensen@webkit.org>

Unreviewed, reverting r287698.
@@ -1,3 +1,15 @@
2022-01-09 Sam Weinig <weinig@apple.com>

Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformFTW.cmake: Removed.

2022-01-07 Saam Barati <sbarati@apple.com>

Unreviewed. Appease an assertion that was broken by r287801 by slightly

This file was deleted.

@@ -1,3 +1,15 @@
2022-01-09 Sam Weinig <weinig@apple.com>

Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformFTW.cmake: Removed.

2022-01-07 Alex Christensen <achristensen@webkit.org>

Unreviewed, reverting r287698.

This file was deleted.

@@ -1,3 +1,12 @@
2022-01-09 Sam Weinig <weinig@apple.com>

Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

* wtf/PlatformFTW.cmake: Removed.

2022-01-09 Sam Weinig <weinig@apple.com>

Add helpers to access CoreGraphics color spaces more easily in generic contexts

This file was deleted.

@@ -1,3 +1,135 @@
2022-01-09 Sam Weinig <weinig@apple.com>

Remove support for Direct2D / FTW
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* PlatformAppleWin.cmake:
* PlatformFTW.cmake: Removed.
* PlatformWin.cmake:
* page/CaptionUserPreferencesMediaAF.cpp:
* page/CaptionUserPreferencesMediaAF.h:
* page/win/FrameWinDirect2D.cpp: Removed.
* platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::createMIMETypeRegistryThreadGlobalData):
* platform/graphics/BifurcatedGraphicsContext.cpp:
* platform/graphics/BifurcatedGraphicsContext.h:
* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::frameImageAtIndexCacheIfNeeded):
(WebCore::BitmapImage::nativeImage):
(WebCore::BitmapImage::nativeImageForCurrentFrame):
(WebCore::BitmapImage::preTransformedNativeImageForCurrentFrame):
(WebCore::BitmapImage::nativeImageOfSize):
(WebCore::BitmapImage::draw):
* platform/graphics/BitmapImage.h:
* platform/graphics/Font.h:
* platform/graphics/FontPlatformData.h:
(WebCore::FontPlatformData::dwFont const): Deleted.
(WebCore::FontPlatformData::dwFontFace const): Deleted.
* platform/graphics/Gradient.h:
* platform/graphics/GraphicsContext.h:
* platform/graphics/Image.h:
(WebCore::Image::nativeImage):
(WebCore::Image::nativeImageForCurrentFrame):
(WebCore::Image::preTransformedNativeImageForCurrentFrame):
(WebCore::Image::nativeImageOfSize):
* platform/graphics/ImageDecoder.cpp:
(WebCore::ImageDecoder::create):
(WebCore::ImageDecoder::supportsMediaType):
* platform/graphics/ImageDecoder.h:
* platform/graphics/ImageSource.cpp:
(WebCore::ImageSource::setTargetContext): Deleted.
* platform/graphics/ImageSource.h:
* platform/graphics/NullGraphicsContext.h:
* platform/graphics/Path.cpp:
(WebCore::Path::length const):
(WebCore::Path::addRoundedRect):
* platform/graphics/Path.h:
* platform/graphics/Pattern.h:
* platform/graphics/PlatformImage.h:
* platform/graphics/PlatformImageBuffer.h:
* platform/graphics/PlatformImageBufferBackend.h:
* platform/graphics/avfoundation/cf/CDMSessionAVFoundationCF.cpp:
(WebCore::CDMSessionAVFoundationCF::generateKeyRequest):
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::MediaPlayerPrivateAVFoundationCF::paint):
* platform/graphics/cg/PDFDocumentImage.cpp:
(WebCore::PDFDocumentImage::drawPDFPage):
* platform/graphics/displaylists/DisplayListRecorder.h:
* platform/graphics/opentype/OpenTypeMathData.cpp:
(WebCore::OpenTypeMathData::OpenTypeMathData):
* platform/graphics/opentype/OpenTypeUtilities.cpp:
(WebCore::renameAndActivateFont):
* platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::updateContents):
* platform/graphics/texmap/BitmapTextureGL.cpp:
(WebCore::BitmapTextureGL::updateContents):
* platform/graphics/win/BackingStoreBackendDirect2D.h: Removed.
* platform/graphics/win/BackingStoreBackendDirect2DImpl.cpp: Removed.
* platform/graphics/win/BackingStoreBackendDirect2DImpl.h: Removed.
* platform/graphics/win/ColorDirect2D.cpp: Removed.
* platform/graphics/win/ComplexTextControllerDirectWrite.cpp: Removed.
* platform/graphics/win/ComplexTextControllerUniscribe.cpp:
* platform/graphics/win/Direct2DOperations.cpp: Removed.
* platform/graphics/win/Direct2DOperations.h: Removed.
* platform/graphics/win/Direct2DUtilities.cpp: Removed.
* platform/graphics/win/Direct2DUtilities.h: Removed.
* platform/graphics/win/DirectWriteUtilities.cpp: Removed.
* platform/graphics/win/DirectWriteUtilities.h: Removed.
* platform/graphics/win/FloatPointDirect2D.cpp: Removed.
* platform/graphics/win/FloatRectDirect2D.cpp: Removed.
* platform/graphics/win/FloatSizeDirect2D.cpp: Removed.
* platform/graphics/win/FontCascadeDirect2D.cpp: Removed.
* platform/graphics/win/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
* platform/graphics/win/FontPlatformDataDirect2D.cpp: Removed.
* platform/graphics/win/GlyphPageTreeNodeDirect2D.cpp: Removed.
* platform/graphics/win/GradientDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsContextDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsContextGLDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsContextPlatformPrivateDirect2D.h: Removed.
* platform/graphics/win/GraphicsContextWin.cpp:
* platform/graphics/win/GraphicsContextWin.h:
* platform/graphics/win/GraphicsLayerDirect2D.cpp: Removed.
* platform/graphics/win/GraphicsLayerDirect2D.h: Removed.
* platform/graphics/win/ImageBufferDirect2DBackend.cpp: Removed.
* platform/graphics/win/ImageBufferDirect2DBackend.h: Removed.
* platform/graphics/win/ImageDecoderDirect2D.cpp: Removed.
* platform/graphics/win/ImageDecoderDirect2D.h: Removed.
* platform/graphics/win/ImageDirect2D.cpp: Removed.
* platform/graphics/win/NativeImageDirect2D.cpp: Removed.
* platform/graphics/win/PathDirect2D.cpp: Removed.
* platform/graphics/win/PatternDirect2D.cpp: Removed.
* platform/graphics/win/PlatformContextDirect2D.cpp: Removed.
* platform/graphics/win/PlatformContextDirect2D.h: Removed.
* platform/graphics/win/SimpleFontDataDirect2D.cpp: Removed.
* platform/graphics/win/TextAnalyzerHelper.cpp: Removed.
* platform/graphics/win/TextAnalyzerHelper.h: Removed.
* platform/graphics/win/TransformationMatrixDirect2D.cpp: Removed.
* platform/win/DragImageDirect2D.cpp: Removed.
* rendering/RenderLayerFilters.cpp:
(WebCore::RenderLayerFilters::allocateBackingStoreIfNeeded):
(WebCore::RenderLayerFilters::beginFilterEffect):
* rendering/RenderLayerFilters.h:
* rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
* rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::applyResource):
* rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::createImageBuffer):
* rendering/svg/SVGRenderingContext.h:
* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::nativeImageForCurrentFrame):
(WebCore::SVGImage::nativeImage):
* svg/graphics/SVGImage.h:
* svg/graphics/SVGImageForContainer.cpp:
(WebCore::SVGImageForContainer::nativeImageForCurrentFrame):
* svg/graphics/SVGImageForContainer.h:

2022-01-09 Antoine Quint <graouts@webkit.org>

Style::Resolver::keyframeRulesForName() signature should be improved
@@ -1,3 +1,15 @@
2022-01-09 Sam Weinig <weinig@apple.com>

Remove support for Direct2D
https://bugs.webkit.org/show_bug.cgi?id=234999

Reviewed by Darin Adler.

Direct2D and FTW have not been building for over a year. It is
time to remove them.

* pal/PlatformFTW.cmake: Removed.

2022-01-07 Alex Christensen <achristensen@webkit.org>

Unreviewed, reverting r287698.

This file was deleted.

0 comments on commit bf7f760

Please sign in to comment.