[webkit-changes] [WebKit/WebKit] ab4ed2: Make GraphicsContextState use generated serialization

Commit Queue noreply at github.com
Thu Oct 5 13:31:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab4ed2e78f90a5cf289cb1e49e7b7619c68e0c16
      https://github.com/WebKit/WebKit/commit/ab4ed2e78f90a5cf289cb1e49e7b7619c68e0c16
  Author: Pascoe <pascoe at apple.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/GraphicsContextState.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Make GraphicsContextState use generated serialization
https://bugs.webkit.org/show_bug.cgi?id=262656
rdar://116488200

Reviewed by Ryosuke Niwa.

This patch starts to use generated serialization for GrahpicsContextState instead
of manually specifying ::encode and ::decode. There may have been a performance optimization
in the previous manually written encode, decode. If this is still required, we should generate
this serializer and create an option to replicate the optimization later.

* Source/WebCore/platform/graphics/GraphicsContextState.h:
(WebCore::GraphicsContextState::encode const): Deleted.
(WebCore::GraphicsContextState::decode): Deleted.
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list