Title: [291498] trunk/Source/WebGPU
Revision
291498
Author
mmaxfi...@apple.com
Date
2022-03-18 15:09:34 -0700 (Fri, 18 Mar 2022)

Log Message

[WebGPU] Add #pragma marks to strategic places
https://bugs.webkit.org/show_bug.cgi?id=238065

Reviewed by Alexey Proskuryakov.

They help a little bit with Xcode navigation.

* WebGPU/Adapter.h:
* WebGPU/Adapter.mm:
* WebGPU/BindGroup.h:
* WebGPU/BindGroup.mm:
* WebGPU/BindGroupLayout.h:
* WebGPU/BindGroupLayout.mm:
* WebGPU/Buffer.h:
* WebGPU/Buffer.mm:
* WebGPU/CommandBuffer.h:
* WebGPU/CommandBuffer.mm:
* WebGPU/CommandEncoder.h:
* WebGPU/CommandEncoder.mm:
* WebGPU/ComputePassEncoder.h:
* WebGPU/ComputePassEncoder.mm:
* WebGPU/ComputePipeline.h:
* WebGPU/ComputePipeline.mm:
* WebGPU/Device.h:
* WebGPU/Device.mm:
* WebGPU/Instance.h:
* WebGPU/Instance.mm:
* WebGPU/PipelineLayout.h:
* WebGPU/PipelineLayout.mm:
* WebGPU/QuerySet.h:
* WebGPU/QuerySet.mm:
* WebGPU/Queue.h:
* WebGPU/Queue.mm:
* WebGPU/RenderBundle.h:
* WebGPU/RenderBundle.mm:
* WebGPU/RenderBundleEncoder.h:
* WebGPU/RenderBundleEncoder.mm:
* WebGPU/RenderPassEncoder.h:
* WebGPU/RenderPassEncoder.mm:
* WebGPU/RenderPipeline.h:
* WebGPU/RenderPipeline.mm:
* WebGPU/Sampler.h:
* WebGPU/Sampler.mm:
* WebGPU/ShaderModule.h:
* WebGPU/ShaderModule.mm:
* WebGPU/Surface.h:
* WebGPU/Surface.mm:
* WebGPU/SwapChain.h:
* WebGPU/SwapChain.mm:
* WebGPU/Texture.h:
* WebGPU/Texture.mm:
* WebGPU/TextureView.h:
* WebGPU/TextureView.mm:

Modified Paths

Diff

Modified: trunk/Source/WebGPU/ChangeLog (291497 => 291498)


--- trunk/Source/WebGPU/ChangeLog	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/ChangeLog	2022-03-18 22:09:34 UTC (rev 291498)
@@ -1,3 +1,59 @@
+2022-03-18  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [WebGPU] Add #pragma marks to strategic places
+        https://bugs.webkit.org/show_bug.cgi?id=238065
+
+        Reviewed by Alexey Proskuryakov.
+
+        They help a little bit with Xcode navigation.
+
+        * WebGPU/Adapter.h:
+        * WebGPU/Adapter.mm:
+        * WebGPU/BindGroup.h:
+        * WebGPU/BindGroup.mm:
+        * WebGPU/BindGroupLayout.h:
+        * WebGPU/BindGroupLayout.mm:
+        * WebGPU/Buffer.h:
+        * WebGPU/Buffer.mm:
+        * WebGPU/CommandBuffer.h:
+        * WebGPU/CommandBuffer.mm:
+        * WebGPU/CommandEncoder.h:
+        * WebGPU/CommandEncoder.mm:
+        * WebGPU/ComputePassEncoder.h:
+        * WebGPU/ComputePassEncoder.mm:
+        * WebGPU/ComputePipeline.h:
+        * WebGPU/ComputePipeline.mm:
+        * WebGPU/Device.h:
+        * WebGPU/Device.mm:
+        * WebGPU/Instance.h:
+        * WebGPU/Instance.mm:
+        * WebGPU/PipelineLayout.h:
+        * WebGPU/PipelineLayout.mm:
+        * WebGPU/QuerySet.h:
+        * WebGPU/QuerySet.mm:
+        * WebGPU/Queue.h:
+        * WebGPU/Queue.mm:
+        * WebGPU/RenderBundle.h:
+        * WebGPU/RenderBundle.mm:
+        * WebGPU/RenderBundleEncoder.h:
+        * WebGPU/RenderBundleEncoder.mm:
+        * WebGPU/RenderPassEncoder.h:
+        * WebGPU/RenderPassEncoder.mm:
+        * WebGPU/RenderPipeline.h:
+        * WebGPU/RenderPipeline.mm:
+        * WebGPU/Sampler.h:
+        * WebGPU/Sampler.mm:
+        * WebGPU/ShaderModule.h:
+        * WebGPU/ShaderModule.mm:
+        * WebGPU/Surface.h:
+        * WebGPU/Surface.mm:
+        * WebGPU/SwapChain.h:
+        * WebGPU/SwapChain.mm:
+        * WebGPU/Texture.h:
+        * WebGPU/Texture.mm:
+        * WebGPU/TextureView.h:
+        * WebGPU/TextureView.mm:
+
 2022-03-17  Michael Saboff  <msab...@apple.com>
 
         libANGLE-shared.dylib, libwebrtc.dylib & WebGPU install names are prefixed with the system content path

