glretrace: Fix swizzling of uniform blocks.

Incomplete copy'n'paste
glretrace: Make the "too many messages" warning look like the previous message.

So that it's obvious which message is being ignored.
cmake: Refuse to build with Xcode generator.

Building with Xcode generator fails (missing includes), and I don't have
the time to deal with it when Make/Ninja works just fine.
cmake: Address CMP0042 policy warning.
cgltrace: Refuse to run with DYLD_IMAGE_SUFFIX.

As painstainkily found by Stephen Kelly.
retracediff: Prevent math domain error when comparing float images.
Fix tracing of recursive IDirect3DTexture9::LockRect and UnlockRect

I put information about locked rect in the map for each level separately. This allows to lock several level together.
Fix the mapping of addresses in case of recursive Lock in d3d9retrace

Use "level" as additional key to select correct address.
gui: Increase to 3 decimals on image upper/lower spin boxes.
doc: Add a couple of reference reading links.
glstate: Dump depth textures as floating point.
glstate: Dump all layers of framebuffers when GS is bound.

Fixes issue #297.
glretrace: Handle GL_ARB_sync properly.

When replaying, glretrace must wait for all fences that were recorded
as signalled in the trace, as subsequent calls might depend upon it.
cmake: Update android.toolchain.cmake from upstream.

From https://github.com/taka-no-me/android-cmake/commit/61e7c0d2a6e121a88874cfae060da1ce962de155
gltrace: Handle primitive restart with user arrays.
Edited CMakeList files for supporting Wayland
Edited CMakeList files for supporting Wayland
Merge remote-tracking branch 'upstream/master'