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

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

Issue 1272293004: Move SkTemplates.h to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: It's a struct! 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 | « src/core/SkBitmapProcShader.cpp ('k') | src/core/SkPictureRecord.h » ('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 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
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 SkBitmapProcState_DEFINED 8 #ifndef SkBitmapProcState_DEFINED
9 #define SkBitmapProcState_DEFINED 9 #define SkBitmapProcState_DEFINED
10 10
11 #include "SkBitmap.h" 11 #include "SkBitmap.h"
12 #include "SkBitmapController.h" 12 #include "SkBitmapController.h"
13 #include "SkBitmapFilter.h" 13 #include "SkBitmapFilter.h"
14 #include "SkMatrix.h" 14 #include "SkMatrix.h"
15 #include "SkMipMap.h" 15 #include "SkMipMap.h"
16 #include "SkPaint.h" 16 #include "SkPaint.h"
17 #include "SkTemplates.h"
17 18
18 typedef SkFixed3232 SkFractionalInt; 19 typedef SkFixed3232 SkFractionalInt;
19 #define SkScalarToFractionalInt(x) SkScalarToFixed3232(x) 20 #define SkScalarToFractionalInt(x) SkScalarToFixed3232(x)
20 #define SkFractionalIntToFixed(x) SkFixed3232ToFixed(x) 21 #define SkFractionalIntToFixed(x) SkFixed3232ToFixed(x)
21 #define SkFixedToFractionalInt(x) SkFixedToFixed3232(x) 22 #define SkFixedToFractionalInt(x) SkFixedToFixed3232(x)
22 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) 23 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x)
23 24
24 class SkPaint; 25 class SkPaint;
25 26
26 struct SkBitmapProcState { 27 struct SkBitmapProcState {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s, 191 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s,
191 uint32_t xy[], int count, int x, int y); 192 uint32_t xy[], int count, int x, int y);
192 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, 193 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s,
193 uint32_t xy[], int count, int x, int y); 194 uint32_t xy[], int count, int x, int y);
194 void S32_D16_filter_DX(const SkBitmapProcState& s, 195 void S32_D16_filter_DX(const SkBitmapProcState& s,
195 const uint32_t* xy, int count, uint16_t* colors); 196 const uint32_t* xy, int count, uint16_t* colors);
196 void S32_D16_filter_DXDY(const SkBitmapProcState& s, 197 void S32_D16_filter_DXDY(const SkBitmapProcState& s,
197 const uint32_t* xy, int count, uint16_t* colors); 198 const uint32_t* xy, int count, uint16_t* colors);
198 199
199 #endif 200 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapProcShader.cpp ('k') | src/core/SkPictureRecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698