Modified: trunk/Source/WebGPU/WebGPU/Adapter.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Adapter.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Adapter.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -61,6 +61,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUAdapterImpl {
     Ref<WebGPU::Adapter> adapter;
 };

Modified: trunk/Source/WebGPU/WebGPU/Adapter.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Adapter.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Adapter.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -128,6 +128,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuAdapterRelease(WGPUAdapter adapter)
 {
     delete adapter;

Modified: trunk/Source/WebGPU/WebGPU/BindGroup.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/BindGroup.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/BindGroup.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -57,6 +57,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUBindGroupImpl {
     Ref<WebGPU::BindGroup> bindGroup;
 };

Modified: trunk/Source/WebGPU/WebGPU/BindGroup.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/BindGroup.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/BindGroup.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -131,8 +131,10 @@
     m_computeArgumentBuffer.label = labelString;
 }
 
-}
+} // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuBindGroupRelease(WGPUBindGroup bindGroup)
 {
     delete bindGroup;

Modified: trunk/Source/WebGPU/WebGPU/BindGroupLayout.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/BindGroupLayout.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/BindGroupLayout.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -59,6 +59,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUBindGroupLayoutImpl {
     Ref<WebGPU::BindGroupLayout> bindGroupLayout;
 };

Modified: trunk/Source/WebGPU/WebGPU/BindGroupLayout.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/BindGroupLayout.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/BindGroupLayout.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -239,8 +239,10 @@
     return result;
 }
 
