OLD | NEW |
---|---|
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
234 kIDA_GrBlendCoeff, //<! one minus dst alpha | 234 kIDA_GrBlendCoeff, //<! one minus dst alpha |
235 kConstC_GrBlendCoeff, //<! constant color | 235 kConstC_GrBlendCoeff, //<! constant color |
236 kIConstC_GrBlendCoeff, //<! one minus constant color | 236 kIConstC_GrBlendCoeff, //<! one minus constant color |
237 kConstA_GrBlendCoeff, //<! constant color alpha | 237 kConstA_GrBlendCoeff, //<! constant color alpha |
238 kIConstA_GrBlendCoeff, //<! one minus constant color alpha | 238 kIConstA_GrBlendCoeff, //<! one minus constant color alpha |
239 | 239 |
240 kPublicGrBlendCoeffCount | 240 kPublicGrBlendCoeffCount |
241 }; | 241 }; |
242 | 242 |
243 /** | 243 /** |
244 * Built-in coordinate sets provided by the framework. | |
bsalomon
2013/09/27 19:23:57
Does anything get worse if this is moved to a less
| |
245 */ | |
246 enum GrCoordSet { | |
247 kLocal_GrCoordSet, | |
248 kPosition_GrCoordSet | |
249 }; | |
250 | |
251 /** | |
244 * Formats for masks, used by the font cache. | 252 * Formats for masks, used by the font cache. |
245 * Important that these are 0-based. | 253 * Important that these are 0-based. |
246 */ | 254 */ |
247 enum GrMaskFormat { | 255 enum GrMaskFormat { |
248 kA8_GrMaskFormat, //!< 1-byte per pixel | 256 kA8_GrMaskFormat, //!< 1-byte per pixel |
249 kA565_GrMaskFormat, //!< 2-bytes per pixel | 257 kA565_GrMaskFormat, //!< 2-bytes per pixel |
250 kA888_GrMaskFormat, //!< 4-bytes per pixel | 258 kA888_GrMaskFormat, //!< 4-bytes per pixel |
251 | 259 |
252 kCount_GrMaskFormats //!< used to allocate arrays sized for mask formats | 260 kCount_GrMaskFormats //!< used to allocate arrays sized for mask formats |
253 }; | 261 }; |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
621 }; | 629 }; |
622 | 630 |
623 /** | 631 /** |
624 * This value translates to reseting all the context state for any backend. | 632 * This value translates to reseting all the context state for any backend. |
625 */ | 633 */ |
626 static const uint32_t kAll_GrBackendState = 0xffffffff; | 634 static const uint32_t kAll_GrBackendState = 0xffffffff; |
627 | 635 |
628 /////////////////////////////////////////////////////////////////////////////// | 636 /////////////////////////////////////////////////////////////////////////////// |
629 | 637 |
630 #endif | 638 #endif |
OLD | NEW |