Skip to content

Commit 1229e73

Browse files
Update reference images
1 parent 34f110f commit 1229e73

222 files changed

Lines changed: 486 additions & 314 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ImageSharp.Drawing.WebGPU/WebGPUSurfaceCapability.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ namespace SixLabors.ImageSharp.Drawing.Processing.Backends;
66
/// <summary>
77
/// Native WebGPU surface capability attached to <see cref="NativeSurface"/>.
88
/// </summary>
9+
/// <remarks>
10+
/// The <see cref="Device"/> handle must remain valid for the lifetime of any
11+
/// <see cref="IDrawingBackend"/> that processes frames using this capability.
12+
/// The backend caches per-device GPU resources (pipelines, buffers) that reference
13+
/// the device internally. Ensure the device is not released while any backend
14+
/// instance may still reference it.
15+
/// </remarks>
916
public sealed class WebGPUSurfaceCapability
1017
{
1118
/// <summary>
1219
/// Initializes a new instance of the <see cref="WebGPUSurfaceCapability"/> class.
1320
/// </summary>
14-
/// <param name="device">Opaque <c>WGPUDevice*</c> handle.</param>
21+
/// <param name="device">Opaque <c>WGPUDevice*</c> handle. Must remain valid for the lifetime of any backend that uses this capability.</param>
1522
/// <param name="queue">Opaque <c>WGPUQueue*</c> handle.</param>
1623
/// <param name="targetTexture">Opaque <c>WGPUTexture*</c> handle for the current frame when writable upload is supported.</param>
1724
/// <param name="targetTextureView">Opaque <c>WGPUTextureView*</c> handle for the current frame.</param>
Lines changed: 1 addition & 1 deletion
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)