Index: include/core/SkBlitRow.h |
diff --git a/include/core/SkBlitRow.h b/include/core/SkBlitRow.h |
index fb62f5ab53a1ab3195c4121c906f22424bc5a3b8..8ee2e8a7c52f39177e65897ff1d5237a4de33f38 100644 |
--- a/include/core/SkBlitRow.h |
+++ b/include/core/SkBlitRow.h |
@@ -73,6 +73,13 @@ public: |
static ColorProc ColorProcFactory(); |
+ /** Control if platform optimized procedures will be returned by |
+ Factory32 and ColorProcFactory. The default setting is true. |
+ This is only present for testing, and may be ignored in a |
+ production environment. |
+ */ |
+ static void UsePlatformOptsForFactory(bool); |
+ |
/** These static functions are called by the Factory and Factory32 |
functions, and should return either NULL, or a |
platform-specific function-ptr to be used in place of the |