-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event processing blocks during window resizing #408
Comments
I get the same behavior (no rendering during resize) on Windows as well. |
See the window refresh callback. |
Yes, that's the usual behavior. It happens when you have a typical simple I forgot about it, but as @elmindreda pointed out, the window refresh callback can be used to improve the behavior. I just played with it, and my understanding of what happens (please correct if inaccurate) is this:
I've tested it out with a simple |
Yes, it's perfectly fine to call |
OK, I understand now. Thanks! |
* FLEETSW-3173: resizing viz causes incorrect display on macos * FLEETSW-3174: relative paths fail for pcap replay on macos The resizing bug is due to how polling for events works on macos, explained here: glfw/glfw#408. This adds extra rendering updates inside the window resize callback, as suggested in the thread. The relative path bug was, surprisingly also due to some weird glfw3 behavior: only on macos, initializing the library changes the working directory. This adds an init hint to prevent that behavior. Approved-by: Kairen Wong Approved-by: Chris Bayruns
* FLEETSW-3173: resizing viz causes incorrect display on macos * FLEETSW-3174: relative paths fail for pcap replay on macos The resizing bug is due to how polling for events works on macos, explained here: glfw/glfw#408. This adds extra rendering updates inside the window resize callback, as suggested in the thread. The relative path bug was, surprisingly also due to some weird glfw3 behavior: only on macos, initializing the library changes the working directory. This adds an init hint to prevent that behavior. Approved-by: Kairen Wong Approved-by: Chris Bayruns
* FLEETSW-3173: resizing viz causes incorrect display on macos * FLEETSW-3174: relative paths fail for pcap replay on macos The resizing bug is due to how polling for events works on macos, explained here: glfw/glfw#408. This adds extra rendering updates inside the window resize callback, as suggested in the thread. The relative path bug was, surprisingly also due to some weird glfw3 behavior: only on macos, initializing the library changes the working directory. This adds an init hint to prevent that behavior. Approved-by: Kairen Wong Approved-by: Chris Bayruns
Hello, I'm not sure this is a bug in GLFW, and this issue exists in GLFW 3.0.4 and the latest 3.1 master:
Does anyone notice that in OSX, the OpenGL Context is not rendered (partially or totally) when resizing the window, just as shown in the screenshots below:
There's no such issue in Linux build.
The text was updated successfully, but these errors were encountered: