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

Side by Side Diff: include/core/SkColor.h

Issue 1253493002: No one calls SkXfermode::GetProc16 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more dead Created 5 years, 5 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 | « no previous file | include/core/SkXfermode.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkColor_DEFINED 10 #ifndef SkColor_DEFINED
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 /** Return a SkPMColor value from a SkColor value. This is done by multiplying t he color 154 /** Return a SkPMColor value from a SkColor value. This is done by multiplying t he color
155 components by the color's alpha, and by arranging the bytes in a configurati on 155 components by the color's alpha, and by arranging the bytes in a configurati on
156 dependent order, to match the format of kARGB32 bitmaps. 156 dependent order, to match the format of kARGB32 bitmaps.
157 */ 157 */
158 SK_API SkPMColor SkPreMultiplyColor(SkColor c); 158 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
159 159
160 /** Define a function pointer type for combining two premultiplied colors 160 /** Define a function pointer type for combining two premultiplied colors
161 */ 161 */
162 typedef SkPMColor (*SkXfermodeProc)(SkPMColor src, SkPMColor dst); 162 typedef SkPMColor (*SkXfermodeProc)(SkPMColor src, SkPMColor dst);
163 163
164 /** Define a function pointer type for combining a premultiplied src color
165 and a 16bit device color.
166 */
167 typedef uint16_t (*SkXfermodeProc16)(SkPMColor src, uint16_t dst);
168
169 #endif 164 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698