X11: Reduce startup time by ~25% by only querying GLX for framebuffer configurations once

On my system reduces the number of getpid() calls from 67982 to 17327
I dont know why get framebuffer config attributes requires getpid() and
why it is so slow, probably a driver bug. Fixes #2754
This commit is contained in:
Kovid Goyal
2020-06-09 01:04:09 +05:30
parent cd4dacb406
commit 27b6517594
2 changed files with 13 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- X11: Recompile keymaps on XkbNewKeyboardNotify events (:iss:`2726`)
- X11: Reduce startup time by ~25% by only querying GLX for framebuffer
configurations once (:iss:`2754`)
- macOS: Notarize the kitty application (:iss:`2040`)