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 #ifndef GrXferProcessor_DEFINED | 8 #ifndef GrXferProcessor_DEFINED |
9 #define GrXferProcessor_DEFINED | 9 #define GrXferProcessor_DEFINED |
10 | 10 |
11 #include "GrColor.h" | 11 #include "GrColor.h" |
12 #include "GrProcessor.h" | 12 #include "GrProcessor.h" |
13 #include "GrTexture.h" | 13 #include "GrTexture.h" |
14 #include "GrTypes.h" | 14 #include "GrTypes.h" |
15 #include "SkXfermode.h" | 15 #include "SkXfermode.h" |
16 | 16 |
17 class GrDrawTargetCaps; | 17 class GrShaderCaps; |
18 class GrGLCaps; | 18 class GrGLSLCaps; |
19 typedef GrGLCaps GrGLSLCaps; | |
20 class GrGLXferProcessor; | 19 class GrGLXferProcessor; |
21 class GrProcOptInfo; | 20 class GrProcOptInfo; |
22 | 21 |
23 /** | 22 /** |
24 * Coeffecients for alpha-blending. | 23 * Coeffecients for alpha-blending. |
25 */ | 24 */ |
26 enum GrBlendCoeff { | 25 enum GrBlendCoeff { |
27 kInvalid_GrBlendCoeff = -1, | 26 kInvalid_GrBlendCoeff = -1, |
28 | 27 |
29 kZero_GrBlendCoeff, //<! 0 | 28 kZero_GrBlendCoeff, //<! 0 |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 enum { | 325 enum { |
327 kIllegalXPFClassID = 0, | 326 kIllegalXPFClassID = 0, |
328 }; | 327 }; |
329 static int32_t gCurrXPFClassID; | 328 static int32_t gCurrXPFClassID; |
330 | 329 |
331 typedef GrProgramElement INHERITED; | 330 typedef GrProgramElement INHERITED; |
332 }; | 331 }; |
333 | 332 |
334 #endif | 333 #endif |
335 | 334 |
OLD | NEW |