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

Unified Diff: include/core/SkXfermode.h

Issue 13334011: Add Xfermode bench. Also clear before rendering in bench (rather than after). (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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: include/core/SkXfermode.h
===================================================================
--- include/core/SkXfermode.h (revision 8451)
+++ include/core/SkXfermode.h (working copy)
@@ -128,6 +128,11 @@
kLastMode = kLuminosity_Mode
};
+
+ /**
+ * Gets the name of the Mode as a string.
+ */
+ static const char* ModeName(Mode);
/**
* If the xfermode is one of the modes in the Mode enum, then asMode()
« bench/XfermodeBench.cpp ('K') | « gyp/bench.gypi ('k') | src/core/SkXfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698