kitty/glfw
Luflosi f3b9ff5f9f
Use datatype monotonic_t instead of double to keep track of time
The time is stored in a signed 64 bit integer with nanosecond accuracy. This eliminates the possibility of floating-point inaccuracies.
`monotonic_t` can currently hold values large enough to work correctly for more than 200 years into the future.
Using a typedef instead of directly using `int64_t` everywhere will also allow easily changing the datatype in the future should the need arise for more precise or bigger time values.
2019-09-25 17:43:11 +02:00
..
backend_utils.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
backend_utils.h Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
cocoa_init.m Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
cocoa_joystick.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
cocoa_joystick.m Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
cocoa_monitor.m Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
cocoa_platform.h Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
cocoa_time.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
cocoa_window.m Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
context.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
dbus_glfw.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
dbus_glfw.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
egl_context.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
egl_context.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
glfw3.h Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
glfw.py Extract key event data to struct 2019-09-24 19:15:35 +02:00
glx_context.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
glx_context.h Fix bool indentation 2019-08-30 15:32:20 +02:00
ibus_glfw.c Merge branch 'extract-glfw-key-event-data' of https://github.com/bew/kitty 2019-09-25 15:44:56 +05:30
ibus_glfw.h Extract key event data to struct 2019-09-24 19:15:35 +02:00
init.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
input.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
internal.h Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
linux_joystick.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
linux_joystick.h Fix bool indentation 2019-08-30 15:32:20 +02:00
linux_notify.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
linux_notify.h Set a default action name on the dbus notification 2019-02-03 13:53:26 +05:30
main_loop.h Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
mappings.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
memfd.h Convert some tabs to spaces 2019-02-02 22:08:32 +01:00
monitor.c Fix comparison of video modes of equal area 2019-09-08 09:12:39 +05:30
nsgl_context.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
nsgl_context.m Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
null_init.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
null_joystick.c Mark unused parameters in glfw/null_*.c 2019-09-19 20:21:09 +02:00
null_joystick.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
null_monitor.c Mark unused parameters in glfw/null_*.c 2019-09-19 20:21:09 +02:00
null_platform.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
null_window.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
osmesa_context.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
osmesa_context.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
posix_thread.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
posix_thread.h Fix bool indentation 2019-08-30 15:32:20 +02:00
posix_time.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
posix_time.h Fix bool indentation 2019-08-30 15:32:20 +02:00
source-info.json Share main loop implementation between wayland and X11 2019-03-04 19:52:45 +05:30
vulkan.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
window.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
wl_init.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
wl_monitor.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
wl_platform.h Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
wl_window.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
x11_init.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
x11_monitor.c Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
x11_platform.h Update the GLFW version number from 3.3 to 3.4 2019-08-02 11:00:16 -05:00
x11_window.c Use datatype monotonic_t instead of double to keep track of time 2019-09-25 17:43:11 +02:00
xkb_glfw.c Merge branch 'extract-glfw-key-event-data' of https://github.com/bew/kitty 2019-09-25 15:44:56 +05:30
xkb_glfw.h Extract key event data to struct 2019-09-24 19:15:35 +02:00