Draft D2D trace support.
Get d2d to build on MinGW.
Fix Mingw64 build.
Tweak d2d1 specs.
Fix MSVC build.
Trace dwrite.dll too.
More D2D spec tweaks.
Merge branch 'master' into d2d

Conflicts:
	compat.h
	trace.py
More MinGW<->DXSDK compatability fixes.
Merge branch 'master' into d2d

Conflicts:
	compat.h
Fix *CreateFactory's tracing.
Fix assertion failure.
Try to cope with unwrapped objects.
Merge branch 'master' into d2d
Merge branch 'master' into d2d
add debug option for debug builds

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
Pickle Repr nodes too.
make GLES/glext.hpp guard macro name unique

We want to include both GL/glext.hpp and GLES/glext.hpp but they are
guarded using the same macro name. Make them unique.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
filter based on thread_id

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
Compute the vertex buffer sizes in term of vertex count.

As opposed to max index, given that max index can not represent zero count.