Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: src/core/SkOpts.h

Issue 1267343004: Port morphology to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/opts.gypi ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkOpts_DEFINED 8 #ifndef SkOpts_DEFINED
9 #define SkOpts_DEFINED 9 #define SkOpts_DEFINED
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 // See SkUtils.h 27 // See SkUtils.h
28 extern void (*memset16)(uint16_t[], uint16_t, int); 28 extern void (*memset16)(uint16_t[], uint16_t, int);
29 extern void (*memset32)(uint32_t[], uint32_t, int); 29 extern void (*memset32)(uint32_t[], uint32_t, int);
30 30
31 // May return nullptr if we haven't specialized the given Mode. 31 // May return nullptr if we haven't specialized the given Mode.
32 extern SkXfermode* (*create_xfermode)(const ProcCoeff&, SkXfermode::Mode); 32 extern SkXfermode* (*create_xfermode)(const ProcCoeff&, SkXfermode::Mode);
33 33
34 typedef void (*BoxBlur)(const SkPMColor*, int, SkPMColor*, int, int, int, in t, int); 34 typedef void (*BoxBlur)(const SkPMColor*, int, SkPMColor*, int, int, int, in t, int);
35 extern BoxBlur box_blur_xx, box_blur_xy, box_blur_yx; 35 extern BoxBlur box_blur_xx, box_blur_xy, box_blur_yx;
36
37 typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int) ;
38 extern Morph dilate_x, dilate_y, erode_x, erode_y;
36 } 39 }
37 40
38 #endif//SkOpts_DEFINED 41 #endif//SkOpts_DEFINED
OLDNEW
« no previous file with comments | « gyp/opts.gypi ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698