[webkit-changes] [WebKit/WebKit] 16aa19: IPC spends time sending PrepareBuffersForDisplay a...

Kimmo Kinnunen noreply at github.com
Wed Jun 28 05:35:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 16aa19f9ac3198a965215c354e40b4da5a8b7fb5
      https://github.com/WebKit/WebKit/commit/16aa19f9ac3198a965215c354e40b4da5a8b7fb5
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.messages.in
    M Source/WebKit/WebProcess/GPU/graphics/BufferIdentifierSet.serialization.in
    M Source/WebKit/WebProcess/GPU/graphics/PrepareBackingStoreBuffersData.serialization.in

  Log Message:
  -----------
  IPC spends time sending PrepareBuffersForDisplay as out of stream message
https://bugs.webkit.org/show_bug.cgi?id=258564
rdar://problem/111438642

Reviewed by Simon Fraser.

Send PrepareBuffersForDisplay as stream message, it has only trivial
data parameters. The reply has MachSendRights, which cannot be
transferred through the stream.

Appears to improve MM images from 69 to 73 pts on iMac Pro.

* Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.messages.in:
* Source/WebKit/WebProcess/GPU/graphics/BufferIdentifierSet.serialization.in:
* Source/WebKit/WebProcess/GPU/graphics/PrepareBackingStoreBuffersData.serialization.in:

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




More information about the webkit-changes mailing list