glretrace: Add '--snapshot-format=MD5' option that allows write image MD5 to a text format file

Programming / Debugging / APITrace - Meng Mengmeng [intel.com] - 22 January 2014 07:22 UTC

Collecting MD5 is obtained based on raw buffer. Rendering results are reproducd accurately. Creating .txt in place of PNG Format, that would save more disk space and run faster.

Reference command:

glretrace --snapshot-format=MD5 -s /tmp/MD5.log smokinguns.trace

5ef7994 glretrace: Add '--snapshot-format=MD5' option that allows write image MD5 to a text format file.
image/CMakeLists.txt | 3 ++
image/image.hpp | 6 +++
image/image_md5.cpp | 91 ++++++++++++++++++++++++++++++++++++++++++++++
retrace/retrace_main.cpp | 10 ++++-
4 files changed, 108 insertions(+), 2 deletions(-)

Upstream: github.com


  • Share