[Mono-winforms-list] Embed OpenGL rendering in a winform app (linux)
StApostol
stapostol at gmail.com
Thu Dec 4 08:29:30 EST 2008
Getting the window handle is not enough to create the OpenGL context on X11.
How are you creating the context? Is this done on the C++ side or on C#? If
it's the latter, you could just use an OpenTK.GLControl to create a context
in your WinForms app and leave everything else the same (
http://www.opentk.com). If it's the former, you'll have to look up how the
C++ library creates the context and find a way to pass the necessary
information from your app to that (you'll probably need to use reflection in
order to access the display connection, screen and visual used by Mono
WinForms).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20081204/35a0e991/attachment.html
More information about the Mono-winforms-list
mailing list