commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef GrTypesPriv_DEFINED |
| 9 | #define GrTypesPriv_DEFINED |
| 10 | |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 11 | #include "GrTypes.h" |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 12 | #include "SkTArray.h" |
bsalomon | 3e79124 | 2014-12-17 13:43:13 -0800 | [diff] [blame] | 13 | #include "SkRect.h" |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 14 | |
commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame] | 15 | /** |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 16 | * Types of shader-language-specific boxed variables we can create. (Currently only GrGLShaderVars, |
| 17 | * but should be applicable to other shader languages.) |
commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame] | 18 | */ |
| 19 | enum GrSLType { |
| 20 | kVoid_GrSLType, |
| 21 | kFloat_GrSLType, |
| 22 | kVec2f_GrSLType, |
| 23 | kVec3f_GrSLType, |
| 24 | kVec4f_GrSLType, |
| 25 | kMat33f_GrSLType, |
| 26 | kMat44f_GrSLType, |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 27 | kSampler2D_GrSLType, |
| 28 | |
| 29 | kLast_GrSLType = kSampler2D_GrSLType |
commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame] | 30 | }; |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 31 | static const int kGrSLTypeCount = kLast_GrSLType + 1; |
commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame] | 32 | |
bsalomon | 17168df | 2014-12-09 09:00:49 -0800 | [diff] [blame] | 33 | enum GrShaderType { |
| 34 | kVertex_GrShaderType, |
| 35 | kGeometry_GrShaderType, |
| 36 | kFragment_GrShaderType, |
| 37 | |
| 38 | kLastkFragment_GrShaderType = kFragment_GrShaderType |
| 39 | }; |
| 40 | static const int kGrShaderTypeCount = kLastkFragment_GrShaderType + 1; |
| 41 | |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 42 | /** |
bsalomon | c0bd648 | 2014-12-09 10:04:14 -0800 | [diff] [blame] | 43 | * Precisions of shader language variables. Not all shading languages support precisions or actually |
bsalomon | 422f56f | 2014-12-09 10:18:12 -0800 | [diff] [blame] | 44 | * vary the internal precision based on the qualifiers. These currently only apply to float types ( |
| 45 | * including float vectors and matrices). |
bsalomon | c0bd648 | 2014-12-09 10:04:14 -0800 | [diff] [blame] | 46 | */ |
| 47 | enum GrSLPrecision { |
| 48 | kLow_GrSLPrecision, |
| 49 | kMedium_GrSLPrecision, |
| 50 | kHigh_GrSLPrecision, |
| 51 | |
| 52 | // Default precision is medium. This is because on OpenGL ES 2 highp support is not |
| 53 | // guaranteed. On (non-ES) OpenGL the specifiers have no effect on precision. |
| 54 | kDefault_GrSLPrecision = kMedium_GrSLPrecision, |
| 55 | |
| 56 | kLast_GrSLPrecision = kHigh_GrSLPrecision |
| 57 | }; |
| 58 | |
| 59 | static const int kGrSLPrecisionCount = kLast_GrSLPrecision + 1; |
| 60 | |
| 61 | /** |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 62 | * Gets the vector size of the SLType. Returns -1 for void, matrices, and samplers. |
| 63 | */ |
| 64 | static inline int GrSLTypeVectorCount(GrSLType type) { |
tfarina@chromium.org | f6de475 | 2013-08-17 00:02:59 +0000 | [diff] [blame] | 65 | SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 66 | static const int kCounts[] = { -1, 1, 2, 3, 4, -1, -1, -1 }; |
| 67 | return kCounts[type]; |
| 68 | |
| 69 | GR_STATIC_ASSERT(0 == kVoid_GrSLType); |
| 70 | GR_STATIC_ASSERT(1 == kFloat_GrSLType); |
| 71 | GR_STATIC_ASSERT(2 == kVec2f_GrSLType); |
| 72 | GR_STATIC_ASSERT(3 == kVec3f_GrSLType); |
| 73 | GR_STATIC_ASSERT(4 == kVec4f_GrSLType); |
| 74 | GR_STATIC_ASSERT(5 == kMat33f_GrSLType); |
| 75 | GR_STATIC_ASSERT(6 == kMat44f_GrSLType); |
| 76 | GR_STATIC_ASSERT(7 == kSampler2D_GrSLType); |
commit-bot@chromium.org | 972f9cd | 2014-03-28 17:58:28 +0000 | [diff] [blame] | 77 | GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrSLTypeCount); |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 78 | } |
| 79 | |
bsalomon@google.com | 018f179 | 2013-04-18 19:36:09 +0000 | [diff] [blame] | 80 | /** Return the type enum for a vector of floats of length n (1..4), |
| 81 | e.g. 1 -> kFloat_GrSLType, 2 -> kVec2_GrSLType, ... */ |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 82 | static inline GrSLType GrSLFloatVectorType(int count) { |
tfarina@chromium.org | f6de475 | 2013-08-17 00:02:59 +0000 | [diff] [blame] | 83 | SkASSERT(count > 0 && count <= 4); |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 84 | return (GrSLType)(count); |
| 85 | |
| 86 | GR_STATIC_ASSERT(kFloat_GrSLType == 1); |
| 87 | GR_STATIC_ASSERT(kVec2f_GrSLType == 2); |
| 88 | GR_STATIC_ASSERT(kVec3f_GrSLType == 3); |
| 89 | GR_STATIC_ASSERT(kVec4f_GrSLType == 4); |
| 90 | } |
| 91 | |
bsalomon | 422f56f | 2014-12-09 10:18:12 -0800 | [diff] [blame] | 92 | /** Is the shading language type floating point (or vector/matrix of fp)? */ |
| 93 | static inline bool GrSLTypeIsFloatType(GrSLType type) { |
| 94 | SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); |
| 95 | return type >= 1 && type <= 6; |
| 96 | |
| 97 | GR_STATIC_ASSERT(0 == kVoid_GrSLType); |
| 98 | GR_STATIC_ASSERT(1 == kFloat_GrSLType); |
| 99 | GR_STATIC_ASSERT(2 == kVec2f_GrSLType); |
| 100 | GR_STATIC_ASSERT(3 == kVec3f_GrSLType); |
| 101 | GR_STATIC_ASSERT(4 == kVec4f_GrSLType); |
| 102 | GR_STATIC_ASSERT(5 == kMat33f_GrSLType); |
| 103 | GR_STATIC_ASSERT(6 == kMat44f_GrSLType); |
| 104 | GR_STATIC_ASSERT(7 == kSampler2D_GrSLType); |
| 105 | GR_STATIC_ASSERT(8 == kGrSLTypeCount); |
| 106 | } |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 107 | ////////////////////////////////////////////////////////////////////////////// |
| 108 | |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 109 | /** |
| 110 | * Types used to describe format of vertices in arrays. |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 111 | */ |
| 112 | enum GrVertexAttribType { |
| 113 | kFloat_GrVertexAttribType = 0, |
| 114 | kVec2f_GrVertexAttribType, |
| 115 | kVec3f_GrVertexAttribType, |
| 116 | kVec4f_GrVertexAttribType, |
egdaniel | 37b4d86 | 2014-11-03 10:07:07 -0800 | [diff] [blame] | 117 | |
| 118 | kUByte_GrVertexAttribType, // unsigned byte, e.g. coverage |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 119 | kVec4ub_GrVertexAttribType, // vector of 4 unsigned bytes, e.g. colors |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 120 | |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 121 | kVec2s_GrVertexAttribType, // vector of 2 shorts, e.g. texture coordinates |
| 122 | |
| 123 | kLast_GrVertexAttribType = kVec2s_GrVertexAttribType |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 124 | }; |
| 125 | static const int kGrVertexAttribTypeCount = kLast_GrVertexAttribType + 1; |
| 126 | |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 127 | /** |
| 128 | * Returns the vector size of the type. |
| 129 | */ |
| 130 | static inline int GrVertexAttribTypeVectorCount(GrVertexAttribType type) { |
tfarina@chromium.org | f6de475 | 2013-08-17 00:02:59 +0000 | [diff] [blame] | 131 | SkASSERT(type >= 0 && type < kGrVertexAttribTypeCount); |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 132 | static const int kCounts[] = { 1, 2, 3, 4, 1, 4, 2 }; |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 133 | return kCounts[type]; |
| 134 | |
| 135 | GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType); |
| 136 | GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType); |
| 137 | GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType); |
| 138 | GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType); |
egdaniel | 37b4d86 | 2014-11-03 10:07:07 -0800 | [diff] [blame] | 139 | GR_STATIC_ASSERT(4 == kUByte_GrVertexAttribType); |
| 140 | GR_STATIC_ASSERT(5 == kVec4ub_GrVertexAttribType); |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 141 | GR_STATIC_ASSERT(6 == kVec2s_GrVertexAttribType); |
commit-bot@chromium.org | 972f9cd | 2014-03-28 17:58:28 +0000 | [diff] [blame] | 142 | GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrVertexAttribTypeCount); |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | /** |
| 146 | * Returns the size of the attrib type in bytes. |
| 147 | */ |
| 148 | static inline size_t GrVertexAttribTypeSize(GrVertexAttribType type) { |
tfarina@chromium.org | f6de475 | 2013-08-17 00:02:59 +0000 | [diff] [blame] | 149 | SkASSERT(type >= 0 && type < kGrVertexAttribTypeCount); |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 150 | static const size_t kSizes[] = { |
| 151 | sizeof(float), // kFloat_GrVertexAttribType |
| 152 | 2*sizeof(float), // kVec2f_GrVertexAttribType |
| 153 | 3*sizeof(float), // kVec3f_GrVertexAttribType |
| 154 | 4*sizeof(float), // kVec4f_GrVertexAttribType |
egdaniel | 37b4d86 | 2014-11-03 10:07:07 -0800 | [diff] [blame] | 155 | 1*sizeof(char), // kUByte_GrVertexAttribType |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 156 | 4*sizeof(char), // kVec4ub_GrVertexAttribType |
| 157 | 2*sizeof(int16_t) // kVec2s_GrVertexAttribType |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 158 | }; |
| 159 | return kSizes[type]; |
| 160 | |
| 161 | GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType); |
| 162 | GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType); |
| 163 | GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType); |
| 164 | GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType); |
egdaniel | 37b4d86 | 2014-11-03 10:07:07 -0800 | [diff] [blame] | 165 | GR_STATIC_ASSERT(4 == kUByte_GrVertexAttribType); |
| 166 | GR_STATIC_ASSERT(5 == kVec4ub_GrVertexAttribType); |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 167 | GR_STATIC_ASSERT(6 == kVec2s_GrVertexAttribType); |
commit-bot@chromium.org | 972f9cd | 2014-03-28 17:58:28 +0000 | [diff] [blame] | 168 | GR_STATIC_ASSERT(SK_ARRAY_COUNT(kSizes) == kGrVertexAttribTypeCount); |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 169 | } |
| 170 | |
| 171 | /** |
joshualitt | 2dd1ae0 | 2014-12-03 06:24:10 -0800 | [diff] [blame] | 172 | * converts a GrVertexAttribType to a GrSLType |
jvanverth@google.com | 054ae99 | 2013-04-01 20:06:51 +0000 | [diff] [blame] | 173 | */ |
joshualitt | 2dd1ae0 | 2014-12-03 06:24:10 -0800 | [diff] [blame] | 174 | static inline GrSLType GrVertexAttribTypeToSLType(GrVertexAttribType type) { |
| 175 | switch (type) { |
| 176 | default: |
| 177 | SkFAIL("Unsupported type conversion"); |
| 178 | case kUByte_GrVertexAttribType: |
| 179 | case kFloat_GrVertexAttribType: |
| 180 | return kFloat_GrSLType; |
jvanverth | 5a105ff | 2015-02-18 11:36:35 -0800 | [diff] [blame] | 181 | case kVec2s_GrVertexAttribType: |
joshualitt | 2dd1ae0 | 2014-12-03 06:24:10 -0800 | [diff] [blame] | 182 | case kVec2f_GrVertexAttribType: |
| 183 | return kVec2f_GrSLType; |
| 184 | case kVec3f_GrVertexAttribType: |
| 185 | return kVec3f_GrSLType; |
| 186 | case kVec4ub_GrVertexAttribType: |
| 187 | case kVec4f_GrVertexAttribType: |
| 188 | return kVec4f_GrSLType; |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 189 | } |
joshualitt | 2dd1ae0 | 2014-12-03 06:24:10 -0800 | [diff] [blame] | 190 | } |
bsalomon@google.com | 31ec798 | 2013-03-27 18:14:57 +0000 | [diff] [blame] | 191 | |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 192 | ////////////////////////////////////////////////////////////////////////////// |
| 193 | |
| 194 | /** |
| 195 | * We have coverage effects that clip rendering to the edge of some geometric primitive. |
skia.committer@gmail.com | 06acb58 | 2014-03-06 03:02:32 +0000 | [diff] [blame] | 196 | * This enum specifies how that clipping is performed. Not all factories that take a |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 197 | * GrProcessorEdgeType will succeed with all values and it is up to the caller to check for |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 198 | * a NULL return. |
| 199 | */ |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 200 | enum GrPrimitiveEdgeType { |
| 201 | kFillBW_GrProcessorEdgeType, |
| 202 | kFillAA_GrProcessorEdgeType, |
| 203 | kInverseFillBW_GrProcessorEdgeType, |
| 204 | kInverseFillAA_GrProcessorEdgeType, |
| 205 | kHairlineAA_GrProcessorEdgeType, |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 206 | |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 207 | kLast_GrProcessorEdgeType = kHairlineAA_GrProcessorEdgeType |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 208 | }; |
| 209 | |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 210 | static const int kGrProcessorEdgeTypeCnt = kLast_GrProcessorEdgeType + 1; |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 211 | |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 212 | static inline bool GrProcessorEdgeTypeIsFill(const GrPrimitiveEdgeType edgeType) { |
| 213 | return (kFillAA_GrProcessorEdgeType == edgeType || kFillBW_GrProcessorEdgeType == edgeType); |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 214 | } |
| 215 | |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 216 | static inline bool GrProcessorEdgeTypeIsInverseFill(const GrPrimitiveEdgeType edgeType) { |
| 217 | return (kInverseFillAA_GrProcessorEdgeType == edgeType || |
| 218 | kInverseFillBW_GrProcessorEdgeType == edgeType); |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 219 | } |
| 220 | |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 221 | static inline bool GrProcessorEdgeTypeIsAA(const GrPrimitiveEdgeType edgeType) { |
| 222 | return (kFillBW_GrProcessorEdgeType != edgeType && kInverseFillBW_GrProcessorEdgeType != edgeType); |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 223 | } |
| 224 | |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 225 | static inline GrPrimitiveEdgeType GrInvertProcessorEdgeType(const GrPrimitiveEdgeType edgeType) { |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 226 | switch (edgeType) { |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 227 | case kFillBW_GrProcessorEdgeType: |
| 228 | return kInverseFillBW_GrProcessorEdgeType; |
| 229 | case kFillAA_GrProcessorEdgeType: |
| 230 | return kInverseFillAA_GrProcessorEdgeType; |
| 231 | case kInverseFillBW_GrProcessorEdgeType: |
| 232 | return kFillBW_GrProcessorEdgeType; |
| 233 | case kInverseFillAA_GrProcessorEdgeType: |
| 234 | return kFillAA_GrProcessorEdgeType; |
| 235 | case kHairlineAA_GrProcessorEdgeType: |
commit-bot@chromium.org | 88cb22b | 2014-04-30 14:17:00 +0000 | [diff] [blame] | 236 | SkFAIL("Hairline fill isn't invertible."); |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 237 | } |
joshualitt | b0a8a37 | 2014-09-23 09:50:21 -0700 | [diff] [blame] | 238 | return kFillAA_GrProcessorEdgeType; // suppress warning. |
commit-bot@chromium.org | cabf4b2 | 2014-03-05 18:27:43 +0000 | [diff] [blame] | 239 | } |
| 240 | |
bsalomon | bcf0a52 | 2014-10-08 08:40:09 -0700 | [diff] [blame] | 241 | /** |
| 242 | * Indicates the type of pending IO operations that can be recorded for gpu resources. |
| 243 | */ |
| 244 | enum GrIOType { |
| 245 | kRead_GrIOType, |
| 246 | kWrite_GrIOType, |
| 247 | kRW_GrIOType |
| 248 | }; |
| 249 | |
bsalomon | 3e79124 | 2014-12-17 13:43:13 -0800 | [diff] [blame] | 250 | struct GrScissorState { |
| 251 | GrScissorState() : fEnabled(false) {} |
| 252 | void set(const SkIRect& rect) { fRect = rect; fEnabled = true; } |
| 253 | bool operator==(const GrScissorState& other) const { |
| 254 | return fEnabled == other.fEnabled && |
| 255 | (false == fEnabled || fRect == other.fRect); |
| 256 | } |
| 257 | bool operator!=(const GrScissorState& other) const { return !(*this == other); } |
robertphillips | e85a32d | 2015-02-10 08:16:55 -0800 | [diff] [blame] | 258 | |
| 259 | bool enabled() const { return fEnabled; } |
| 260 | const SkIRect& rect() const { return fRect; } |
| 261 | |
| 262 | private: |
bsalomon | 3e79124 | 2014-12-17 13:43:13 -0800 | [diff] [blame] | 263 | bool fEnabled; |
| 264 | SkIRect fRect; |
| 265 | }; |
| 266 | |
joshualitt | 7d022d6 | 2015-05-12 12:03:50 -0700 | [diff] [blame^] | 267 | #ifdef SK_DEBUG |
| 268 | // Takes a pointer to a GrContext, and will suppress prints if required |
| 269 | #define GrContextDebugf(context, ...) \ |
| 270 | if (!context->suppressPrints()) { \ |
| 271 | SkDebugf(__VA_ARGS__); \ |
| 272 | } |
| 273 | #else |
| 274 | #define GrContextDebugf(context, ...) |
| 275 | #endif |
| 276 | |
commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame] | 277 | #endif |