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

Unified Diff: include/private/SkOpts.h

Issue 1270573002: Port SkUtils opts to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: derek Created 5 years, 5 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
« no previous file with comments | « include/core/SkUtils.h ('k') | src/core/SkOpts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkOpts.h
diff --git a/src/core/SkOpts.h b/include/private/SkOpts.h
similarity index 82%
rename from src/core/SkOpts.h
rename to include/private/SkOpts.h
index f02ec97553519c06ec4356a9d2a7095a6e7d379b..0594588e29e2e6942ae1aada513ced9a3615b8c6 100644
--- a/src/core/SkOpts.h
+++ b/include/private/SkOpts.h
@@ -20,6 +20,10 @@ namespace SkOpts {
// Returns a fast approximation of 1.0f/sqrtf(x).
extern float (*rsqrt)(float);
+
+ // See SkUtils.h
+ extern void (*memset16)(uint16_t[], uint16_t, int);
+ extern void (*memset32)(uint32_t[], uint32_t, int);
}
#endif//SkOpts_DEFINED
« no previous file with comments | « include/core/SkUtils.h ('k') | src/core/SkOpts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698