-}
+} // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuBindGroupLayoutRelease(WGPUBindGroupLayout bindGroupLayout)
 {
     delete bindGroupLayout;

Modified: trunk/Source/WebGPU/WebGPU/Buffer.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Buffer.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Buffer.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -99,6 +99,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUBufferImpl {
     Ref<WebGPU::Buffer> buffer;
 };

Modified: trunk/Source/WebGPU/WebGPU/Buffer.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Buffer.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Buffer.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -390,6 +390,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuBufferRelease(WGPUBuffer buffer)
 {
     delete buffer;

Modified: trunk/Source/WebGPU/WebGPU/CommandBuffer.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/CommandBuffer.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/CommandBuffer.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -53,6 +53,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUCommandBufferImpl {
     Ref<WebGPU::CommandBuffer> commandBuffer;
 };

Modified: trunk/Source/WebGPU/WebGPU/CommandBuffer.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/CommandBuffer.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/CommandBuffer.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -42,8 +42,10 @@
     m_commandBuffer.label = label;
 }
 
-}
+} // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuCommandBufferRelease(WGPUCommandBuffer commandBuffer)
 {
     delete commandBuffer;

Modified: trunk/Source/WebGPU/WebGPU/CommandEncoder.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/CommandEncoder.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/CommandEncoder.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -80,6 +80,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUCommandEncoderImpl {
     Ref<WebGPU::CommandEncoder> commandEncoder;
 };

Modified: trunk/Source/WebGPU/WebGPU/CommandEncoder.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/CommandEncoder.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/CommandEncoder.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -352,6 +352,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuCommandEncoderRelease(WGPUCommandEncoder commandEncoder)
 {
     delete commandEncoder;

Modified: trunk/Source/WebGPU/WebGPU/ComputePassEncoder.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/ComputePassEncoder.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/ComputePassEncoder.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -71,6 +71,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUComputePassEncoderImpl {
     Ref<WebGPU::ComputePassEncoder> computePassEncoder;
 };

Modified: trunk/Source/WebGPU/WebGPU/ComputePassEncoder.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/ComputePassEncoder.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/ComputePassEncoder.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -140,6 +140,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuComputePassEncoderRelease(WGPUComputePassEncoder computePassEncoder)
 {
     delete computePassEncoder;

Modified: trunk/Source/WebGPU/WebGPU/ComputePipeline.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/ComputePipeline.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/ComputePipeline.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -56,6 +56,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUComputePipelineImpl {
     Ref<WebGPU::ComputePipeline> computePipeline;
 };

Modified: trunk/Source/WebGPU/WebGPU/ComputePipeline.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/ComputePipeline.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/ComputePipeline.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -195,6 +195,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuComputePipelineRelease(WGPUComputePipeline computePipeline)
 {
     delete computePipeline;

Modified: trunk/Source/WebGPU/WebGPU/Device.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Device.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Device.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -97,6 +97,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUDeviceImpl {
     Ref<WebGPU::Device> device;
     WGPUQueueImpl defaultQueue;

Modified: trunk/Source/WebGPU/WebGPU/Device.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Device.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Device.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -134,6 +134,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuDeviceRelease(WGPUDevice device)
 {
     delete device;

Modified: trunk/Source/WebGPU/WebGPU/Instance.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Instance.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Instance.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -67,6 +67,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUInstanceImpl {
     Ref<WebGPU::Instance> instance;
 };

Modified: trunk/Source/WebGPU/WebGPU/Instance.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Instance.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Instance.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -171,6 +171,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuInstanceRelease(WGPUInstance instance)
 {
     delete instance;

Modified: trunk/Source/WebGPU/WebGPU/PipelineLayout.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/PipelineLayout.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/PipelineLayout.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -60,6 +60,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUPipelineLayoutImpl {
     Ref<WebGPU::PipelineLayout> pipelineLayout;
 };

Modified: trunk/Source/WebGPU/WebGPU/PipelineLayout.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/PipelineLayout.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/PipelineLayout.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -70,8 +70,10 @@
     return !(*this == other);
 }
 
-}
+} // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuPipelineLayoutRelease(WGPUPipelineLayout pipelineLayout)
 {
     delete pipelineLayout;

Modified: trunk/Source/WebGPU/WebGPU/QuerySet.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/QuerySet.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/QuerySet.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -54,6 +54,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUQuerySetImpl {
     Ref<WebGPU::QuerySet> querySet;
 };

Modified: trunk/Source/WebGPU/WebGPU/QuerySet.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/QuerySet.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/QuerySet.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -55,6 +55,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuQuerySetRelease(WGPUQuerySet querySet)
 {
     delete querySet;

Modified: trunk/Source/WebGPU/WebGPU/Queue.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Queue.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Queue.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -76,6 +76,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUQueueImpl {
     Ref<WebGPU::Queue> queue;
 };

Modified: trunk/Source/WebGPU/WebGPU/Queue.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Queue.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Queue.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -129,6 +129,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuQueueRelease(WGPUQueue queue)
 {
     delete queue;

Modified: trunk/Source/WebGPU/WebGPU/RenderBundle.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderBundle.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderBundle.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -53,6 +53,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPURenderBundleImpl {
     Ref<WebGPU::RenderBundle> renderBundle;
 };

Modified: trunk/Source/WebGPU/WebGPU/RenderBundle.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderBundle.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderBundle.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -42,8 +42,10 @@
     m_indirectCommandBuffer.label = label;
 }
 
-}
+} // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuRenderBundleRelease(WGPURenderBundle renderBundle)
 {
     delete renderBundle;

Modified: trunk/Source/WebGPU/WebGPU/RenderBundleEncoder.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderBundleEncoder.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderBundleEncoder.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -74,6 +74,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPURenderBundleEncoderImpl {
     Ref<WebGPU::RenderBundleEncoder> renderBundleEncoder;
 };

Modified: trunk/Source/WebGPU/WebGPU/RenderBundleEncoder.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderBundleEncoder.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderBundleEncoder.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -171,6 +171,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuRenderBundleEncoderRelease(WGPURenderBundleEncoder renderBundleEncoder)
 {
     delete renderBundleEncoder;

Modified: trunk/Source/WebGPU/WebGPU/RenderPassEncoder.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderPassEncoder.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderPassEncoder.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -84,6 +84,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPURenderPassEncoderImpl {
     Ref<WebGPU::RenderPassEncoder> renderPassEncoder;
 };

Modified: trunk/Source/WebGPU/WebGPU/RenderPassEncoder.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderPassEncoder.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderPassEncoder.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -218,6 +218,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuRenderPassEncoderRelease(WGPURenderPassEncoder renderPassEncoder)
 {
     delete renderPassEncoder;

Modified: trunk/Source/WebGPU/WebGPU/RenderPipeline.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderPipeline.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderPipeline.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -56,6 +56,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPURenderPipelineImpl {
     Ref<WebGPU::RenderPipeline> renderPipeline;
 };

Modified: trunk/Source/WebGPU/WebGPU/RenderPipeline.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/RenderPipeline.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/RenderPipeline.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -64,6 +64,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuRenderPipelineRelease(WGPURenderPipeline renderPipeline)
 {
     delete renderPipeline;

Modified: trunk/Source/WebGPU/WebGPU/Sampler.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Sampler.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Sampler.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -62,6 +62,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUSamplerImpl {
     Ref<WebGPU::Sampler> sampler;
 };

Modified: trunk/Source/WebGPU/WebGPU/Sampler.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Sampler.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Sampler.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -219,6 +219,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuSamplerRelease(WGPUSampler sampler)
 {
     delete sampler;

Modified: trunk/Source/WebGPU/WebGPU/ShaderModule.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/ShaderModule.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/ShaderModule.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -69,6 +69,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUShaderModuleImpl {
     Ref<WebGPU::ShaderModule> shaderModule;
 };

Modified: trunk/Source/WebGPU/WebGPU/ShaderModule.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/ShaderModule.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/ShaderModule.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -246,6 +246,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuShaderModuleRelease(WGPUShaderModule shaderModule)
 {
     delete shaderModule;

Modified: trunk/Source/WebGPU/WebGPU/Surface.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Surface.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Surface.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -51,6 +51,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUSurfaceImpl {
     Ref<WebGPU::Surface> surface;
 };

Modified: trunk/Source/WebGPU/WebGPU/Surface.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Surface.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Surface.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -43,6 +43,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuSurfaceRelease(WGPUSurface surface)
 {
     delete surface;

Modified: trunk/Source/WebGPU/WebGPU/SwapChain.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/SwapChain.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/SwapChain.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -52,6 +52,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUSwapChainImpl {
     Ref<WebGPU::SwapChain> swapChain;
 };

Modified: trunk/Source/WebGPU/WebGPU/SwapChain.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/SwapChain.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/SwapChain.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -54,6 +54,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuSwapChainRelease(WGPUSwapChain swapChain)
 {
     delete swapChain;

Modified: trunk/Source/WebGPU/WebGPU/Texture.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Texture.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Texture.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -58,6 +58,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUTextureImpl {
     Ref<WebGPU::Texture> texture;
 };

Modified: trunk/Source/WebGPU/WebGPU/Texture.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/Texture.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/Texture.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -62,6 +62,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuTextureRelease(WGPUTexture texture)
 {
     delete texture;

Modified: trunk/Source/WebGPU/WebGPU/TextureView.h (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/TextureView.h	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/TextureView.h	2022-03-18 22:09:34 UTC (rev 291498)
@@ -53,6 +53,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Wrapper
+
 struct WGPUTextureViewImpl {
     Ref<WebGPU::TextureView> textureView;
 };

Modified: trunk/Source/WebGPU/WebGPU/TextureView.mm (291497 => 291498)


--- trunk/Source/WebGPU/WebGPU/TextureView.mm	2022-03-18 21:59:15 UTC (rev 291497)
+++ trunk/Source/WebGPU/WebGPU/TextureView.mm	2022-03-18 22:09:34 UTC (rev 291498)
@@ -44,6 +44,8 @@
 
 } // namespace WebGPU
 
+#pragma mark WGPU Stubs
+
 void wgpuTextureViewRelease(WGPUTextureView textureView)
 {
     UNUSED_PARAM(textureView);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to