seanofw

Results 24 comments of seanofw

I’ve never used Avalonia, but you might also want to compare the source code of my WinForms control for OpenTK 4: https://github.com/seanofw/opentk.winforms It’s pretty full-featured at this point, works well,...

> The below link has a suggested workaround, but I don't understand it enough to try to implement it. > https://stackoverflow.com/questions/62372029/can-i-use-different-multigpu-in-opengl The answer @l_belev gives at that link is interesting,...

Probably not? OpenTK is focused around being a C#-level wrapper around OpenGL and GLFW, both of which are hard compiled system libraries, written in C/C++. WebGL has a similar programmatic...

It's not really a change in behavior, but it was just less likely to happen in earlier versions of OpenTK. Invoking `Close()` doesn't actually close the window, and in OpenTK...

@yantru For what it's worth, I spent part of this weekend rewriting the `GLControl` mostly from scratch to be compatible with OpenTK 4.x. While it's still a prototype, you (and...

I made a number of substantial changes to the WinForms control today in my local copy, in discussion with @varon; its API is cleaner, and it handles events much better...

`MakeCurrent()` must be issued by _each_ control before it performs _any_ OpenGL operations, _every_ time. That's how OpenGL knows which control it should draw on and update: `MakeCurrent()` is a...

I've added updated demos, and also fixed a number of small input-event-related bugs today. @yantru , you should look at the code in the new Multi GLControl demo project, since...

`DesignMode` is a mess, as you noted, and it doesn't work very well under inheritance or containment: And in .NET Core's version of WinForms, the `LicenseManager` trick no longer seems...

Rather than adding STB image functions to OpenTK, why not just use the library someone else already made that does _exactly_ that? https://github.com/StbSharp/StbImageSharp