thirdparty/directxtex: Import DirectXTex library.

Will be useful for converting DirectX image formats.
directxtex: Build with cmake.
directxtex: Don't redefine NOMINMAX.
directxtex: Fix include filename case.
directxtex: Get it building on MinGW.
d3d11state: Use DirectXTex for format conversion.
Extend profiling tool to support Vsize and Rss memory usage profile per call

Add one new option -pmem for retrace tool to track Visze and Rss usage during every call

Signed-off-by: Shuang He <shuang.he@intel.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
Merge branch 'directxtex'
d3dretrace: Use DirectXTex for d3d10 state too.
directxtex: Fix MinGW64 build.
glretrace: Fix dumping of cube map FBO attachements.
retrace: Add single thread option.

Allow to replay trace using only one thread, helpful when debugging
driver.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
glretrace: Fix several problems with the earlier commit.