FLTK logo

Re: [fltk.general] Porting a Qt application that uses QOffscreenSurface and QOpenGLContext

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Porting a Qt application that uses QOffscreenSurface and QOpenGLContext Gonzalo Garramuno Sep 15, 2022  
 

> 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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.