Chromium Code Reviews| Index: src/core/SkRasterPipelineBlitter.h |
| diff --git a/src/core/SkRasterPipelineBlitter.h b/src/core/SkRasterPipelineBlitter.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0e767c047fc8393593d542fd9a7f627acfc7ff32 |
| --- /dev/null |
| +++ b/src/core/SkRasterPipelineBlitter.h |
| @@ -0,0 +1,17 @@ |
| +/* |
| + * Copyright 2016 Google Inc. |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#ifndef SkRasterPipelineBlitter_DEFINED |
| +#define SkRasterPipelineBlitter_DEFINED |
| + |
| +#include "SkBlitter.h" |
| +#include <memory> |
| + |
| +// Returns nullptr if no SkRasterPipeline blitter can be constructed for this paint. |
| +std::unique_ptr<SkBlitter> SkCreateRasterPipelineBlitter(const SkPixmap&, const SkPaint&); |
|
reed1
2016/07/20 13:09:59
Could just add this declaration to SkCoreBlitters.
mtklein
2016/07/20 13:29:03
Done.
|
| + |
| +#endif//SkRasterPipelineBlitter_DEFINED |