cli: Fix sed message.
Take GL_SAMPLER_BINDING in consideration.

Fixed the issue that GL_SAMPLER_BINDING is only shown globally under
'Parameters' for the last activated texture unit.  We should show
GL_SAMPLER_BINDING for each texture unit.

In this change, we also introduce GL_SAMPLER under each texture unit if
the sampler is bound.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
Check for ARB_sampler_objects before dumping its state.

Tested-by: Min-Yu Huang <min-yuhuang@vmware.com>
retracediff: Only diff state if specified by command line option.

As it can be very slow.
gui: Implement a new surface viewer

Adds support for showing individual pixels and zooming in on the
image itself. All ready to be used for showing the actual original
pixel values, rather than the fake qimage pixels which it shows
right now.
d3dretrace: Dump textures of all shader stages.
d3dretrace: Fix MSVC build.
Build fixes for VS2013

https://github.com/p3/regal/pull/97

Signed-off-by: José Fonseca <jfonseca@vmware.com>
image: Fix reading of PNG images with different number of channels.
image: Move helpers to respective modules.
image: Allow to read PNG from a C++ stream.
image: Add floating point support.

WIP. Not throughly tested.
gui: load image data via the Image class.

A bit hackish.

A stepping stone to store images with Image class instead of QImage.
d3dretrace: Fix MinGW build.
d3dretrace: Fix MinGW build.
image: Fix allocation of floating point images.
image: Support reading PFM images.
ui: Handle float images in dumps.
glretrace: Dump depth buffers as floating point images.
gui: show the original pixel values in the surface viewer

Image viewer now holds the original image surface which means
that even though it has to display the flattened version it
can correctly report the exact pixel value on every surface.