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

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

Issue 1314863006: Port SkBlitRow::Color32 to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « no previous file | src/core/SkBlitRow_D32.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 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 #ifndef SkBlitRow_DEFINED 8 #ifndef SkBlitRow_DEFINED
9 #define SkBlitRow_DEFINED 9 #define SkBlitRow_DEFINED
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 platform-specific function-ptr to be used in place of the 75 platform-specific function-ptr to be used in place of the
76 system default. 76 system default.
77 */ 77 */
78 78
79 static Proc32 PlatformProcs32(unsigned flags); 79 static Proc32 PlatformProcs32(unsigned flags);
80 80
81 static Proc16 PlatformFactory565(unsigned flags); 81 static Proc16 PlatformFactory565(unsigned flags);
82 static ColorProc16 PlatformColorFactory565(unsigned flags); 82 static ColorProc16 PlatformColorFactory565(unsigned flags);
83 83
84 private: 84 private:
85 typedef void (*Color32Proc)(SkPMColor[], const SkPMColor[], int, SkPMColor);
86 static Color32Proc PlatformColor32Proc();
87
88 enum { 85 enum {
89 kFlags16_Mask = 7, 86 kFlags16_Mask = 7,
90 kFlags32_Mask = 3 87 kFlags32_Mask = 3
91 }; 88 };
92 }; 89 };
93 90
94 #endif 91 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkBlitRow_D32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698