[webkit-changes] [WebKit/WebKit] d3222e: Start porting graphics related WebCore objects to ...

Gavin noreply at github.com
Thu Dec 8 05:37:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d3222ec80fa20cc9e0fc3947acbecd2a75ae5c3d
      https://github.com/WebKit/WebKit/commit/d3222ec80fa20cc9e0fc3947acbecd2a75ae5c3d
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M Source/WebCore/platform/graphics/Gradient.h
    M Source/WebCore/platform/graphics/GraphicsContextGLAttributes.h
    M Source/WebCore/platform/graphics/Pattern.h
    M Source/WebCore/platform/graphics/SourceBrush.h
    M Source/WebCore/platform/graphics/displaylists/DisplayListItems.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Start porting graphics related WebCore objects to the new IPC serialization format
https://bugs.webkit.org/show_bug.cgi?id=248616
rdar://102869400

Reviewed by Alex Christensen.

Start moving some of the graphics related serializable types over to the
new CoreIPC serialization mechanism. This includes:
    - WebCore::Gradient::LinearData
    - WebCore::Gradient::RadialData
    - WebCore::Gradient::ConicData
    - WebCore::Gradient
    - WebCore::SourceBrush::LogicalGradient
    - WebCore::Pattern::Parameters
    - WebCore::Pattern
    - WebCore::SourceBrush::Brush
    - WebCore::SourceBrush
    - WebCore::GraphicsContextGLPowerPreference
    - WebCore::GraphicsContextGLWebGLVersion
    - WebCore::GraphicsContextGLAttributes

* Source/WebCore/platform/graphics/Gradient.h:
(WebCore::Gradient::colorInterpolationMethod const):
(WebCore::Gradient::LinearData::encode const): Deleted.
(WebCore::Gradient::LinearData::decode): Deleted.
(WebCore::Gradient::RadialData::encode const): Deleted.
(WebCore::Gradient::RadialData::decode): Deleted.
(WebCore::Gradient::ConicData::encode const): Deleted.
(WebCore::Gradient::ConicData::decode): Deleted.
(WebCore::Gradient::encode const): Deleted.
(WebCore::Gradient::decode): Deleted.
* Source/WebCore/platform/graphics/GraphicsContextGLAttributes.h:
(WebCore::GraphicsContextGLAttributes::effectivePowerPreference const):
(WebCore::GraphicsContextGLAttributes::encode const): Deleted.
(WebCore::GraphicsContextGLAttributes::decode): Deleted.
* Source/WebCore/platform/graphics/Pattern.h:
(WebCore::Pattern::Parameters::encode const): Deleted.
(WebCore::Pattern::Parameters::decode): Deleted.
(WebCore::Pattern::encode const): Deleted.
(WebCore::Pattern::decode): Deleted.
* Source/WebCore/platform/graphics/SourceBrush.cpp:
(WebCore::SourceBrush::gradientSpaceTransform const):
(WebCore::SourceBrush::gradient const):
(WebCore::SourceBrush::setGradient):
* Source/WebCore/platform/graphics/SourceBrush.h:
(WebCore::operator==):
(WebCore::operator!=):
(WebCore::SourceBrush::Brush::LogicalGradient::encode const): Deleted.
(WebCore::SourceBrush::Brush::LogicalGradient::decode): Deleted.
(WebCore::SourceBrush::Brush::encode const): Deleted.
(WebCore::SourceBrush::Brush::decode): Deleted.
(WebCore::SourceBrush::encode const): Deleted.
(WebCore::SourceBrush::decode): Deleted.
* Source/WebCore/platform/graphics/displaylists/DisplayListItems.h:
(WebCore::DisplayList::FillRectWithGradient::decode):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/257559@main




More information about the webkit-changes mailing list