In amcap I am getting very quick video capture (uses direct show), but when I run a basic app in ofw to show the video, it runs at 2 frames per second.
Below is the code. Any ideas why this could be running so slowly, especially when it runs quick in amcap or winvdig?
Is the OpenGL hardware accelerated or are you doing OpenGL in software ?
There will be a function, possibly provided by GLUT or otherwise GLEE that will return the a driver string, if that contains “Microsoft” you are doing OpenGL in software mode and that will be very slow.
It defaults to this sometimes if you use a feature that is not supported in hardware, so scaling your advanced features back until it runs in hardware might help.
Maybe compile an old and simple GLUT example from the net and run it to see what happens.