张小白
a1e5f6bb7c
windows: Use DwmFlush() to trigger vsync event ( #11731 )
...
Currently , on Windows 10, we used a `Timer` to trigger the vsync event,
but the `Timer`'s time precision is only about 15ms, which means a
maximum of 60FPS. This PR introduces a new function to allow for higher
frame rates on Windows 10.
And after reading the codes, I found that zed triggers a draw after
handling mouse or keyboard events, so we don't need to call draw again
when we handle `WM_*` messages. Therefore, I removed the
`invalidate_client_area` function.
Release Notes:
- N/A
2024-05-15 10:45:17 -07:00
..
2024-05-08 19:13:28 +02:00
2024-05-14 17:47:33 +02:00
2024-04-23 16:23:26 -07:00
2024-05-14 18:39:52 -04:00
2024-05-10 15:22:09 -07:00
2024-05-12 04:47:19 -07:00
2024-03-26 13:28:06 +01:00
2024-05-10 15:50:20 -06:00
2024-04-25 17:42:53 -04:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-14 16:05:40 -06:00
2024-05-14 18:18:26 +02:00
2024-03-05 12:01:17 -05:00
2024-05-14 18:18:26 +02:00
2024-05-14 09:44:55 -07:00
2024-03-29 17:09:49 -07:00
2024-03-15 16:58:46 -04:00
2024-04-29 20:47:01 +02:00
2024-03-26 13:28:06 +01:00
2024-05-10 15:50:20 -06:00
2024-04-23 13:31:21 -04:00
2024-05-13 18:52:12 -04:00
2024-05-11 00:06:51 +03:00
2024-05-15 10:44:47 -07:00
2024-05-10 15:50:20 -06:00
2024-04-09 10:38:29 -04:00
2024-03-28 18:32:11 +01:00
2024-05-10 11:53:11 -04:00
2024-04-11 15:36:35 -06:00
2024-05-10 15:50:20 -06:00
2024-05-09 18:52:09 -06:00
2024-04-29 16:37:37 -04:00
2024-05-14 11:00:26 -07:00
2024-04-30 23:31:59 -06:00
2024-03-05 12:01:17 -05:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-11 00:06:51 +03:00
2024-05-10 15:50:20 -06:00
2024-05-15 10:45:17 -07:00
2024-05-06 13:56:25 -04:00
2024-05-09 21:08:49 -06:00
2024-05-13 18:26:12 -04:00
2024-05-13 18:52:12 -04:00
2024-05-03 12:50:42 -07:00
2024-03-11 10:45:57 +01:00
2024-04-08 19:17:12 -04:00
2024-05-11 00:32:49 +02:00
2024-03-05 12:01:17 -05:00
2024-05-08 18:21:43 +03:00
2024-05-15 15:15:36 +02:00
2024-04-25 22:37:40 -04:00
2024-05-10 14:18:40 -04:00
2024-05-03 13:23:52 +02:00
2024-05-13 18:52:12 -04:00
2024-04-26 21:34:45 +02:00
2024-04-02 13:12:38 -06:00
2024-03-26 16:10:09 -07:00
2024-05-11 00:06:51 +03:00
2024-05-10 15:50:20 -06:00
2024-04-02 20:40:00 -06:00
2024-05-14 10:43:24 +02:00
2024-05-11 00:06:51 +03:00
2024-04-26 13:25:25 -06:00
2024-03-21 08:23:15 +01:00
2024-05-14 21:26:35 +02:00
2024-05-03 15:15:39 +02:00
2024-03-05 12:01:17 -05:00
2024-04-17 13:20:47 +02:00
2024-05-14 16:05:26 -06:00
2024-03-05 12:01:17 -05:00
2024-05-09 21:08:49 -06:00
2024-04-23 16:23:26 -07:00
2024-04-12 18:40:35 +02:00
2024-05-06 12:58:11 +02:00
2024-05-14 20:57:58 -06:00
2024-05-10 15:50:20 -06:00
2024-03-29 12:11:57 -04:00
2024-05-06 14:55:44 -06:00
2024-03-05 12:01:17 -05:00
2024-05-02 11:00:08 -06:00
2024-03-05 12:01:17 -05:00
2024-05-09 11:03:33 +02:00
2024-05-13 17:58:08 -04:00
2024-04-24 14:01:10 +02:00
2024-05-13 18:52:12 -04:00
2024-05-13 18:52:12 -04:00
2024-05-14 13:48:36 +02:00
2024-05-14 21:26:35 +02:00
2024-05-15 14:38:19 +02:00
2024-05-14 18:18:26 +02:00
2024-05-15 10:44:47 -07:00
2024-05-09 11:38:53 +02:00
2024-05-10 15:50:20 -06:00
2024-05-06 13:56:25 -04:00
2024-05-05 15:02:50 +02:00
2024-03-20 11:13:58 -04:00
2024-04-15 14:21:52 +02:00
2024-05-15 11:08:24 -04:00
2024-05-06 13:22:47 -04:00
2024-05-14 18:25:54 -07:00
2024-05-10 11:06:32 +02:00
2024-05-14 20:57:58 -06:00
2024-05-03 12:50:42 -07:00
2024-05-14 18:25:54 -07:00
2024-05-14 18:34:51 +02:00
2024-05-15 11:47:42 -04:00
2024-03-05 12:01:17 -05:00