FLTK logo

[fltk.coredev] Fl_Cocoa_Gl_Window_Driver::resize() breaks Tile behavior on Debug builds

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

Fl_Cocoa_Gl_Window_Driver::resize() breaks Tile behavior on Debug builds Gonzalo Garramuno 18:09 Jul 11  
 
Following Fl_Tile with two OpenGL subwindows (one in a group), creates refresh issues on Windows and macOS #737

I found out in my program that if I compiled FLTK Debug on macOS, there would be no red flickering on, at least, one of the windows with FL_DOUBLE and the other window would also not flicker if this second window did not use FL_DOUBLE.  This had solved my issues.

The tileGL.cxx sample program the Manolo provided would not flicker on any windows on macOS if the windows were *not* created with FL_DOUBLE.

Now, this commit:

81615bbe0 Fix Fl_Cocoa_Gl_Window_Driver::resize()

Breaks that behavior and makes the FL_DOUBLE GL Window flicker on resize.

I’ll see in the coming week if I can provide a simple example (besides tileGL.cxx) so that it can be tested on both Debug and Release builds.


—
Gonzalo Garramuno
ggarra13@gmail.com




-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/A02BA606-12C9-493C-B1D8-17815D0B1ECB%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'.