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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 static ColorRectProc ColorRectProcFactory(); | 85 static ColorRectProc ColorRectProcFactory(); |
86 | 86 |
87 /** These static functions are called by the Factory and Factory32 | 87 /** These static functions are called by the Factory and Factory32 |
88 functions, and should return either NULL, or a | 88 functions, and should return either NULL, or a |
89 platform-specific function-ptr to be used in place of the | 89 platform-specific function-ptr to be used in place of the |
90 system default. | 90 system default. |
91 */ | 91 */ |
92 | 92 |
93 static Proc32 PlatformProcs32(unsigned flags); | 93 static Proc32 PlatformProcs32(unsigned flags); |
94 static Proc PlatformProcs565(unsigned flags); | 94 static Proc PlatformProcs565(unsigned flags); |
95 static Proc PlatformProcs4444(unsigned flags); | |
96 static ColorProc PlatformColorProc(); | 95 static ColorProc PlatformColorProc(); |
97 | 96 |
98 private: | 97 private: |
99 enum { | 98 enum { |
100 kFlags16_Mask = 7, | 99 kFlags16_Mask = 7, |
101 kFlags32_Mask = 3 | 100 kFlags32_Mask = 3 |
102 }; | 101 }; |
103 }; | 102 }; |
104 | 103 |
105 #endif | 104 #endif |
OLD | NEW |