| OLD | NEW |
| 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 "SkBitmapProvider.h" |
| 14 #include "SkMatrix.h" | 15 #include "SkMatrix.h" |
| 15 #include "SkMipMap.h" | 16 #include "SkMipMap.h" |
| 16 #include "SkPaint.h" | 17 #include "SkPaint.h" |
| 18 #include "SkShader.h" |
| 17 #include "SkTemplates.h" | 19 #include "SkTemplates.h" |
| 18 | 20 |
| 19 typedef SkFixed3232 SkFractionalInt; | 21 typedef SkFixed3232 SkFractionalInt; |
| 20 #define SkScalarToFractionalInt(x) SkScalarToFixed3232(x) | 22 #define SkScalarToFractionalInt(x) SkScalarToFixed3232(x) |
| 21 #define SkFractionalIntToFixed(x) SkFixed3232ToFixed(x) | 23 #define SkFractionalIntToFixed(x) SkFixed3232ToFixed(x) |
| 22 #define SkFixedToFractionalInt(x) SkFixedToFixed3232(x) | 24 #define SkFixedToFractionalInt(x) SkFixedToFixed3232(x) |
| 23 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) | 25 #define SkFractionalIntToInt(x) SkFixed3232ToInt(x) |
| 24 | 26 |
| 25 class SkPaint; | 27 class SkPaint; |
| 26 | 28 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s, | 194 void ClampX_ClampY_filter_affine(const SkBitmapProcState& s, |
| 193 uint32_t xy[], int count, int x, int y); | 195 uint32_t xy[], int count, int x, int y); |
| 194 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, | 196 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, |
| 195 uint32_t xy[], int count, int x, int y); | 197 uint32_t xy[], int count, int x, int y); |
| 196 void S32_D16_filter_DX(const SkBitmapProcState& s, | 198 void S32_D16_filter_DX(const SkBitmapProcState& s, |
| 197 const uint32_t* xy, int count, uint16_t* colors); | 199 const uint32_t* xy, int count, uint16_t* colors); |
| 198 void S32_D16_filter_DXDY(const SkBitmapProcState& s, | 200 void S32_D16_filter_DXDY(const SkBitmapProcState& s, |
| 199 const uint32_t* xy, int count, uint16_t* colors); | 201 const uint32_t* xy, int count, uint16_t* colors); |
| 200 | 202 |
| 201 #endif | 203 #endif |
| OLD | NEW |