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 Ian MacArthur Sep 15, 2022  
 
On Thursday, 15 September 2022 at 14:14:30 UTC+1 Gonzalo wrote:

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.

So... like creating an offscreen GL surface, and then getting the context for that, perhaps?
I think you can (at least with fltk-1.4) create offscreen GL surfaces, so that sounds entirely feasible.

That said, the example I thought I had of that, I can not now find; I was pretty sure it was on this laptop, but apparently not...

 

--
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/48dfc091-288a-4128-b44e-88432d863762n%40googlegroups.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'.