LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 631 forks source link

Big delay(~1 second) when trying to resize the HelloVulkan example app #782

Closed programmer3481 closed 1 year ago

programmer3481 commented 1 year ago

Question

There is a noticeable delay(~1 second) from clicking and dragging on the edge of the window to the window and the window starting to follow the cursor. During this time, the window also freezes(the animation stops). The opengl demos only freeze when the window is being resized and the window borders immediately start following the curser.

LWJGL version is 3.3.1, jdk is Eclipse Temurin version 17.0.1, and it is running on windows 10 64 bit.

Can anyone explain why this is happening? and is there a way to fix it?

programmer3481 commented 1 year ago

so i found something strange: it only happens with my amd integrated gpu, and my seperate nvidia one works smoothly