aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-16 02:56:10 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-16 03:02:03 +0100
commitb82049c7ad77603537d419bdd0ebebfd3f007916 (patch)
treec99ea0cc4719cef88605cbb9f05b765f46a4ce2c /TODO
parentdcc00b359e313166f7f155bddc5cebc336c744b7 (diff)
Window: add mouse scroll event
Diffstat (limited to 'TODO')
-rw-r--r--TODO3
1 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 7e867a1..bd0a782 100644
--- a/TODO
+++ b/TODO
@@ -3,4 +3,5 @@ Use gl triangle instead of quad.\
Support using multiple textures in shaders by using glActiveTexture for each one and set the uniform sampler2D value for each as as the index.\
Make sure clock is monotonic (there has been some issues with CLOCK\_MONOTONIC not being monotonic on linux).\
Verify if using a separate glx context for every window is the correct approach.\
-Experiment with reducing latency by removing GLX_DOUBLEBUFFER and using glFlush&&glFinish&&glXWaitVideoSyncSGI(1, 0, &rem);. Only glFinish is needed when using a compositor and that fixes the flickering. Flipping also needs to be enabled in gpu driver settings. Use glXWaitVideoSyncSGI to limit fps to vsync. Tearing fix with flipping for fullscreen applications only works when fullscreen covers all monitors which is usually not the case, so it really only works when one monitor is plugged in.
+Experiment with reducing latency by removing GLX_DOUBLEBUFFER and using glFlush&&glFinish&&glXWaitVideoSyncSGI(1, 0, &rem);. Only glFinish is needed when using a compositor and that fixes the flickering. Flipping also needs to be enabled in gpu driver settings. Use glXWaitVideoSyncSGI to limit fps to vsync. Tearing fix with flipping for fullscreen applications only works when fullscreen covers all monitors which is usually not the case, so it really only works when one monitor is plugged in.\
+High precision mouse wheel event by using xi2, which also allows us to get which scroll wheel was used and scrolling in y direction. \ No newline at end of file