SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.54k
stars
542
forks
source link
[BUG] Missing `GRBackendRenderTarget` ctor for Metal #3069
Description
PR #2788 has done most of the work to bring Metal APIs to all Skia platforms. However it's missing the API to create
GRBackendRenderTarget
.Code
Thie force code such as https://github.com/unoplatform/uno/blob/ce498ef9e916936f8df4d24476085641899ab151/src/Uno.UI.Runtime.Skia.MacOS/MacOSMetalRenderer.cs#L31-L48
Expected Behavior
The
public GRBackendRenderTarget (int width, int height, GRMtlTextureInfo mtlInfo)
should be available innetXX
builds.Actual Behavior
The API is missing.
Version of SkiaSharp
2.88.9 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Other (Please indicate in the description)
Platform / Operating System
macOS
Platform / Operating System Version
No response
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct