OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "GrInvariantOutput.h" | 8 #include "GrInvariantOutput.h" |
9 | 9 |
10 #ifdef SK_DEBUG | 10 #ifdef SK_DEBUG |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 } | 45 } |
46 } | 46 } |
47 if (kB_GrColorComponentFlag & fValidFlags) { | 47 if (kB_GrColorComponentFlag & fValidFlags) { |
48 if (c[2] > c[3]) { | 48 if (c[2] > c[3]) { |
49 return false; | 49 return false; |
50 } | 50 } |
51 } | 51 } |
52 } | 52 } |
53 return true; | 53 return true; |
54 } | 54 } |
| 55 |
55 #endif // end DEBUG | 56 #endif // end DEBUG |
56 | 57 |
OLD | NEW |