diff options
Diffstat (limited to 'src/core/SkOpts.h')
-rw-r--r-- | src/core/SkOpts.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h index 7283030068..8e1b7fec8a 100644 --- a/src/core/SkOpts.h +++ b/src/core/SkOpts.h @@ -12,6 +12,7 @@ #include "SkTextureCompressor.h" #include "SkTypes.h" #include "SkXfermode.h" +#include <functional> struct ProcCoeff; @@ -73,7 +74,8 @@ namespace SkOpts { return hash_fn(data, bytes, seed); } - extern void (*run_pipeline)(size_t, size_t, const SkRasterPipeline::Stage*, int); + extern + std::function<void(size_t, size_t)> (*compile_pipeline)(const SkRasterPipeline::Stage*, int); } #endif//SkOpts_DEFINED |