⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 244777 in webkit


Ignore:
Timestamp:
Apr 30, 2019, 9:33:35 AM (7 years ago)
Author:
Justin Fan
Message:

[WebGPU] Move 'gpu' API entry point from DOMWindow to Navigator
https://bugs.webkit.org/show_bug.cgi?id=197348

Reviewed by Myles C. Maxfield.

Source/WebCore:

Latest API provides 'gpu' through Navigator instead of DOMWindow. Replace DOMWindowWebGPU with NavigatorGPU.

Existing tests updated to match. Add test: webgpu-enabled-in-worker.html to ensure workers can access WebGPU.

  • CMakeLists.txt:
  • DerivedSources.make:
  • Modules/webgpu/NavigatorGPU.cpp:

(WebCore::NavigatorGPU::from):
(WebCore::NavigatorGPU::supplementName):
(WebCore::NavigatorGPU::gpu):
(WebCore::NavigatorGPU::gpu const):

  • Modules/webgpu/NavigatorGPU.h:
  • Modules/webgpu/NavigatorGPU.idl:
  • Modules/webgpu/WorkerNavigatorGPU.cpp:

(WebCore::WorkerNavigatorGPU::from):
(WebCore::WorkerNavigatorGPU::supplementName):
(WebCore::WorkerNavigatorGPU::gpu):
(WebCore::WorkerNavigatorGPU::gpu const):

  • Modules/webgpu/WorkerNavigatorGPU.h:
  • Modules/webgpu/WorkerNavigatorGPU.idl:
  • Sources.txt:
  • WebCore.xcodeproj/project.pbxproj:

LayoutTests:

WebGPU is now accessed through navigator.gpu instead of window.gpu.
Add webgpu-enabled-in-worker to ensure workers can access WebGPU.

  • webgpu/adapter-options.html:
  • webgpu/js/create-worker-device.js: Added.

(async.tryCreateDevice):

  • webgpu/js/webgpu-functions.js:

(async.getBasicDevice):

  • webgpu/queue-creation.html:
  • webgpu/webgpu-enabled-in-worker-expected.txt: Added.
  • webgpu/webgpu-enabled-in-worker.html: Added.
  • webgpu/webgpu-enabled.html:
  • webgpu/whlsl.html:

Add navigator.gpu to expectations for navigator-detached-no-crash.

  • fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt:
  • platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
