[webkit-changes] [WebKit/WebKit] dbe12d: Override Metal cache path

Per Arne Vollan noreply at github.com
Thu Feb 29 13:40:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dbe12dc3a338c6418d8f2d2efa962026a86128da
      https://github.com/WebKit/WebKit/commit/dbe12dc3a338c6418d8f2d2efa962026a86128da
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/MetalSPI.h
    M Source/WebKit/GPUProcess/GPUProcessCreationParameters.h
    M Source/WebKit/GPUProcess/GPUProcessCreationParameters.serialization.in
    M Source/WebKit/GPUProcess/cocoa/GPUProcessCocoa.mm
    M Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp

  Log Message:
  -----------
  Override Metal cache path
https://bugs.webkit.org/show_bug.cgi?id=270269
rdar://123609465

Reviewed by Brent Fulgham and Chris Dumez.

Override Metal cache path to match the path of the sandbox extension. This is only
required when WebKit processes are launched as extensions, since they will have their
own container then where Metal will try to write cache files. The path of the sandbox
extension is in the UI process' container, so overriding the Metal cache path is
needed for them to match.

* Source/WebCore/PAL/pal/spi/cocoa/MetalSPI.h:
* Source/WebKit/GPUProcess/GPUProcessCreationParameters.h:
* Source/WebKit/GPUProcess/GPUProcessCreationParameters.serialization.in:
* Source/WebKit/GPUProcess/cocoa/GPUProcessCocoa.mm:
(WebKit::GPUProcess::platformInitializeGPUProcess):
* Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp:
(WebKit::GPUProcessProxy::GPUProcessProxy):

Canonical link: https://commits.webkit.org/275511@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