|
|
@ -223,7 +223,7 @@ internal static class AotCompilerTools |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Seeds every bulk operation exposed by <see cref="PixelOperations{TPixel}"/>.
|
|
|
/// Seeds the selected <see cref="PixelOperations{TPixel}"/> methods required by Mono WASM AOT.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <typeparam name="TPixel">The pixel format.</typeparam>
|
|
|
/// <typeparam name="TPixel">The pixel format.</typeparam>
|
|
|
[Preserve] |
|
|
[Preserve] |
|
|
@ -232,8 +232,7 @@ internal static class AotCompilerTools |
|
|
{ |
|
|
{ |
|
|
// These default arguments are never consumed. Direct calls are required so the IL contains the exact closed
|
|
|
// These default arguments are never consumed. Direct calls are required so the IL contains the exact closed
|
|
|
// MethodSpecs that Mono WASM AOT can otherwise miss when following static-abstract pixel dispatch indirectly.
|
|
|
// MethodSpecs that Mono WASM AOT can otherwise miss when following static-abstract pixel dispatch indirectly.
|
|
|
_ = PixelOperations<TPixel>.Instance; |
|
|
PixelOperations<TPixel> operations = PixelOperations<TPixel>.Instance; |
|
|
PixelOperations<TPixel> operations = default; |
|
|
|
|
|
|
|
|
|
|
|
_ = operations.GetPixelTypeInfo(); |
|
|
_ = operations.GetPixelTypeInfo(); |
|
|
_ = operations.GetPixelBlender(default(GraphicsOptions)); |
|
|
_ = operations.GetPixelBlender(default(GraphicsOptions)); |
|
|
|