easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.36k stars 167 forks source link

OpenGL camera panning latency #168

Open Richard-L opened 4 years ago

Richard-L commented 4 years ago

Since you added OpenGL I thought I'd try and feedback for v0.9alpha1.

I have a dedicated CAD GPU (nvidia Quadro) which is quite friendly with OpenGL. The only difference I can notice is that panning the camera with held left mouse button introduces a certain lag. There's a small latency between mouse movement and camera following. This is not the case when OpenGL is disabled.

Is there something you'd like tested specifically for OpenGL?

easymodo commented 4 years ago

Eh i'll probably drop it altogether. Alongside slow panning it introduces horrible lag when resizing a window. And i think it starts up slower. Saw many people complain with no solution. But I may try manual opengl drawing later instead of doing it through Qt.

Also tomorrow i'll put out a build that uses opencv for scaling. It has some nice interpolation filters and image sharpening (looks pretty good when downscaling) I think it can utilize cuda, need to try it on large images, could be worth using.