Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for subpixel antialiasing and linear glyph mask backin…
…g store https://bugs.webkit.org/show_bug.cgi?id=247307 Reviewed by Simon Fraser. * Source/WTF/Scripts/Preferences/WebPreferencesDebug.yaml: * Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h: * Source/WebCore/platform/graphics/FontCascade.cpp: (WebCore::FontCascade::isSubpixelAntialiasingAvailable): Deleted. * Source/WebCore/platform/graphics/FontCascade.h: * Source/WebCore/platform/graphics/GraphicsLayer.cpp: (WebCore::GraphicsLayer::supportsLayerType): (WebCore::GraphicsLayer::GraphicsLayer): (WebCore::GraphicsLayer::dumpProperties const): (WebCore::GraphicsLayer::supportsSubpixelAntialiasedLayerText): Deleted. * Source/WebCore/platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::supportsSubpixelAntialiasedText const): Deleted. (WebCore::GraphicsLayer::setSupportsSubpixelAntialiasedText): Deleted. * Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): (WebCore::GraphicsLayerCA::layerChangeAsString): (WebCore::GraphicsLayerCA::changeLayerTypeTo): (WebCore::GraphicsLayer::supportsSubpixelAntialiasedLayerText): Deleted. (WebCore::GraphicsLayerCA::setSupportsSubpixelAntialiasedText): Deleted. (WebCore::GraphicsLayerCA::updateSupportsSubpixelAntialiasedText): Deleted. * Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h: * Source/WebCore/platform/graphics/ca/PlatformCALayer.cpp: (WebCore::PlatformCALayer::drawRepaintIndicator): * Source/WebCore/platform/graphics/ca/PlatformCALayer.h: * Source/WebCore/platform/graphics/ca/TileController.cpp: (WebCore::TileController::createTileLayer): (WebCore::TileController::setSupportsSubpixelAntialiasedText): Deleted. * Source/WebCore/platform/graphics/ca/TileController.h: * Source/WebCore/platform/graphics/ca/TileGrid.cpp: (WebCore::TileGrid::updateTileLayerProperties): * Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.h: * Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: (WebCore::layerContentsFormat): (WebCore::PlatformCALayerCocoa::updateContentsFormat): (WebCore::PlatformCALayer::drawLayerContents): (WebCore::PlatformCALayerCocoa::backingStoreBytesPerPixel const): (WebCore::PlatformCALayerCocoa::supportsSubpixelAntialiasedText const): Deleted. (WebCore::PlatformCALayerCocoa::setSupportsSubpixelAntialiasedText): Deleted. * Source/WebCore/platform/graphics/ca/cocoa/WebTiledBackingLayer.h: * Source/WebCore/platform/graphics/ca/cocoa/WebTiledBackingLayer.mm: (-[WebTiledBackingLayer setSupportsSubpixelAntialiasedText:]): Deleted. (-[WebTiledBackingLayer supportsSubpixelAntialiasedText]): Deleted. * Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp: (WebCore::FontCascade::isSubpixelAntialiasingAvailable): Deleted. * Source/WebCore/rendering/RenderLayer.cpp: (WebCore::RenderLayer::calculateClipRects const): * Source/WebCore/rendering/RenderLayer.h: (WebCore::RenderLayer::PaintedContentRequest::makeStatesUndetermined): (WebCore::RenderLayer::PaintedContentRequest::setHasPaintedContent): (WebCore::RenderLayer::PaintedContentRequest::needToDeterminePaintedContentState const): (WebCore::RenderLayer::PaintedContentRequest::probablyHasPaintedContent const): (WebCore::RenderLayer::PaintedContentRequest::isSatisfied const): (WebCore::RenderLayer::PaintedContentRequest::setHasSubpixelAntialiasedText): Deleted. (WebCore::RenderLayer::PaintedContentRequest::needToDetermineSubpixelAntialiasedTextState const): Deleted. (WebCore::RenderLayer::PaintedContentRequest::probablyHasSubpixelAntialiasedText const): Deleted. * Source/WebCore/rendering/RenderLayerBacking.cpp: (WebCore::PaintedContentsInfo::PaintedContentsInfo): (WebCore::PaintedContentsInfo::paintsContentDetermination): (WebCore::RenderLayerBacking::updateAfterDescendants): (WebCore::RenderLayerBacking::updateDrawsContent): (WebCore::RenderLayerBacking::paintsContent const): (WebCore::PaintedContentsInfo::setWantsSubpixelAntialiasedTextState): Deleted. (WebCore::PaintedContentsInfo::paintsSubpixelAntialiasedText): Deleted. (WebCore::PaintedContentsInfo::paintsSubpixelAntialiasedTextDetermination): Deleted. * Source/WebCore/rendering/RenderLayerBacking.h: * Source/WebCore/rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::logLayerInfo): * Source/WebKit/UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetSubpixelAntialiasedLayerTextEnabled): (WKPreferencesGetSubpixelAntialiasedLayerTextEnabled): * Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h: * Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm: (-[WKPreferences _subpixelAntialiasedLayerTextEnabled]): (-[WKPreferences _setSubpixelAntialiasedLayerTextEnabled:]): * Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp: (WebKit::PlatformCALayerRemote::supportsSubpixelAntialiasedText const): Deleted. (WebKit::PlatformCALayerRemote::setSupportsSubpixelAntialiasedText): Deleted. * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.cpp: (WebKit::PlatformCALayerRemoteTiledBacking::supportsSubpixelAntialiasedText const): Deleted. (WebKit::PlatformCALayerRemoteTiledBacking::setSupportsSubpixelAntialiasedText): Deleted. * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.h: * Source/WebKitLegacy/mac/WebView/WebPreferences.mm: (-[WebPreferences subpixelAntialiasedLayerTextEnabled]): (-[WebPreferences setSubpixelAntialiasedLayerTextEnabled:]): * Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h: * Tools/DumpRenderTree/TestOptions.cpp: (WTR::TestOptions::defaults): * Tools/MiniBrowser/mac/SettingsController.h: * Tools/MiniBrowser/mac/SettingsController.m: (-[SettingsController initWithMenu:]): (-[SettingsController _populateMenu]): (-[SettingsController validateMenuItem:]): (-[SettingsController toggleSubpixelAntialiasedLayerTextEnabled:]): Deleted. (-[SettingsController subpixelAntialiasedLayerTextEnabled]): Deleted. * Tools/MiniBrowser/mac/WK1BrowserWindowController.m: (-[WK1BrowserWindowController didChangeSettings]): * Tools/MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController didChangeSettings]): * Tools/WebKitTestRunner/TestOptions.cpp: (WTR::TestOptions::defaults): Canonical link: https://commits.webkit.org/256201@main
- Loading branch information