UI: Fix issue #21: Resizing of vogleditor window is slow depending on trace size
* If the window is only being resized a small amount (within 20%), the timeline will no longer redraw and simply gets stretched.
* When the timeline is redrawn, it will now only draw one timeline item per pixel instead of many sub-pixel items.
* Fixed an issue that caused 0-duration items from being scaled to 1 instead of the horizontal scale value (which should be the minimum amount of time needed to appear as a single pixel). This greatly reduced the number of items being drawn.
* Fixed deletion of timeline item children.

* These improvements reduced the number of drawn items in one particular trace file from ~5.9 million, down to ~1250 in the default window size. When I stretched the editor across two monitors (giving the timeline more pixels to draw into) this increased to ~4500 items - both very reasonable numbers.
Merge pull request #27 from PeterLValve/master

UI: Fix issue #21: Resizing of vogleditor window is slow depending on trace size
- Fixing polygon stipple saving/restoring so it doesn't stomp memory after the polygon stipple object (whoops!)
- Fixing driver crash on AMD's fglrx caused by us passing down possibly bogus handles when we fail to remote program uniform's (which commonly happens when we trace on NVidia and try to replay on AMD, which more aggressively optimizes uniforms).
Fixing various issues that were showing up when trying to snapshot/restore Cube 2:
- RBO's which have been genned but never initialized are now properly snapshotted/restored
- Adding support for GL_FLOAT_RG16_NV
- Fixing size of XVisualInfo struct's ctype desc so the --find command doesn't trigger a harmless but annoying assert in 32-bit builds while scanning through 64-bit traces
- Misc help text fixes
Fixing various issues that were showing up when trying to snapshot/restore Cube 2:
- RBO's which have been genned but never initialized are now properly snapshotted/restored
- Adding support for GL_FLOAT_RG16_NV
- Fixing size of XVisualInfo struct's ctype desc so the --find command doesn't trigger a harmless but annoying assert in 32-bit builds while scanning through 64-bit traces
- Misc help text fixes
- Fix for restoring FBO's that have attachments that the tracer was not able to query (because they were deleted). Steam 10ft keeps a bunch of FBO's around with deleted textures in a cache. It eventually rebinds new textures to the FBO's so the fact that we can't query the texture shouldn't be an issue (for 10ft anyway).
Merge pull request #1 from ValveSoftware/master

Merge master