Location:
trunk
Files:
3 added
14 edited
3 copied
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r244776 r244777  
     12019-04-30  Justin Fan  <justin_fan@apple.com>
     2
     3        [WebGPU] Move 'gpu' API entry point from DOMWindow to Navigator
     4        https://bugs.webkit.org/show_bug.cgi?id=197348
     5
     6        Reviewed by Myles C. Maxfield.
     7
     8        WebGPU is now accessed through navigator.gpu instead of window.gpu.
     9        Add webgpu-enabled-in-worker to ensure workers can access WebGPU.
     10
     11        * webgpu/adapter-options.html:
     12        * webgpu/js/create-worker-device.js: Added.
     13        (async.tryCreateDevice):
     14        * webgpu/js/webgpu-functions.js:
     15        (async.getBasicDevice):
     16        * webgpu/queue-creation.html:
     17        * webgpu/webgpu-enabled-in-worker-expected.txt: Added.
     18        * webgpu/webgpu-enabled-in-worker.html: Added.
     19        * webgpu/webgpu-enabled.html:
     20        * webgpu/whlsl.html:
     21
     22        Add navigator.gpu to expectations for navigator-detached-no-crash.
     23        * fast/dom/navigator-detached-no-crash-expected.txt:
     24        * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt:
     25        * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
     26
    1272019-04-30  Youenn Fablet  <youenn@apple.com>
    228
  • trunk/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt

    r235489 r244777  
    99navigator.credentials is OK
    1010navigator.getStorageUpdates() is OK
     11navigator.gpu is OK
    1112navigator.javaEnabled() is OK
    1213navigator.language is OK
     
    3435navigator.credentials is OK
    3536navigator.getStorageUpdates() is OK
     37navigator.gpu is OK
    3638navigator.javaEnabled() is OK
    3739navigator.language is OK
  • trunk/LayoutTests/platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt

    r235925 r244777  
    88navigator.credentials is OK
    99navigator.getStorageUpdates() is OK
     10navigator.gpu is OK
    1011navigator.javaEnabled() is OK
    1112navigator.language is OK
     
    3132navigator.credentials is OK
    3233navigator.getStorageUpdates() is OK
     34navigator.gpu is OK
    3335navigator.javaEnabled() is OK
    3436navigator.language is OK
  • trunk/LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt

    r235925 r244777  
    99navigator.credentials is OK
    1010navigator.getStorageUpdates() is OK
     11navigator.gpu is OK
    1112navigator.javaEnabled() is OK
    1213navigator.language is OK
     
    3334navigator.credentials is OK
    3435navigator.getStorageUpdates() is OK
     36navigator.gpu is OK
    3537navigator.javaEnabled() is OK
    3638navigator.language is OK
  • trunk/LayoutTests/webgpu/adapter-options.html

    r243456 r244777  
    77<script>
    88promise_test(async () => {
    9     const defaultAdapter = await gpu.requestAdapter();
     9    const defaultAdapter = await navigator.gpu.requestAdapter();
    1010    const device = await defaultAdapter.requestDevice();
    1111
     
    1414
    1515promise_test(async () => {
    16     const lowPowerAdapter = await gpu.requestAdapter({ powerPreference: "low-power" });
     16    const lowPowerAdapter = await navigator.gpu.requestAdapter({ powerPreference: "low-power" });
    1717    const device = await lowPowerAdapter.requestDevice();
    1818
     
    2121
    2222promise_test(async () => {
    23     const highPerfAdapter = await gpu.requestAdapter({ powerPreference: "high-performance" });
     23    const highPerfAdapter = await navigator.gpu.requestAdapter({ powerPreference: "high-performance" });
    2424    const device = await highPerfAdapter.requestDevice();
    2525
  • trunk/LayoutTests/webgpu/js/webgpu-functions.js

    r244507 r244777  
    11async function getBasicDevice() {
    2     const adapter = await gpu.requestAdapter({ powerPreference: "low-power" });
     2    const adapter = await navigator.gpu.requestAdapter({ powerPreference: "low-power" });
    33    const device = await adapter.requestDevice();
    44    return device;
  • trunk/LayoutTests/webgpu/queue-creation.html

    r243456 r244777  
    1010
    1111promise_test(async t => {
    12     assert_not_equals(window.gpu, undefined, "window.gpu exists");
     12    assert_not_equals(navigator.gpu, undefined, "navigator.gpu exists");
    1313
    1414    const context = document.createElement("canvas").getContext("gpu");
    1515    assert_true(context instanceof GPUCanvasContext, "getContext returned a GPUCanvasContext.");
    1616
    17     const adapter = await window.gpu.requestAdapter({});
     17    const adapter = await navigator.gpu.requestAdapter({});
    1818    assert_true(adapter instanceof WebGPUAdapter, "requestAdapter returned a WebGPUAdapter.");
    1919
  • trunk/LayoutTests/webgpu/webgpu-enabled.html

    r243456 r244777  
    1111    assert_true(context instanceof GPUCanvasContext, "Created GPUCanvasContext.");
    1212
    13     assert_not_equals(window.gpu, undefined, "window.gpu is defined.");
     13    assert_equals(window.gpu, undefined, "window.gpu should not be defined.")
     14    assert_not_equals(navigator.gpu, undefined, "navigator.gpu is defined.");
    1415
    15     const adapter = await window.gpu.requestAdapter();
     16    const adapter = await navigator.gpu.requestAdapter();
    1617    assert_true(adapter instanceof WebGPUAdapter, "Created default GPUAdapter.");
    1718   
  • trunk/LayoutTests/webgpu/whlsl.html

    r244507 r244777  
    1616`;
    1717async function start() {
    18     const adapter = await window.gpu.requestAdapter();
     18    const adapter = await navigator.gpu.requestAdapter();
    1919    const device = await adapter.requestDevice();
    2020
  • trunk/Source/WebCore/CMakeLists.txt

    r244635 r244777  
    469469    Modules/webdriver/NavigatorWebDriver.idl
    470470
    471     Modules/webgpu/DOMWindowWebGPU.idl
    472471    Modules/webgpu/GPUBindGroupLayoutBinding.idl
    473472    Modules/webgpu/GPUBindGroupLayoutDescriptor.idl
     
    494493    Modules/webgpu/GPUVertexAttributeDescriptor.idl
    495494    Modules/webgpu/GPUVertexInputDescriptor.idl
     495    Modules/webgpu/NavigatorGPU.idl
    496496    Modules/webgpu/WebGPU.idl
    497497    Modules/webgpu/WebGPUAdapter.idl
     
    524524    Modules/webgpu/WebGPUTexture.idl
    525525    Modules/webgpu/WebGPUTextureView.idl
     526    Modules/webgpu/WorkerNavigatorGPU.idl
    526527
    527528    Modules/websockets/CloseEvent.idl
  • trunk/Source/WebCore/ChangeLog

    r244775 r244777  
     12019-04-30  Justin Fan  <justin_fan@apple.com>
     2
     3        [WebGPU] Move 'gpu' API entry point from DOMWindow to Navigator
     4        https://bugs.webkit.org/show_bug.cgi?id=197348
     5
     6        Reviewed by Myles C. Maxfield.
     7
     8        Latest API provides 'gpu' through Navigator instead of DOMWindow. Replace DOMWindowWebGPU with NavigatorGPU.
     9
     10        Existing tests updated to match. Add test: webgpu-enabled-in-worker.html to ensure workers can access WebGPU.
     11
     12        * CMakeLists.txt:
     13        * DerivedSources.make:
     14        * Modules/webgpu/NavigatorGPU.cpp:
     15        (WebCore::NavigatorGPU::from):
     16        (WebCore::NavigatorGPU::supplementName):
     17        (WebCore::NavigatorGPU::gpu):
     18        (WebCore::NavigatorGPU::gpu const):
     19        * Modules/webgpu/NavigatorGPU.h:
     20        * Modules/webgpu/NavigatorGPU.idl:
     21        * Modules/webgpu/WorkerNavigatorGPU.cpp:
     22        (WebCore::WorkerNavigatorGPU::from):
     23        (WebCore::WorkerNavigatorGPU::supplementName):
     24        (WebCore::WorkerNavigatorGPU::gpu):
     25        (WebCore::WorkerNavigatorGPU::gpu const):
     26        * Modules/webgpu/WorkerNavigatorGPU.h:
     27        * Modules/webgpu/WorkerNavigatorGPU.idl:
     28        * Sources.txt:
     29        * WebCore.xcodeproj/project.pbxproj:
     30
    1312019-04-30  Zalan Bujtas  <zalan@apple.com>
    232
  • trunk/Source/WebCore/DerivedSources.make

    r244696 r244777  
    375375    $(WebCore)/Modules/webdatabase/SQLTransactionErrorCallback.idl \
    376376    $(WebCore)/Modules/webdriver/NavigatorWebDriver.idl \
    377     $(WebCore)/Modules/webgpu/DOMWindowWebGPU.idl \
    378377    $(WebCore)/Modules/webgpu/GPUCanvasContext.idl \
    379378    $(WebCore)/Modules/webgpu/GPUColor.idl \
     
    400399    $(WebCore)/Modules/webgpu/GPUVertexAttributeDescriptor.idl \
    401400        $(WebCore)/Modules/webgpu/GPUVertexInputDescriptor.idl \
     401    $(WebCore)/Modules/webgpu/NavigatorGPU.idl \
    402402    $(WebCore)/Modules/webgpu/WebGPU.idl \
    403403    $(WebCore)/Modules/webgpu/WebGPUAdapter.idl \
     
    430430    $(WebCore)/Modules/webgpu/WebGPUTexture.idl \
    431431    $(WebCore)/Modules/webgpu/WebGPUTextureView.idl \
     432    $(WebCore)/Modules/webgpu/WorkerNavigatorGPU.idl \
    432433    $(WebCore)/Modules/websockets/CloseEvent.idl \
    433434    $(WebCore)/Modules/websockets/WebSocket.idl \
  • trunk/Source/WebCore/Modules/webgpu/NavigatorGPU.cpp

    r244776 r244777  
    2525
    2626#include "config.h"
    27 #include "DOMWindowWebGPU.h"
     27#include "NavigatorGPU.h"
    2828
    2929#if ENABLE(WEBGPU)
    3030
    31 #include "DOMWindow.h"
     31#include "Navigator.h"
    3232#include "RuntimeEnabledFeatures.h"
    3333#include "WebGPU.h"
     
    3535namespace WebCore {
    3636
    37 DOMWindowWebGPU::DOMWindowWebGPU(DOMWindow* window)
    38     : DOMWindowProperty(window)
     37NavigatorGPU* NavigatorGPU::from(Navigator* navigator)
    3938{
    40 }
    41 
    42 const char* DOMWindowWebGPU::supplementName()
    43 {
    44     return "DOMWindowWebGPU";
    45 }
    46 
    47 DOMWindowWebGPU* DOMWindowWebGPU::from(DOMWindow* window)
    48 {
    49     DOMWindowWebGPU* supplement = static_cast<DOMWindowWebGPU*>(Supplement<DOMWindow>::from(window, supplementName()));
     39    NavigatorGPU* supplement = static_cast<NavigatorGPU*>(Supplement<Navigator>::from(navigator, supplementName()));
    5040    if (!supplement) {
    51         auto newSupplement = std::make_unique<DOMWindowWebGPU>(window);
     41        auto newSupplement = std::make_unique<NavigatorGPU>();
    5242        supplement = newSupplement.get();
    53         provideTo(window, supplementName(), WTFMove(newSupplement));
     43        provideTo(navigator, supplementName(), WTFMove(newSupplement));
    5444    }
    5545    return supplement;
    5646}
    5747
    58 WebGPU* DOMWindowWebGPU::gpu(DOMWindow& window)
     48const char* NavigatorGPU::supplementName()
    5949{
    60     return DOMWindowWebGPU::from(&window)->gpu();
     50    return "NavigatorGPU";
    6151}
    6252
    63 WebGPU* DOMWindowWebGPU::gpu() const
     53const WebGPU* NavigatorGPU::gpu(Navigator& navigator)
     54{
     55    return NavigatorGPU::from(&navigator)->gpu();
     56}
     57
     58const WebGPU* NavigatorGPU::gpu() const
    6459{
    6560    ASSERT(RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled());
    6661
    67     if (!m_gpu && frame())
     62    if (!m_gpu)
    6863        m_gpu = WebGPU::create();
    6964    return m_gpu.get();
  • trunk/Source/WebCore/Modules/webgpu/NavigatorGPU.h

    r244776 r244777  
    2828#if ENABLE(WEBGPU)
    2929
    30 #include "DOMWindowProperty.h"
    3130#include "Supplementable.h"
    3231
    3332namespace WebCore {
    3433
    35 class DOMWindow;
     34class Navigator;
    3635class WebGPU;
    3736
    38 class DOMWindowWebGPU : public Supplement<DOMWindow>, public DOMWindowProperty {
     37class NavigatorGPU final : public Supplement<Navigator> {
    3938    WTF_MAKE_FAST_ALLOCATED;
    4039public:
    41     explicit DOMWindowWebGPU(DOMWindow*);
    42     virtual ~DOMWindowWebGPU() = default;
    43     static DOMWindowWebGPU* from(DOMWindow*);
    44     static WebGPU* gpu(DOMWindow&);
    45     WebGPU* gpu() const;
     40    static const WebGPU* gpu(Navigator&);
    4641
    4742private:
     43    static NavigatorGPU* from(Navigator*);
    4844    static const char* supplementName();
     45   
     46    const WebGPU* gpu() const;
    4947
    5048    mutable RefPtr<WebGPU> m_gpu;
  • trunk/Source/WebCore/Modules/webgpu/NavigatorGPU.idl

    r244776 r244777  
    2323 * THE POSSIBILITY OF SUCH DAMAGE.
    2424 */
    25 // https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
     25// https://github.com/gpuweb/gpuweb/blob/master/spec/index.bs
    2626
    2727[
    2828    Conditional=WEBGPU,
    29     EnabledAtRuntime=WebGPU
    30 ] partial interface DOMWindow {
    31     [Replaceable, SameObject] readonly attribute WebGPU gpu;
     29    EnabledAtRuntime=WebGPU,
     30    Exposed=Window
     31] partial interface Navigator {
     32    [SameObject] readonly attribute WebGPU gpu;
    3233};
  • trunk/Source/WebCore/Modules/webgpu/WorkerNavigatorGPU.cpp

    r244776 r244777  
    2525
    2626#include "config.h"
    27 #include "DOMWindowWebGPU.h"
     27#include "WorkerNavigatorGPU.h"
    2828
    2929#if ENABLE(WEBGPU)
    3030
    31 #include "DOMWindow.h"
    3231#include "RuntimeEnabledFeatures.h"
    3332#include "WebGPU.h"
     33#include "WorkerNavigator.h"
    3434
    3535namespace WebCore {
    3636
    37 DOMWindowWebGPU::DOMWindowWebGPU(DOMWindow* window)
    38     : DOMWindowProperty(window)
     37WorkerNavigatorGPU* WorkerNavigatorGPU::from(WorkerNavigator* navigator)
    3938{
    40 }
    41 
    42 const char* DOMWindowWebGPU::supplementName()
    43 {
    44     return "DOMWindowWebGPU";
    45 }
    46 
    47 DOMWindowWebGPU* DOMWindowWebGPU::from(DOMWindow* window)
    48 {
    49     DOMWindowWebGPU* supplement = static_cast<DOMWindowWebGPU*>(Supplement<DOMWindow>::from(window, supplementName()));
     39    WorkerNavigatorGPU* supplement = static_cast<WorkerNavigatorGPU*>(Supplement<WorkerNavigator>::from(navigator, supplementName()));
    5040    if (!supplement) {
    51         auto newSupplement = std::make_unique<DOMWindowWebGPU>(window);
     41        auto newSupplement = std::make_unique<WorkerNavigatorGPU>();
    5242        supplement = newSupplement.get();
    53         provideTo(window, supplementName(), WTFMove(newSupplement));
     43        provideTo(navigator, supplementName(), WTFMove(newSupplement));
    5444    }
    5545    return supplement;
    5646}
    5747
    58 WebGPU* DOMWindowWebGPU::gpu(DOMWindow& window)
     48const char* WorkerNavigatorGPU::supplementName()
    5949{
    60     return DOMWindowWebGPU::from(&window)->gpu();
     50    return "WorkerNavigatorGPU";
    6151}
    6252
    63 WebGPU* DOMWindowWebGPU::gpu() const
     53const WebGPU* WorkerNavigatorGPU::gpu(WorkerNavigator& navigator)
     54{
     55    return WorkerNavigatorGPU::from(&navigator)->gpu();
     56}
     57
     58const WebGPU* WorkerNavigatorGPU::gpu() const
    6459{
    6560    ASSERT(RuntimeEnabledFeatures::sharedFeatures().webGPUEnabled());
    6661
    67     if (!m_gpu && frame())
     62    if (!m_gpu)
    6863        m_gpu = WebGPU::create();
    6964    return m_gpu.get();
  • trunk/Source/WebCore/Modules/webgpu/WorkerNavigatorGPU.h

    r244776 r244777  
    2828#if ENABLE(WEBGPU)
    2929
    30 #include "DOMWindowProperty.h"
    3130#include "Supplementable.h"
    3231
    3332namespace WebCore {
    3433
    35 class DOMWindow;
    3634class WebGPU;
     35class WorkerNavigator;
    3736
    38 class DOMWindowWebGPU : public Supplement<DOMWindow>, public DOMWindowProperty {
     37class WorkerNavigatorGPU final : public Supplement<WorkerNavigator> {
    3938    WTF_MAKE_FAST_ALLOCATED;
    4039public:
    41     explicit DOMWindowWebGPU(DOMWindow*);
    42     virtual ~DOMWindowWebGPU() = default;
    43     static DOMWindowWebGPU* from(DOMWindow*);
    44     static WebGPU* gpu(DOMWindow&);
    45     WebGPU* gpu() const;
     40    static const WebGPU* gpu(WorkerNavigator&);
    4641
    4742private:
     43    static WorkerNavigatorGPU* from(WorkerNavigator*);
    4844    static const char* supplementName();
     45   
     46    const WebGPU* gpu() const;
    4947
    5048    mutable RefPtr<WebGPU> m_gpu;
  • trunk/Source/WebCore/Modules/webgpu/WorkerNavigatorGPU.idl

    r244776 r244777  
    2323 * THE POSSIBILITY OF SUCH DAMAGE.
    2424 */
    25 // https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
     25// https://github.com/gpuweb/gpuweb/blob/master/spec/index.bs
    2626
    2727[
    2828    Conditional=WEBGPU,
    2929    EnabledAtRuntime=WebGPU
    30 ] partial interface DOMWindow {
    31     [Replaceable, SameObject] readonly attribute WebGPU gpu;
     30] partial interface WorkerNavigator {
     31    [SameObject] readonly attribute WebGPU gpu;
    3232};
  • trunk/Source/WebCore/Sources.txt

    r244582 r244777  
    305305Modules/websockets/WorkerThreadableWebSocketChannel.cpp
    306306
    307 Modules/webgpu/DOMWindowWebGPU.cpp
    308307Modules/webgpu/GPUCanvasContext.cpp
     308Modules/webgpu/NavigatorGPU.cpp
    309309Modules/webgpu/WHLSL/WHLSLInferTypes.cpp
    310310Modules/webgpu/WHLSL/WHLSLLexer.cpp
     
    376376Modules/webgpu/WebGPUTexture.cpp
    377377Modules/webgpu/WebGPUTextureView.cpp
     378Modules/webgpu/WorkerNavigatorGPU.cpp
    378379
    379380Modules/webvr/NavigatorWebVR.cpp
     
    26562657JSDOMWindowSpeechSynthesis.cpp
    26572658JSDOMWindowWebDatabase.cpp
    2658 JSDOMWindowWebGPU.cpp
    26592659JSDOMWindowWebVR.cpp
    26602660JSDataTransfer.cpp
     
    29192919JSNavigatorCredentials.cpp
    29202920JSNavigatorGeolocation.cpp
     2921JSNavigatorGPU.cpp
    29212922JSNavigatorID.cpp
    29222923JSNavigatorLanguage.cpp
     
    33283329JSWorkerLocation.cpp
    33293330JSWorkerNavigator.cpp
     3331JSWorkerNavigatorGPU.cpp
    33303332JSWorkerType.cpp
    33313333JSWritableStream.cpp
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r244704 r244777  
    101101                070E09191875EEFC003A1D3C /* PlatformMediaSession.h in Headers */ = {isa = PBXBuildFile; fileRef = 070E09181875ED93003A1D3C /* PlatformMediaSession.h */; settings = {ATTRIBUTES = (Private, ); }; };
    102102                070E81D11BF27656001FDA48 /* VideoTrackPrivateMediaStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 070E81D01BF27656001FDA48 /* VideoTrackPrivateMediaStream.h */; };
    103                 CDA79827170A279100D45C55 /* AudioSessionIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = CDA79825170A279000D45C55 /* AudioSessionIOS.mm */; };
    104103                070F549817F12F6B00169E04 /* MediaStreamConstraintsValidationClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 070F549717F12F6B00169E04 /* MediaStreamConstraintsValidationClient.h */; };
    105104                0719427F1D088F21002AA51D /* AVFoundationMIMETypeCache.mm in Sources */ = {isa = PBXBuildFile; fileRef = 07C8AD111D073D630087C5CE /* AVFoundationMIMETypeCache.mm */; };
     
    40814080                CDA595932146DEC300A84185 /* HEVCUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = CDA595912146DEC300A84185 /* HEVCUtilities.h */; };
    40824081                CDA595982146DF7800A84185 /* HEVCUtilitiesCocoa.h in Headers */ = {isa = PBXBuildFile; fileRef = CDA595962146DF7800A84185 /* HEVCUtilitiesCocoa.h */; };
     4082                CDA79827170A279100D45C55 /* AudioSessionIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = CDA79825170A279000D45C55 /* AudioSessionIOS.mm */; };
    40834083                CDA7982A170A3D0000D45C55 /* AudioSession.h in Headers */ = {isa = PBXBuildFile; fileRef = CDA79821170A22DC00D45C55 /* AudioSession.h */; settings = {ATTRIBUTES = (Private, ); }; };
    40844084                CDA98E0B1603CD6000FEA3B1 /* LegacyCDM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CDA98E091603CD5900FEA3B1 /* LegacyCDM.cpp */; };
     
    1382313823                D00487D222457BEA00EED7D9 /* WebGPUPipelineLayoutDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUPipelineLayoutDescriptor.cpp; sourceTree = "<group>"; };
    1382413824                D00487E5226A634200EED7D9 /* WebGPUSwapChainDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUSwapChainDescriptor.cpp; sourceTree = "<group>"; };
     13825                D00487EB2274281200EED7D9 /* NavigatorGPU.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = NavigatorGPU.idl; sourceTree = "<group>"; };
     13826                D00487ED2274281300EED7D9 /* NavigatorGPU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NavigatorGPU.cpp; sourceTree = "<group>"; };
     13827                D00487EE2274281400EED7D9 /* NavigatorGPU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NavigatorGPU.h; sourceTree = "<group>"; };
     13828                D00487FD2277AF8100EED7D9 /* WorkerNavigatorGPU.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WorkerNavigatorGPU.idl; sourceTree = "<group>"; };
     13829                D00487FE2277AF8200EED7D9 /* WorkerNavigatorGPU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WorkerNavigatorGPU.h; sourceTree = "<group>"; };
    1382513830                D00D77FD2242ED450043F12C /* WebGPUComputePassEncoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPUComputePassEncoder.h; sourceTree = "<group>"; };
    1382613831                D00D77FE2242ED450043F12C /* WebGPUComputePassEncoder.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUComputePassEncoder.cpp; sourceTree = "<group>"; };
    1382713832                D00D77FF2242ED450043F12C /* WebGPUComputePassEncoder.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUComputePassEncoder.idl; sourceTree = "<group>"; };
    13828                 D00F5940216ECC7A000D71DB /* DOMWindowWebGPU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DOMWindowWebGPU.h; sourceTree = "<group>"; };
    13829                 D00F5941216ECC7A000D71DB /* DOMWindowWebGPU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = DOMWindowWebGPU.cpp; sourceTree = "<group>"; };
    13830                 D00F5942216ECC7A000D71DB /* DOMWindowWebGPU.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = DOMWindowWebGPU.idl; sourceTree = "<group>"; };
    1383113833                D00F5946216EFE54000D71DB /* WebGPU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPU.h; sourceTree = "<group>"; };
    1383213834                D00F5947216EFE54000D71DB /* WebGPU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPU.cpp; sourceTree = "<group>"; };
     
    1396813970                D0C419F8218404DA009EC1DE /* WebGPURenderPipeline.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPURenderPipeline.cpp; sourceTree = "<group>"; };
    1396913971                D0C419F9218404DA009EC1DE /* WebGPURenderPipeline.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPURenderPipeline.idl; sourceTree = "<group>"; };
     13972                D0CAAD532277C2A600801CDF /* WorkerNavigatorGPU.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WorkerNavigatorGPU.cpp; sourceTree = "<group>"; };
    1397013973                D0CCA94922299F97006979B6 /* GPUOrigin3D.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUOrigin3D.h; sourceTree = "<group>"; };
    1397113974                D0CCA94A22299F97006979B6 /* GPUOrigin3D.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = GPUOrigin3D.idl; sourceTree = "<group>"; };
     
    2575725760                        children = (
    2575825761                                C210E90D21B4BCA400B7F83D /* WHLSL */,
    25759                                 D00F5941216ECC7A000D71DB /* DOMWindowWebGPU.cpp */,
    25760                                 D00F5940216ECC7A000D71DB /* DOMWindowWebGPU.h */,
    25761                                 D00F5942216ECC7A000D71DB /* DOMWindowWebGPU.idl */,
    2576225762                                D0B8BB0121C46E78000C7681 /* GPUBindGroupLayoutBinding.h */,
    2576325763                                D0D69C9F222E015E0032927E /* GPUBindGroupLayoutBinding.idl */,
     
    2579025790                                D0D8649621BA18F4003C983C /* GPUVertexAttributeDescriptor.idl */,
    2579125791                                D0D8649821BA19A7003C983C /* GPUVertexInputDescriptor.idl */,
     25792                                D00487ED2274281300EED7D9 /* NavigatorGPU.cpp */,
     25793                                D00487EE2274281400EED7D9 /* NavigatorGPU.h */,
     25794                                D00487EB2274281200EED7D9 /* NavigatorGPU.idl */,
    2579225795                                D00F5947216EFE54000D71DB /* WebGPU.cpp */,
    2579325796                                D00F5946216EFE54000D71DB /* WebGPU.h */,
     
    2587925882                                D0EACF872193EE4E000FA75C /* WebGPUTextureView.h */,
    2588025883                                D0EACF892193EE4E000FA75C /* WebGPUTextureView.idl */,
     25884                                D0CAAD532277C2A600801CDF /* WorkerNavigatorGPU.cpp */,
     25885                                D00487FE2277AF8200EED7D9 /* WorkerNavigatorGPU.h */,
     25886                                D00487FD2277AF8100EED7D9 /* WorkerNavigatorGPU.idl */,
    2588125887                        );
    2588225888                        path = webgpu;
Note: See TracChangeset for help on using the changeset viewer.