diff --git a/SkiaSharpAPI/SkiaSharp/GRContext.xml b/SkiaSharpAPI/SkiaSharp/GRContext.xml
index 9a251e7..474a91b 100644
--- a/SkiaSharpAPI/SkiaSharp/GRContext.xml
+++ b/SkiaSharpAPI/SkiaSharp/GRContext.xml
@@ -4,7 +4,7 @@
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRRecordingContext
@@ -22,7 +22,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -43,7 +43,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRBackend
@@ -54,6 +54,24 @@
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+ Polls for completion of pending asynchronous GPU work submitted through this context and dispatches any callbacks that are ready.
+ Callbacks queued by operations such as only fire when the context is given a chance to observe that the GPU has finished; call this method (typically once per frame) to drive that dispatch.
+
+
@@ -61,7 +79,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -83,7 +101,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -107,7 +125,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -126,7 +144,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -148,7 +166,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -170,7 +188,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -194,7 +212,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -216,7 +234,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -240,7 +258,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -262,7 +280,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRContext
@@ -286,7 +304,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -308,7 +326,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -326,7 +344,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -347,7 +365,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -365,7 +383,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -386,7 +404,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -407,7 +425,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -432,7 +450,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Int32
@@ -454,7 +472,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Int64
@@ -473,7 +491,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -496,7 +514,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -515,7 +533,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -533,7 +551,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -555,7 +573,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -579,7 +597,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -600,7 +618,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -621,7 +639,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -642,7 +660,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -663,7 +681,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -684,7 +702,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
diff --git a/SkiaSharpAPI/SkiaSharp/GRVkExtensions.xml b/SkiaSharpAPI/SkiaSharp/GRVkExtensions.xml
index 0197a69..5135573 100644
--- a/SkiaSharpAPI/SkiaSharp/GRVkExtensions.xml
+++ b/SkiaSharpAPI/SkiaSharp/GRVkExtensions.xml
@@ -4,7 +4,7 @@
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKObject
@@ -15,6 +15,21 @@
+
+
+
+
+ Constructor
+
+ SkiaSharp
+ 4.151.0.0
+
+
+
+ Creates a new, empty Vulkan extensions collection. Call to populate it before use.
+ Prefer when the instance and device extension lists are already known; it constructs and initializes the collection in a single call.
+
+
@@ -22,7 +37,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRVkExtensions
@@ -52,7 +67,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -70,7 +85,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -93,7 +108,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -118,7 +133,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
diff --git a/SkiaSharpAPI/SkiaSharp/SKImage.xml b/SkiaSharpAPI/SkiaSharp/SKImage.xml
index 06c80e9..7ce928d 100644
--- a/SkiaSharpAPI/SkiaSharp/SKImage.xml
+++ b/SkiaSharpAPI/SkiaSharp/SKImage.xml
@@ -4,7 +4,7 @@
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKObject
@@ -28,7 +28,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKAlphaType
@@ -46,7 +46,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -76,7 +76,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -106,7 +106,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -138,7 +138,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -170,7 +170,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKColorSpace
@@ -188,7 +188,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKColorType
@@ -206,7 +206,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -228,7 +228,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -250,7 +250,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKData
@@ -269,7 +269,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKData
@@ -293,7 +293,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKData
@@ -311,7 +311,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -337,7 +337,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -363,7 +363,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -391,7 +391,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -419,7 +419,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -449,7 +449,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -479,7 +479,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -511,7 +511,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -543,7 +543,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -565,7 +565,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -587,7 +587,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -609,7 +609,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -631,7 +631,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -653,7 +653,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -675,7 +675,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -697,7 +697,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -721,7 +721,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -745,7 +745,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -771,7 +771,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -797,7 +797,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -825,7 +825,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -847,7 +847,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -871,7 +871,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -895,7 +895,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -919,7 +919,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -943,7 +943,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -967,7 +967,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -993,7 +993,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1019,7 +1019,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1045,7 +1045,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1071,7 +1071,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1097,7 +1097,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1119,7 +1119,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1143,7 +1143,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1167,7 +1167,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1191,7 +1191,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1217,7 +1217,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1243,7 +1243,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1269,7 +1269,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1295,7 +1295,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1321,7 +1321,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1349,7 +1349,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1377,7 +1377,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1407,7 +1407,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1437,7 +1437,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1469,7 +1469,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1501,7 +1501,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1535,7 +1535,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1569,7 +1569,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1605,7 +1605,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1641,7 +1641,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Int32
@@ -1659,7 +1659,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImageInfo
@@ -1677,7 +1677,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1696,7 +1696,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1715,7 +1715,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1734,7 +1734,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1756,7 +1756,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1778,7 +1778,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKPixmap
@@ -1797,7 +1797,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1819,7 +1819,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1841,7 +1841,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1865,7 +1865,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1891,7 +1891,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1917,7 +1917,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1945,7 +1945,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1975,7 +1975,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -2000,6 +2000,60 @@
This method may return if the source rectangle [, , dstInfo.Width, dstInfo.Height] does not intersect the image, or if the color type/alpha type could not be converted to the destination types.
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+
+
+
+
+ Describes the pixel layout (dimensions, color type, alpha type and color space) requested for the returned pixels.
+ The region of this image, in image pixels, to read.
+ Delegate invoked with the read result once the GPU work completes; the argument is if the read failed. The is only valid for the duration of the callback.
+ Asynchronously reads pixels from a region of this image, converting them to the requested and invoking when the result is ready.
+ Equivalent to calling the five-argument overload with and . For GPU-backed images the callback is deferred until (or a flush/submit that waits) observes completion.
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+
+
+
+
+
+
+ Describes the pixel layout (dimensions, color type, alpha type and color space) requested for the returned pixels.
+ The region of this image, in image pixels, to read.
+ Gamma space in which rescaling is performed when 's dimensions differ from .
+ Resampling algorithm used when rescaling from to 's dimensions.
+ Delegate invoked with the read result once the GPU work completes; the argument is if the read failed. The is only valid for the duration of the callback.
+ Asynchronously rescales a region of this image to the size described by and reads the resulting pixels, invoking when the result is ready.
+ For GPU-backed images the callback is deferred until (or a flush/submit that waits) observes completion. Choose and to trade cost against filtering quality.
+
+
@@ -2007,7 +2061,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -2031,7 +2085,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -2057,7 +2111,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2079,7 +2133,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2103,7 +2157,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2122,7 +2176,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2144,7 +2198,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2163,7 +2217,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2187,7 +2241,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2213,7 +2267,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2239,7 +2293,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2267,7 +2321,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2286,7 +2340,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2310,7 +2364,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2336,7 +2390,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2362,7 +2416,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKShader
@@ -2390,7 +2444,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2412,7 +2466,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2436,7 +2490,7 @@
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -2462,7 +2516,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.UInt32
@@ -2480,7 +2534,7 @@
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Int32
diff --git a/SkiaSharpAPI/SkiaSharp/SKImageReadPixelsResult.xml b/SkiaSharpAPI/SkiaSharp/SKImageReadPixelsResult.xml
new file mode 100644
index 0000000..e8789f0
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKImageReadPixelsResult.xml
@@ -0,0 +1,189 @@
+
+
+
+
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Object
+
+
+
+ System.IDisposable
+
+
+
+ Holds the pixel data produced by an asynchronous read initiated with or .
+ An instance is only valid for the duration of the callback that receives it; access after the callback returns throws . To keep the pixels alive longer, copy them out with , , , or before the callback returns.
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+
+
+
+ Zero-based index of the plane to copy; must be in the range [0, ).
+ Buffer that receives the plane as tightly-packed pixels (the destination stride is the requested ). Must be at least info.RowBytes * info.Height bytes.
+ Copies the pixels of the specified plane into , stripping any per-row padding present in the underlying transfer buffer.
+ Use this to obtain a compact copy that outlives the callback. To keep the source stride instead, use together with .
+
+
+
+
+
+
+ Method
+
+ M:System.IDisposable.Dispose
+
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+ Releases the reference to the native read result and marks this instance as no longer usable.
+ Callers do not normally need to invoke directly; the object is disposed automatically when the async read callback returns.
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.ReadOnlySpan<System.Byte>
+
+
+
+
+
+ Zero-based index of the plane to inspect; must be in the range [0, ).
+ Gets a read-only view over the raw pixels of the specified plane, laid out exactly as Skia produced them (including any per-row padding).
+ A of length GetPlaneRowBytes(planeIndex) * info.Height, or an empty span if the plane has no data.
+ The returned span references memory owned by the native result and is only valid while the callback is executing. Combine with to walk the plane row by row. To retain the pixels beyond the callback, use or .
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Int32
+
+
+
+
+
+ Zero-based index of the plane to inspect; must be in the range [0, ).
+ Gets the number of bytes between consecutive rows of the specified plane in the underlying transfer buffer.
+ The plane's stride in bytes; always at least width * bytesPerPixel, and may be greater due to padding.
+ Use this stride when reading the plane through . already strips this padding when copying into a tightly-packed destination.
+
+
+
+
+
+
+ Property
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Int32
+
+
+ Gets the number of planes in the read result.
+ The plane count: 1 for interleaved formats and greater than one for planar (for example YUV) reads.
+ Valid plane indices for , , and lie in the range [0, PlaneCount).
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Byte[]
+
+
+
+
+
+ Zero-based index of the plane to copy; defaults to 0. Must be in the range [0, ).
+ Copies the specified plane into a newly allocated, tightly-packed byte array that outlives the callback.
+ A fresh array of length info.RowBytes * info.Height holding the plane pixels with no per-row padding.
+ Equivalent to allocating a buffer of the correct size and calling . Prefer CopyPlaneTo when you already have a buffer to reuse.
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKBitmap
+
+
+
+ Materializes the (single-plane) result into a new that owns its pixels and outlives the callback.
+ A new sized according to the info passed to the originating request; the caller owns the returned bitmap and is responsible for disposing it.
+ Only valid when is 1; throws for planar (multi-plane) results.
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImage
+
+
+
+ Materializes the (single-plane) result into a new raster that owns its pixels and outlives the callback.
+ A new sized according to the info passed to the originating request; the caller owns the returned image and is responsible for disposing it.
+ Only valid when is 1; throws for planar (multi-plane) results.
+
+
+
+
diff --git a/SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml b/SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml
new file mode 100644
index 0000000..5a78d96
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKImageRescaleGamma.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Enum
+
+
+ Specifies the gamma space in which asynchronous rescale-and-read operations sample and filter the source pixels.
+ Passed to and the matching overload on to control whether rescaling is performed directly in the source encoding or in a linearized space.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImageRescaleGamma
+
+ 1
+
+ Rescale in a linearized gamma space; the source pixels are converted to linear light before filtering and converted back afterwards.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImageRescaleGamma
+
+ 0
+
+ Rescale directly in the source image's gamma space, without converting to linear light.
+
+
+
+
diff --git a/SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml b/SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml
new file mode 100644
index 0000000..d9e90d2
--- /dev/null
+++ b/SkiaSharpAPI/SkiaSharp/SKImageRescaleMode.xml
@@ -0,0 +1,86 @@
+
+
+
+
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Enum
+
+
+ Specifies the resampling algorithm used by asynchronous rescale-and-read operations to scale the source region into the destination image.
+ Passed to and the matching overload on to trade filtering quality against cost.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 1
+
+ Single-pass bilinear filtering; a good balance of quality and cost for modest rescales.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 0
+
+ Nearest-neighbor sampling; the fastest option and typically the lowest quality.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 3
+
+ Repeated bicubic filtering; iteratively halves the source before the final resample to produce high-quality results even for large downscales.
+
+
+
+
+
+
+ Field
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ SkiaSharp.SKImageRescaleMode
+
+ 2
+
+ Repeated bilinear filtering; iteratively halves the source before the final resample to avoid aliasing on large downscales.
+
+
+
+
diff --git a/SkiaSharpAPI/SkiaSharp/SKSurface.xml b/SkiaSharpAPI/SkiaSharp/SKSurface.xml
index 1e8a782..60aa1a9 100644
--- a/SkiaSharpAPI/SkiaSharp/SKSurface.xml
+++ b/SkiaSharpAPI/SkiaSharp/SKSurface.xml
@@ -4,7 +4,7 @@
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKObject
@@ -71,7 +71,7 @@ The example above produces the following:
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKCanvas
@@ -89,7 +89,7 @@ The example above produces the following:
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.GRRecordingContext
@@ -107,7 +107,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -129,7 +129,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -151,7 +151,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -175,7 +175,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -199,7 +199,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -223,7 +223,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -247,7 +247,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -273,7 +273,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -299,7 +299,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -325,7 +325,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -351,7 +351,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -377,7 +377,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -403,7 +403,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -429,7 +429,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -455,7 +455,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -481,7 +481,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -509,7 +509,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -537,7 +537,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -565,7 +565,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -593,7 +593,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -621,7 +621,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -649,7 +649,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -677,7 +677,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -705,7 +705,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -733,7 +733,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -761,7 +761,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -789,7 +789,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -817,7 +817,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -845,7 +845,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -875,7 +875,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -905,7 +905,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -935,7 +935,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -965,7 +965,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -995,7 +995,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1025,7 +1025,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1055,7 +1055,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1085,7 +1085,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1115,7 +1115,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1145,7 +1145,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1175,7 +1175,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1205,7 +1205,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1235,7 +1235,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1267,7 +1267,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1299,7 +1299,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1331,7 +1331,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1363,7 +1363,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1395,7 +1395,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1427,7 +1427,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1459,7 +1459,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1493,7 +1493,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1527,7 +1527,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1561,7 +1561,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1595,7 +1595,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurface
@@ -1619,7 +1619,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1641,7 +1641,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1659,7 +1659,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1686,7 +1686,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1713,7 +1713,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1742,7 +1742,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1760,7 +1760,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Void
@@ -1783,7 +1783,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKPixmap
@@ -1802,7 +1802,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1824,7 +1824,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
System.Boolean
@@ -1847,6 +1847,60 @@ The example above produces the following:
This method may return if the source rectangle [, , dstInfo.Width, dstInfo.Height] does not intersect the surface, or if the color type/alpha type could not be converted to the destination types.
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+
+
+
+
+ Describes the pixel layout (dimensions, color type, alpha type and color space) requested for the returned pixels.
+ The region of this surface, in surface pixels, to read.
+ Delegate invoked with the read result once the GPU work completes; the argument is if the read failed. The is only valid for the duration of the callback.
+ Asynchronously reads pixels from a region of this surface, converting them to the requested and invoking when the result is ready.
+ Equivalent to calling the five-argument overload with and . For GPU-backed surfaces the callback is deferred until (or a flush/submit that waits) observes completion.
+
+
+
+
+
+
+ Method
+
+ SkiaSharp
+ 4.151.0.0
+
+
+ System.Void
+
+
+
+
+
+
+
+
+
+ Describes the pixel layout (dimensions, color type, alpha type and color space) requested for the returned pixels.
+ The region of this surface, in surface pixels, to read.
+ Gamma space in which rescaling is performed when 's dimensions differ from .
+ Resampling algorithm used when rescaling from to 's dimensions.
+ Delegate invoked with the read result once the GPU work completes; the argument is if the read failed. The is only valid for the duration of the callback.
+ Asynchronously rescales a region of this surface to the size described by and reads the resulting pixels, invoking when the result is ready.
+ For GPU-backed surfaces the callback is deferred until (or a flush/submit that waits) observes completion. Choose and to trade cost against filtering quality.
+
+
@@ -1854,7 +1908,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1873,7 +1927,7 @@ The example above produces the following:
Method
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKImage
@@ -1895,7 +1949,7 @@ The example above produces the following:
Property
SkiaSharp
- 4.150.0.0
+ 4.151.0.0
SkiaSharp.SKSurfaceProperties