[webkit-changes] [WebKit/WebKit] 797a2b: Remove support for subpixel antialiasing and linea...

Tim Horton noreply at github.com
Tue Nov 1 16:03:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 797a2b50500a5edd6aa25da98685c1b39a673621
      https://github.com/WebKit/WebKit/commit/797a2b50500a5edd6aa25da98685c1b39a673621
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    R LayoutTests/compositing/contents-format/subpixel-antialiased-nested-layer-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-nested-layer.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-configs-antialiasing-style-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-configs-antialiasing-style.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-configs-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-configs.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-enabled-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-enabled.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-expected.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-images-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-images.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-traversal-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-traversal.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-visibility-expected.txt
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text-visibility.html
    R LayoutTests/compositing/contents-format/subpixel-antialiased-text.html
    M LayoutTests/platform/glib/TestExpectations
    M LayoutTests/platform/gtk/TestExpectations
    R LayoutTests/platform/ios/compositing/contents-format/subpixel-antialiased-nested-layer-expected.txt
    R LayoutTests/platform/ios/compositing/contents-format/subpixel-antialiased-text-traversal-expected.txt
    R LayoutTests/platform/mac-wk1/compositing/contents-format/subpixel-antialiased-text-enabled-expected.txt
    R LayoutTests/platform/mac/compositing/contents-format/subpixel-antialiased-nested-layer-expected.txt
    M Source/WTF/Scripts/Preferences/WebPreferencesDebug.yaml
    M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
    M Source/WebCore/platform/graphics/FontCascade.cpp
    M Source/WebCore/platform/graphics/FontCascade.h
    M Source/WebCore/platform/graphics/GraphicsLayer.cpp
    M Source/WebCore/platform/graphics/GraphicsLayer.h
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h
    M Source/WebCore/platform/graphics/ca/PlatformCALayer.cpp
    M Source/WebCore/platform/graphics/ca/PlatformCALayer.h
    M Source/WebCore/platform/graphics/ca/TileController.cpp
    M Source/WebCore/platform/graphics/ca/TileController.h
    M Source/WebCore/platform/graphics/ca/TileGrid.cpp
    M Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.h
    M Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
    M Source/WebCore/platform/graphics/ca/cocoa/WebTiledBackingLayer.h
    M Source/WebCore/platform/graphics/ca/cocoa/WebTiledBackingLayer.mm
    M Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp
    M Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h
    M Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp
    M Source/WebCore/rendering/RenderLayer.cpp
    M Source/WebCore/rendering/RenderLayer.h
    M Source/WebCore/rendering/RenderLayerBacking.cpp
    M Source/WebCore/rendering/RenderLayerBacking.h
    M Source/WebCore/rendering/RenderLayerCompositor.cpp
    M Source/WebKit/UIProcess/API/C/WKPreferences.cpp
    M Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.cpp
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.h
    M Source/WebKitLegacy/mac/WebView/WebPreferences.mm
    M Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
    M Tools/DumpRenderTree/TestOptions.cpp
    M Tools/MiniBrowser/mac/SettingsController.h
    M Tools/MiniBrowser/mac/SettingsController.m
    M Tools/MiniBrowser/mac/WK1BrowserWindowController.m
    M Tools/MiniBrowser/mac/WK2BrowserWindowController.m
    M Tools/WebKitTestRunner/TestOptions.cpp

  Log Message:
  -----------
  Remove support for subpixel antialiasing and linear glyph mask backing 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




More information about the webkit-changes mailing list