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

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

Issue 511283002: rename ScaledImageCache to ResourceCache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « src/core/SkBitmapCache.cpp ('k') | src/core/SkBitmapProcState.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
2 /* 1 /*
3 * Copyright 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9
10 #ifndef SkBitmapProcState_DEFINED 8 #ifndef SkBitmapProcState_DEFINED
11 #define SkBitmapProcState_DEFINED 9 #define SkBitmapProcState_DEFINED
12 10
13 #include "SkBitmap.h" 11 #include "SkBitmap.h"
14 #include "SkBitmapFilter.h" 12 #include "SkBitmapFilter.h"
15 #include "SkMatrix.h" 13 #include "SkMatrix.h"
16 #include "SkMipMap.h" 14 #include "SkMipMap.h"
17 #include "SkPaint.h" 15 #include "SkPaint.h"
18 #include "SkScaledImageCache.h"
19 16
20 #define FractionalInt_IS_64BIT 17 #define FractionalInt_IS_64BIT
21 18
22 #ifdef FractionalInt_IS_64BIT 19 #ifdef FractionalInt_IS_64BIT
23 typedef SkFixed48 SkFractionalInt; 20 typedef SkFixed48 SkFractionalInt;
24 #define SkScalarToFractionalInt(x) SkScalarToFixed48(x) 21 #define SkScalarToFractionalInt(x) SkScalarToFixed48(x)
25 #define SkFractionalIntToFixed(x) SkFixed48ToFixed(x) 22 #define SkFractionalIntToFixed(x) SkFixed48ToFixed(x)
26 #define SkFixedToFractionalInt(x) SkFixedToFixed48(x) 23 #define SkFixedToFractionalInt(x) SkFixedToFixed48(x)
27 #define SkFractionalIntToInt(x) SkFixed48ToInt(x) 24 #define SkFractionalIntToInt(x) SkFixed48ToInt(x)
28 #else 25 #else
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 void S32_D16_filter_DX(const SkBitmapProcState& s, 214 void S32_D16_filter_DX(const SkBitmapProcState& s,
218 const uint32_t* xy, int count, uint16_t* colors); 215 const uint32_t* xy, int count, uint16_t* colors);
219 216
220 void highQualityFilter32(const SkBitmapProcState &s, int x, int y, 217 void highQualityFilter32(const SkBitmapProcState &s, int x, int y,
221 SkPMColor *SK_RESTRICT colors, int count); 218 SkPMColor *SK_RESTRICT colors, int count);
222 void highQualityFilter16(const SkBitmapProcState &s, int x, int y, 219 void highQualityFilter16(const SkBitmapProcState &s, int x, int y,
223 uint16_t *SK_RESTRICT colors, int count); 220 uint16_t *SK_RESTRICT colors, int count);
224 221
225 222
226 #endif 223 #endif
OLDNEW
« no previous file with comments | « src/core/SkBitmapCache.cpp ('k') | src/core/SkBitmapProcState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698