From 8e1583b839f3145cbccef0a09d144a37887ddaa6 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed, 5 Aug 2026 09:07:16 +0000
Subject: [PATCH] Fill and review API documentation
Filled type and member summaries for four new Graphite/Image enums:
- SKGraphiteBackend
- SKGraphiteInsertStatus
- SKImageRescaleMode
- SKImageRescaleGamma
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
SkiaSharpAPI/SkiaSharp/SKGraphiteBackend.xml | 91 +++++++++++++
.../SkiaSharp/SKGraphiteInsertStatus.xml | 120 ++++++++++++++++++
.../SkiaSharp/SKImageRescaleGamma.xml | 52 ++++++++
SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml | 86 +++++++++++++
4 files changed, 349 insertions(+)
create mode 100644 SkiaSharpAPI/SkiaSharp/SKGraphiteBackend.xml
create mode 100644 SkiaSharpAPI/SkiaSharp/SKGraphiteInsertStatus.xml
create mode 100644 SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml
create mode 100644 SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml
diff --git a/SkiaSharpAPI/SkiaSharp/SKGraphiteBackend.xml b/SkiaSharpAPI/SkiaSharp/SKGraphiteBackend.xml
new file mode 100644
index 0000000..3d5cbd5
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKGraphiteBackend.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ System.Enum
+
+
+ Identifies the graphics backend that drives a Skia Graphite context.
+
+ is bound to.
+]]>
+
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteBackend
+
+ 0
+
+ The Dawn backend, which targets WebGPU (Direct3D, Metal, or Vulkan depending on the platform).
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteBackend
+
+ 1
+
+ The Apple Metal backend.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteBackend
+
+ -1
+
+ The backend is not known or has not been set.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteBackend
+
+ 2
+
+ The Vulkan backend.
+
+
+
+
diff --git a/SkiaSharpAPI/SkiaSharp/SKGraphiteInsertStatus.xml b/SkiaSharpAPI/SkiaSharp/SKGraphiteInsertStatus.xml
new file mode 100644
index 0000000..0260b29
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKGraphiteInsertStatus.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ System.Enum
+
+
+ Describes the outcome of inserting a into a .
+ To be added.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteInsertStatus
+
+ 3
+
+ The backend failed to record the commands from the recording.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteInsertStatus
+
+ 4
+
+ One or more asynchronous shader compilations required by the recording failed.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteInsertStatus
+
+ 1
+
+ The supplied was not valid.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteInsertStatus
+
+ 5
+
+ The recording was submitted out of order relative to its recorder's history.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteInsertStatus
+
+ 2
+
+ A promise image referenced by the recording failed to instantiate.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKGraphiteInsertStatus
+
+ 0
+
+ The recording was inserted successfully.
+
+
+
+
diff --git a/SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml b/SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml
new file mode 100644
index 0000000..c63a266
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ System.Enum
+
+
+ Selects the gamma color space used while rescaling an .
+ To be added.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKImageRescaleGamma
+
+ 1
+
+ Convert to a linear color space, rescale, and convert back for higher-quality results.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKImageRescaleGamma
+
+ 0
+
+ Perform the rescale in the source image's gamma-encoded color space.
+
+
+
+
diff --git a/SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml b/SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml
new file mode 100644
index 0000000..0bd9d95
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml
@@ -0,0 +1,86 @@
+
+
+
+
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ System.Enum
+
+
+ Selects the sampling algorithm used when rescaling an .
+ To be added.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 1
+
+ Rescale using a single bilinear step.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 0
+
+ Rescale using nearest-neighbor sampling.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 3
+
+ Rescale by repeatedly halving (or doubling) with bicubic filtering until the target size is reached.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.152.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 2
+
+ Rescale by repeatedly halving (or doubling) with bilinear filtering until the target size is reached.
+
+
+
+