SkiaSharp
SkiaSharp copied to clipboard
.NET MAUI and/or WinUI 3 `SKGLView` is not transparent
Description
SKGLView always draws an opaque gray background instead of a transparent background when specified to be transparent. SKCanvasView works fine.
Code
https://github.com/hyvanmielenpelit/GnollHack
Expected Behavior
Both SKGLView and SKCanvasView draw a transparent background upon canvas.Clear()
.
Actual Behavior
SKCanvasView draws a transparent background upon canvas.Clear()
but SKGLView draws an opaque gray background.
Version of SkiaSharp
3.x (Alpha)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 11 Home, version 10.0.22631
Devices
Micro-Star International Co., Ltd. Pulse GL66 11UDK
Relevant Screenshots
Relevant Log Output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct