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

Unified Diff: src/core/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/private/SkOpts.h ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkOpts.h
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
deleted file mode 100644
index f02ec97553519c06ec4356a9d2a7095a6e7d379b..0000000000000000000000000000000000000000
--- a/src/core/SkOpts.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkOpts_DEFINED
-#define SkOpts_DEFINED
-
-#include "SkTypes.h"
-
-namespace SkOpts {
- // Call to replace pointers to portable functions with pointers to CPU-specific functions.
- // Thread-safe and idempotent.
- // Called by SkGraphics::Init(), and automatically #if SK_ALLOW_STATIC_GLOBAL_INITIALIZERS.
- void Init();
-
- // Declare function pointers here...
-
- // Returns a fast approximation of 1.0f/sqrtf(x).
- extern float (*rsqrt)(float);
-}
-
-#endif//SkOpts_DEFINED
« no previous file with comments | « include/private/SkOpts.h ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698