SkBitmapHasher: use 64-bit-truncated MD5 instead of 64-bit CityHash
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 3 May 2013 17:35:39 +0000 (17:35 +0000)
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 3 May 2013 17:35:39 +0000 (17:35 +0000)
commitb4ca46d748364236e82fdaccc08022dd89e29d40
tree1bb565bddd409b6e82e6dd5af39f39f80788438c
parent25720b4d7e6f86043997c040315f2874aa2c8c9a
SkBitmapHasher: use 64-bit-truncated MD5 instead of 64-bit CityHash
BUG=https://code.google.com/p/skia/issues/detail?id=1257

(if we change our mind within the next few days, we can toggle the
BITMAPHASHER_USES_TRUNCATED_MD5 #ifdef ; at some point, we'll remove that
option so we can delete our CityHash implementation entirely)

R=bungeman@google.com

Review URL: https://codereview.chromium.org/14054012

git-svn-id: http://skia.googlecode.com/svn/trunk@8992 2bbb7eff-a529-9590-31e7-b0007b416f81
16 files changed:
gm/tests/outputs/compared-against-different-pixels-images/output-expected/json-summary.txt
gm/tests/outputs/compared-against-different-pixels-json/output-expected/json-summary.txt
gm/tests/outputs/compared-against-empty-dir/output-expected/json-summary.txt
gm/tests/outputs/compared-against-identical-bytes-images/output-expected/json-summary.txt
gm/tests/outputs/compared-against-identical-bytes-json/output-expected/json-summary.txt
gm/tests/outputs/compared-against-identical-pixels-images/output-expected/json-summary.txt
gm/tests/outputs/compared-against-identical-pixels-json/output-expected/json-summary.txt
gm/tests/outputs/ignore-expectations-mismatch/output-expected/json-summary.txt
gm/tests/outputs/intentionally-skipped-tests/output-expected/json-summary.txt
gm/tests/outputs/no-readpath/output-expected/json-summary.txt
gm/tests/outputs/nonverbose/output-expected/json-summary.txt
gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt
include/core/SkEndian.h
src/utils/SkBitmapHasher.cpp
src/utils/SkBitmapHasher.h
tests/BitmapHasherTest.cpp