OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 #ifndef GrPaint_DEFINED | 10 #ifndef GrPaint_DEFINED |
11 #define GrPaint_DEFINED | 11 #define GrPaint_DEFINED |
12 | 12 |
13 #include "GrColor.h" | 13 #include "GrColor.h" |
14 #include "GrStagedProcessor.h" | 14 #include "GrFragmentStage.h" |
15 #include "GrProcessorDataManager.h" | 15 #include "GrProcessorDataManager.h" |
16 #include "GrXferProcessor.h" | 16 #include "GrXferProcessor.h" |
17 #include "effects/GrPorterDuffXferProcessor.h" | 17 #include "effects/GrPorterDuffXferProcessor.h" |
18 | 18 |
19 #include "SkRegion.h" | 19 #include "SkRegion.h" |
20 #include "SkXfermode.h" | 20 #include "SkXfermode.h" |
21 | 21 |
22 /** | 22 /** |
23 * The paint describes how color and coverage are computed at each pixel by GrCo
ntext draw | 23 * The paint describes how color and coverage are computed at each pixel by GrCo
ntext draw |
24 * functions and the how color is blended with the destination pixel. | 24 * functions and the how color is blended with the destination pixel. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 SkSTArray<2, GrFragmentStage> fCoverageStages; | 148 SkSTArray<2, GrFragmentStage> fCoverageStages; |
149 | 149 |
150 bool fAntiAlias; | 150 bool fAntiAlias; |
151 bool fDither; | 151 bool fDither; |
152 | 152 |
153 GrColor fColor; | 153 GrColor fColor; |
154 SkAutoTUnref<GrProcessorDataManager> fProcDataManager; | 154 SkAutoTUnref<GrProcessorDataManager> fProcDataManager; |
155 }; | 155 }; |
156 | 156 |
157 #endif | 157 #endif |
OLD | NEW |