Chromium Code Reviews| Index: src/opts/SkMorphology_opts.h |
| diff --git a/src/opts/SkMorphology_opts.h b/src/opts/SkMorphology_opts.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..62652836f69575ed58735661192d1c5f4487d595 |
| --- /dev/null |
| +++ b/src/opts/SkMorphology_opts.h |
| @@ -0,0 +1,16 @@ |
| +/* |
| + * Copyright 2013 The Android Open Source Project |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#include <SkColor.h> |
| + |
| +typedef void (*SkMorphologyProc)(const SkPMColor* src, SkPMColor* dst, int radius, |
| + int width, int height, int srcStride, int dstStride); |
|
reed1
2013/10/30 15:15:04
are these logically size_t? we use size_t for byte
mtklein
2013/10/30 15:44:47
These strides are pixel counts, so I think it make
reed1
2013/10/30 15:49:52
Ah, then lets rename/document them to make that cl
Stephen White
2013/10/30 19:47:17
Done.
|
| + |
| +SkMorphologyProc SkDilateXGetPlatformProc(); |
|
reed1
2013/10/30 15:15:04
"if" this list wants to grow in the future, I wond
Stephen White
2013/10/30 19:47:17
I don't forsee the list growing, but I've turned i
|
| +SkMorphologyProc SkDilateYGetPlatformProc(); |
| +SkMorphologyProc SkErodeXGetPlatformProc(); |
| +SkMorphologyProc SkErodeYGetPlatformProc(); |