highfidelity/hifi — pull request #3666 by samcake (2014-10-25 00:58:36+00:00)
Title: Unlock the framerate limitation by default and more settings

- Add wglew.h in the interfaceConfig.h on windows, the equivalent need to be done for linux

- Introduce a "targetFramerate" in the application that is used to monitor the rendering speed on the idle event.
If target framerate is 0, then no restriction, just run as fast as possible, this is the default
If target is greater than 0 then the inverse is the shortest time period for a frame

- Introduced a control for the V-Sync allowing to test with ( the default) or without it. THis is in fact only available on linux and windows where the EXT_SWAP_CONTROL extension is available

- Added a ui in the developer/render menu to control the framerate target and the vsync (not available on MAC)

- checkGLError macro is a no op

- Need to finish the work for linux