Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c0d15da524b7053a4a21fc7b585c39d74e5a7bbd
      
https://github.com/WebKit/WebKit/commit/c0d15da524b7053a4a21fc7b585c39d74e5a7bbd
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/RenderBundleEncoder.mm

  Log Message:
  -----------
  [WebGPU] Attribute ICB memory to web process
https://bugs.webkit.org/show_bug.cgi?id=279005
rdar://135124540

Reviewed by Dan Glastonbury.

Use safeCreateBuffer() to ensure that memory is attributed to the calling web 
process.

* 
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp:
(WebCore::WebGPU::CompositorIntegrationImpl::recreateRenderBuffers):
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::Device::createExternalTextureFromPixelBuffer const):
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::setOwnerWithIdentity const):
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::PresentationContextIOSurface::renderBuffersWereRecreated):
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::makeRenderBundleICBWithResources):
(WebGPU::RenderBundleEncoder::endCurrentICB):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to