Elias Naur
43865ddabd
app: don't delay FrameEvent.Frame by v-sync latency
...
We should return as soon as possible from FrameEvent.Frame to allow the main
goroutine to continue processing other tasks. Whereas GPU.Frame may touch
the frame ops, GPU.Present will not, so this change moves Present to after
returning from FrameEvent.Frame.
This is a variant of 38ff78df5d that
works on OpenGL where context locking is required.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2022-04-13 16:05:28 +02:00
..
2022-03-02 18:15:38 +01:00
2021-03-08 08:19:22 +01:00
2021-08-29 22:00:16 +02:00
2021-09-21 17:53:58 +02:00
2021-07-26 15:17:51 +02:00
2020-05-14 10:11:18 +02:00
2021-09-21 18:40:05 +02:00
2021-09-21 18:40:05 +02:00
2021-08-29 22:00:16 +02:00
2021-09-21 18:40:05 +02:00
2021-08-29 22:00:16 +02:00
2021-08-29 22:00:16 +02:00
2021-08-29 22:00:16 +02:00
2022-03-11 20:34:49 +01:00
2022-01-05 11:49:29 +01:00
2021-08-29 22:00:16 +02:00
2021-09-20 15:13:00 +02:00
2022-01-05 11:49:29 +01:00
2021-08-29 22:00:16 +02:00
2022-02-13 20:09:06 +01:00
2021-09-23 15:32:58 +02:00
2021-08-29 22:00:16 +02:00
2021-08-29 22:00:16 +02:00
2022-03-30 22:20:27 +02:00
2022-03-02 18:27:30 +01:00
2021-08-29 22:00:16 +02:00
2022-03-02 17:55:40 +01:00
2022-03-02 18:27:30 +01:00
2022-03-01 14:05:46 +01:00
2022-04-08 13:05:27 +02:00
2022-03-02 18:27:30 +01:00
2022-03-01 14:05:46 +01:00
2022-01-27 15:32:42 +01:00
2022-03-01 14:05:46 +01:00
2022-03-07 11:02:47 +01:00
2022-03-01 14:05:46 +01:00
2022-03-01 14:05:46 +01:00
2021-08-29 22:00:16 +02:00
2021-12-30 09:50:11 +01:00
2021-09-23 12:35:26 +02:00
2021-09-23 12:35:26 +02:00
2022-03-11 20:34:49 +01:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2021-08-30 15:28:44 +02:00
2022-04-13 16:05:28 +02:00