[webkit-changes] [WebKit/WebKit] 912e5b: [WebGPU] CompositorIntegrationImpl should store We...

mwyrzykowski noreply at github.com
Fri Sep 29 22:55:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 912e5b85f7e31b14718f25987cb965789148a334
      https://github.com/WebKit/WebKit/commit/912e5b85f7e31b14718f25987cb965789148a334
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp
    M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.h

  Log Message:
  -----------
  [WebGPU] CompositorIntegrationImpl should store WebCore::IOSurface instances not IOSurfaceRef directly
https://bugs.webkit.org/show_bug.cgi?id=262397
<radar://116253806>

Reviewed by Dan Glastonbury.

Now that we are in WebCore and not PAL, we can use WebCore::IOSurface instead of IOSurfaceRef.

This will be used in a followup patch to support WebGPU in OffscreenCanvas.

* Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp:
(WebCore::WebGPU::CompositorIntegrationImpl::recreateRenderBuffers):
(WebCore::WebGPU::toCFNumber): Deleted.
* Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.h:

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




More information about the webkit-changes mailing list