HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
562 stars 44 forks source link

Windows: OpenGL status #44

Closed tonsky closed 3 years ago

tonsky commented 3 years ago
  1. [ ] FPS is determined by the primary monitor for both monitors (Chrome/Edge/FF behave the same)
  2. [ ] Two windows split FPS in half (30/30 on 60 Hz)
  3. [x] Scale is switched correctly on the fly
  4. [ ] All windows freeze once one enters resize
  5. [x] Window in the focus animated on size/move
  6. [x] Background windows freeze once window in the focus enters resize
  7. [ ] Collapsed window renders with no delay

Fun gotcha: in Windows, a window can occupy multiple monitors. In that case, Windows uses the settings from the monitor where the biggest part of the window is:

https://user-images.githubusercontent.com/285292/126169165-90245657-a199-40ee-891c-17fab25ab19e.mp4

Also notice on-the fly scale change (2.0 to 1.75)