aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkOpts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkOpts.h')
-rw-r--r--src/core/SkOpts.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
index 71abae5d7a..f02ec97553 100644
--- a/src/core/SkOpts.h
+++ b/src/core/SkOpts.h
@@ -16,7 +16,10 @@ namespace SkOpts {
// Called by SkGraphics::Init(), and automatically #if SK_ALLOW_STATIC_GLOBAL_INITIALIZERS.
void Init();
- // (Function pointers go here).
+ // Declare function pointers here...
+
+ // Returns a fast approximation of 1.0f/sqrtf(x).
+ extern float (*rsqrt)(float);
}
#endif//SkOpts_DEFINED