Replies: 1 comment 7 replies
-
Transferred this to the Drawing repostiory. Note that ImageSharp and ImageSharp.Drawing do not have GPU acceleration, it's centered around in-memory image objects, and all rendering is done by the CPU. You cannot bind our images to window handles. The best thing you can do is to wrap existing memory as |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I am currently using SkiaSharp to draw to an OpenGL context provided by a GLFW window. When GLFW creates a window, it also creates an OpenGL context that is tied to the window. This context is then passed to SkiaSharp to draw to. An example F# test program:
Can ImageSharp be used in a similar manner where I could use GLFW to create windows and use ImageSharp to draw to the window? Alternatives like using a Vulkan device instead of OpenGL are valid since I believe GLFW supports this, although I am not familiar with Vulkan yet.
I am having a lot of trouble with SkiaSharp and am investigating potential alternatives. The end goal is to use GLFW plus SkiaSharp or ImageSharp or whatever other 2D graphics library to build a GUI system for user interfaces, animations, creative coding, etc.
Beta Was this translation helpful? Give feedback.
All reactions