Comments (6)
it looks like it's back in the version 3.0.0-preview3.1
Did I dream that it was there before ? I don't think so.
My add did work on iOS before I upgraded.
It used to be there with the UseSkiSharp(true)
overload.
btw 3.0.0-preview3.1 is crashing with that message:
The version of the native libSkiaSharp library (88.1) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [115.0, 116.0).
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Version minSupported, Version current, Boolean throwIfIncompatible)
at SkiaSharp.SkiaSharpVersion.CheckNativeLibraryCompatible(Boolean throwIfIncompatible)
at SkiaSharp.SKObject..cctor()
InnerException was TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception.
at SkiaSharp.SKData..ctor(IntPtr x, Boolean owns)
at SkiaSharp.SKData.SKDataStatic..ctor(IntPtr x)
at SkiaSharp.SKData..cctor()
from skiasharp.
.NET runtime in .NET 9.0 Preview 3 is broken since they removed some globalization code. For the time being, adding <InvariantGlobalization>true</InvariantGlobalization>
to your project file should help.
from skiasharp.
.NET runtime in .NET 9.0 Preview 3 is broken since they removed some globalization code. For the time being, adding
<InvariantGlobalization>true</InvariantGlobalization>
to your project file should help.
I'm using the .NET 8 stable release, not .NET 9 previews. Does that still apply ?
from skiasharp.
Then it may be something different. On that note, not sure if SkiaSharp 3.0 Preview 3.1 is fully compatible with .NET 8. It seems like it is being developed for .NET 9.
from skiasharp.
Then it may be something different. On that note, not sure if SkiaSharp 3.0 Preview 3.1 is fully compatible with .NET 8. It seems like it is being developed for .NET 9.
Well when you develop something specifically for .net9, your tfm won't be .net7. Not sure you are right on that one.
from skiasharp.
I think the issue about the missing API is that you need to use the compatibility nuget for 2.x: https://github.com/mono/SkiaSharp/blob/release/2.x/source/SkiaSharp.Views.Maui/SkiaSharp.Views.Maui.Controls.Compatibility/AppHostBuilderExtensions.cs#L22
For 3.x, this API is no longer needed since the GL view is now part of the handlers: https://github.com/mono/SkiaSharp/blob/main/source/SkiaSharp.Views.Maui/SkiaSharp.Views.Maui.Controls/AppHostBuilderExtensions.cs#L16
from skiasharp.
Related Issues (20)
- Canvas Info shows huge size when using Chrome Debugger and using Device Emulation
- [BUG] Build outputs duplicate native libraries HOT 2
- Skia Blazor Runs in debugger but not when deployed
- [BUG] SKGLElement gives black screen on Intel integrated graphics
- [BUG] On iOS, with .NET 9.0 Preview 2 and 3 and SkiaSharp 3.0 Preview 2.1 / 3.1, SKGLView corrupts SkiaSharp memory and stops SkiaSharp from functioning HOT 8
- [BUG] The position draw on SKXamCanvas is not correct. #1585 Was this a bug that you worked around? HOT 3
- [PERFORMANCE] On iOS, layout speed of pages with SKGLView is slow, making layout wobbly at start (SKCanvasView is instantaneous)
- [BUG] SkiaSharp 2.88.8 (Xamarin) crashes randomly with Mali GPUs HOT 4
- [BUG] SKPaint's IsAntiAlisasing is on on Android but off on iOS by default (Xamarin / SkiaSharp 2.88.8) HOT 1
- [BUG] SkiaSharp crashes in WebAssembly if building with non-Release/Debug build config HOT 1
- [BUG] Canvas.DrawPath Cause Memory Leak on Windows 11 HOT 1
- [BUG] SKBitmap.ColorSpace is always null. Unable to check for CMYK, RGB, etc. HOT 1
- [BUG] CR2 image orientation being detected incorrectly.
- [BUG] Decoding fails with tif files
- [BUG] <title>2.80.3 Excellent performance 300+FPS, 2.88.8 poor performance 30+FPS HOT 1
- [BUG] Horizontal lines disappear when zoomed in HOT 1
- [BUG] "Handler not found for view SkiaSharp.Views.Maui.Controls.SKGLView." HOT 4
- [FEATURE] Implicit conversions between ValueTuples and SKPoint
- [BUG] samples/Basic/iOS/SkiaSharpSample canvas.DrawText cannot convert arguments HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skiasharp.