FLTK logo

Re: [fltk.general] Window maximizing with Fl_Gl_Window

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: Window maximizing with Fl_Gl_Window imm Jan 30, 2023  
 
On Mon, 30 Jan 2023 at 10:18, Ian MacArthur wrote:
>
> OK, so I tried a few boxes (and also tried WSL2, since I have my Win11 box running anyway; my WSL2 setup is basically Ubuntu 22.04, FWIW.)
>
> The results were mixed: I have one laptop, with Ubuntu 22.04 with an Intel GPU, that behaves as the OP showed, when running in X11 mode. Running in Wayland mode it is fine, no problem.

So... here's an additional observation: on the "failing" laptop, the
mis-behaviour "often" (most times but not always) appears if the view
is in double-buffered mode when I switch it to fullscreen. If the view
is in single-buffer mode, it "usually" works fine.
So it may be an issue with flipping the buffers in the Intel GLX or some such?

Don't really know...

FWIW, I tried a few things, and so long as the GL view is
single-buffered, it basically seems to work OK; if the GL view is
double-buffered, the front buffer does not get consistently updated -
not just resizing to fullscreen, but some other refreshes seem to get
missed too.
And: This may be an alternate explanation for why the test/cube demo
is unaffected, since it is single-buffered.

-- 
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/CAGFM6dYxNkJRM7HAGWGnEb%3DZ-rETyFf0GHqz-AD-RYaP7gKj1w%40mail.gmail.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'.