[webkit-changes] [WebKit/WebKit] 4f3ee1: [WebGPU] Add an IOSurface::Name value for WebGPU c...

Ryan Reno noreply at github.com
Fri Sep 13 08:19:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f3ee145d5c788082f5c1ad43ad1223b536e7fff
      https://github.com/WebKit/WebKit/commit/4f3ee145d5c788082f5c1ad43ad1223b536e7fff
  Author: Ryan Reno <rreno at apple.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp
    M Source/WebCore/platform/graphics/cocoa/IOSurface.h
    M Source/WebCore/platform/graphics/cocoa/IOSurface.mm

  Log Message:
  -----------
  [WebGPU] Add an IOSurface::Name value for WebGPU canvas backing stores.
https://bugs.webkit.org/show_bug.cgi?id=279645
rdar://135934352

Reviewed by Mike Wyrzykowski and Dan Glastonbury.

WebGPU canvas backing IOSurfaces are given the default name "WebKit".
This patch adds a WebGPU canvas backing IOSurface::Name that we can use
to more easily identify WebGPU buffers in tools like IOSDebug.

* Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp:
(WebCore::WebGPU::CompositorIntegrationImpl::recreateRenderBuffers):
* Source/WebCore/platform/graphics/cocoa/IOSurface.h:
* Source/WebCore/platform/graphics/cocoa/IOSurface.mm:
(WebCore::surfaceNameToNSString):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list