[fltk.general] How can I disable automatic buffer swapping in subwindows?

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 ]

How can I disable automatic buffer swapping in subwindows? jgcodes2020 14:20 Jul 31 top right image
I'm considering FLTK to build an emulator frontend for Mupen64Plus.

To allow the emulator to provide output, it needs a (child) window that it gains exclusive control of. This means that I need to somehow disable calling swap_buffers() after draw() in an Fl_Gl_Window, so that I can manually call swap_buffers when I desire.

However, I only want to do this for the emulator's child window. I want everything else to draw according to FLTK's event loop.

How would I accomplish this?

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/58c673d4-067a-4c82-be3c-6272d941a1e4n%40googlegroups.com.
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

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