OLD | NEW |
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 Loading... |
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 |
OLD | NEW |