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

Side by Side Diff: src/core/SkBitmapProcBicubic.cpp

Issue 15888004: don't reference missing header (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | 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 2013 Google Inc. 2 * Copyright 2013 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 #include "SkBitmapProcBicubic.h" 8 #include "SkBitmapProcState.h"
9 #include "SkBitmap.h" 9 #include "SkBitmap.h"
10 #include "SkColor.h" 10 #include "SkColor.h"
11 #include "SkColorPriv.h" 11 #include "SkColorPriv.h"
12 #include "SkUnPreMultiply.h" 12 #include "SkUnPreMultiply.h"
13 #include "SkRTConf.h" 13 #include "SkRTConf.h"
14 #include "SkShader.h" 14 #include "SkShader.h"
15 15
16 #define DS(x) SkDoubleToScalar(x) 16 #define DS(x) SkDoubleToScalar(x)
17 17
18 inline SkPMColor cubicBlend(const SkScalar c[16], SkScalar t, SkPMColor c0, SkPM Color c1, SkPMColor c2, SkPMColor c3) { 18 inline SkPMColor cubicBlend(const SkScalar c[16], SkScalar t, SkPMColor c0, SkPM Color c1, SkPMColor c2, SkPMColor c3) {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 return NULL; 106 return NULL;
107 } 107 }
108 108
109 // TODO: support blending inside our procs 109 // TODO: support blending inside our procs
110 if (0xFF != paint.getAlpha()) { 110 if (0xFF != paint.getAlpha()) {
111 return NULL; 111 return NULL;
112 } 112 }
113 113
114 return bicubicFilter; 114 return bicubicFilter;
115 } 115 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698