I have done a little video player. the videos runs in 25 frames/second. the videos change via udp input from an rfid interface. I got tearing effects in fullscreen mode. I think this shouldn’t be a problem on a normal i7 with onboard graphic.
in my setup I have
and a simple draw
loopVideo.draw(0, 0, 1920, 1080);
when I start the video I got some tearing on a Intel HD grafics 530. How can I prevent this. I am using 0.9.8
not sure about the Fullscreen part, but I noticed that ofSetVerticalSync(true); simply does not work on some windows machines. I had to use wglSwapIntervalEXT(1);
instead, then it worked.
Note that (as charli_e pointed out already) you do not have to use ofSetFrameRate(50); then, as vSync is actually setting the framerate (leads to video refresh rate) to a level that is preventing tearing. The video framerate should not be a problem in theory, all the vSync stuff is about the framerate of your App.