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

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

Issue 23796005: remove fConvolutionProcs from State, and just use it locally (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/core/SkConvolver.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SK_CONVOLVER_H 5 #ifndef SK_CONVOLVER_H
6 #define SK_CONVOLVER_H 6 #define SK_CONVOLVER_H
7 7
8 #include "SkSize.h" 8 #include "SkSize.h"
9 #include "SkTypes.h" 9 #include "SkTypes.h"
10 #include "SkTArray.h" 10 #include "SkTArray.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // 190 //
191 // The layout in memory is assumed to be 4-bytes per pixel in B-G-R-A order 191 // The layout in memory is assumed to be 4-bytes per pixel in B-G-R-A order
192 // (this is ARGB when loaded into 32-bit words on a little-endian machine). 192 // (this is ARGB when loaded into 32-bit words on a little-endian machine).
193 SK_API void BGRAConvolve2D(const unsigned char* sourceData, 193 SK_API void BGRAConvolve2D(const unsigned char* sourceData,
194 int sourceByteRowStride, 194 int sourceByteRowStride,
195 bool sourceHasAlpha, 195 bool sourceHasAlpha,
196 const SkConvolutionFilter1D& xfilter, 196 const SkConvolutionFilter1D& xfilter,
197 const SkConvolutionFilter1D& yfilter, 197 const SkConvolutionFilter1D& yfilter,
198 int outputByteRowStride, 198 int outputByteRowStride,
199 unsigned char* output, 199 unsigned char* output,
200 SkConvolutionProcs* convolveProcs, 200 const SkConvolutionProcs&,
201 bool useSimdIfPossible); 201 bool useSimdIfPossible);
202 202
203 #endif // SK_CONVOLVER_H 203 #endif // SK_CONVOLVER_H
OLDNEW
« no previous file with comments | « src/core/SkBitmapScaler.cpp ('k') | src/core/SkConvolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698