| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 GrTypesPriv_DEFINED | 8 #ifndef GrTypesPriv_DEFINED |
| 9 #define GrTypesPriv_DEFINED | 9 #define GrTypesPriv_DEFINED |
| 10 | 10 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 case kInverseFillBW_GrProcessorEdgeType: | 210 case kInverseFillBW_GrProcessorEdgeType: |
| 211 return kFillBW_GrProcessorEdgeType; | 211 return kFillBW_GrProcessorEdgeType; |
| 212 case kInverseFillAA_GrProcessorEdgeType: | 212 case kInverseFillAA_GrProcessorEdgeType: |
| 213 return kFillAA_GrProcessorEdgeType; | 213 return kFillAA_GrProcessorEdgeType; |
| 214 case kHairlineAA_GrProcessorEdgeType: | 214 case kHairlineAA_GrProcessorEdgeType: |
| 215 SkFAIL("Hairline fill isn't invertible."); | 215 SkFAIL("Hairline fill isn't invertible."); |
| 216 } | 216 } |
| 217 return kFillAA_GrProcessorEdgeType; // suppress warning. | 217 return kFillAA_GrProcessorEdgeType; // suppress warning. |
| 218 } | 218 } |
| 219 | 219 |
| 220 /** |
| 221 * Indicates the type of pending IO operations that can be recorded for gpu reso
urces. |
| 222 */ |
| 223 enum GrIOType { |
| 224 kRead_GrIOType, |
| 225 kWrite_GrIOType, |
| 226 kRW_GrIOType |
| 227 }; |
| 228 |
| 220 #endif | 229 #endif |
| OLD | NEW |