Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: src/utils/SkBitmapHasher.h

Issue 14054012: SkBitmapHasher: use 64-bit-truncated MD5 instead of 64-bit CityHash (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: add_BITMAPHASHER_USES_TRUNCATED_MD5 Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/utils/SkBitmapHasher.h
===================================================================
--- src/utils/SkBitmapHasher.h (revision 8839)
+++ src/utils/SkBitmapHasher.h (working copy)
@@ -11,6 +11,8 @@
#include "SkBitmap.h"
+#define BITMAPHASHER_USES_TRUNCATED_MD5
epoger 2013/04/24 17:30:00 patchset 2 changes SkBitmapHasher to use a truncat
+
// TODO(epoger): Soon, SkHashDigest will become a real class of its own,
// and callers won't be able to assume it converts to/from a uint64_t.
typedef uint64_t SkHashDigest;
« no previous file with comments | « gm/gmmain.cpp ('k') | src/utils/SkBitmapHasher.cpp » ('j') | tests/BitmapHasherTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698