[webkit-changes] [WebKit/WebKit] 8a4b87: Render <model> tags in Model process

eddydas noreply at github.com
Tue Mar 5 20:37:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a4b871eeecd5ca8e2001f76f417c739209a8c4f
      https://github.com/WebKit/WebKit/commit/8a4b871eeecd5ca8e2001f76f417c739209a8c4f
  Author: Eddy Wong <eddy_wong at apple.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M Source/WebKit/ModelProcess/cocoa/ModelProcessModelPlayerProxy.h
    M Source/WebKit/ModelProcess/cocoa/ModelProcessModelPlayerProxy.mm
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Model.sb.in
    M Source/WebKit/Scripts/process-entitlements.sh

  Log Message:
  -----------
  Render <model> tags in Model process
rdar://124051126
https://bugs.webkit.org/show_bug.cgi?id=270504

Reviewed by Tim Horton.

Model process <mdoel> rendering path now uses the same WKSeparatedModelLayer
class as the in-process path to actually render the 3D model.

Also added required entitlement and sandbox rules to support rendering in
Model process.

* Source/WebKit/ModelProcess/cocoa/ModelProcessModelPlayerProxy.h:
* Source/WebKit/ModelProcess/cocoa/ModelProcessModelPlayerProxy.mm:
(WebKit::ModelProcessModelPlayerProxy::createLayer):
(WebKit::ModelProcessModelPlayerProxy::loadModel):
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.Model.sb.in:
* Source/WebKit/Scripts/process-entitlements.sh:

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