|
|
> El 15 sep. 2022, a las 03:25, Manolo <manolo.gouy@gmail.com> escribió:
>
>
>
> Le jeudi 15 septembre 2022 à 03:55:28 UTC+2, ggar...@gmail.com a écrit :
> ……
>
> The QOffscreenSurface I gather is the equivalent to Fl_Image_Surface in FLTK, but I don’t have a clue what would be equivalent to QOpenGLContext. Does FLTK offer a GL context class?
>
> You can access the GL context with public member Fl_Gl_Window->context()
> see https://fltk.gitlab.io/fltk/classFl__Gl__Window.html#a20be02fa71b5d08efcf5a30d86f7b42c
>
My problem is not accessing the context from a Fl_Gl_Window. I am trying to set the active GL context *without* opening any windows, as Qt does. It allows the GL context to run on a separate thread instead of the main loop thread.
—
Gonzalo Garramuno
ggarra13@gmail.com
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CC38CDB8-6A6E-4097-8BCE-8A3D4EA05A3B%40gmail.com.
[ Direct Link to Message ] | |
|
| |