OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 GrPipelineBuilder_DEFINED | 8 #ifndef GrPipelineBuilder_DEFINED |
9 #define GrPipelineBuilder_DEFINED | 9 #define GrPipelineBuilder_DEFINED |
10 | 10 |
11 #include "GrBatch.h" | |
12 #include "GrBlend.h" | 11 #include "GrBlend.h" |
13 #include "GrClip.h" | 12 #include "GrClip.h" |
14 #include "GrDrawTargetCaps.h" | 13 #include "GrDrawTargetCaps.h" |
15 #include "GrGpuResourceRef.h" | 14 #include "GrGpuResourceRef.h" |
16 #include "GrFragmentStage.h" | 15 #include "GrFragmentStage.h" |
17 #include "GrProcOptInfo.h" | 16 #include "GrProcOptInfo.h" |
18 #include "GrRenderTarget.h" | 17 #include "GrRenderTarget.h" |
19 #include "GrStencil.h" | 18 #include "GrStencil.h" |
20 #include "GrXferProcessor.h" | 19 #include "GrXferProcessor.h" |
21 #include "SkMatrix.h" | 20 #include "SkMatrix.h" |
22 #include "effects/GrCoverageSetOpXP.h" | 21 #include "effects/GrCoverageSetOpXP.h" |
23 #include "effects/GrDisableColorXP.h" | 22 #include "effects/GrDisableColorXP.h" |
24 #include "effects/GrPorterDuffXferProcessor.h" | 23 #include "effects/GrPorterDuffXferProcessor.h" |
25 #include "effects/GrSimpleTextureEffect.h" | 24 #include "effects/GrSimpleTextureEffect.h" |
26 | 25 |
| 26 class GrBatch; |
27 class GrDrawTargetCaps; | 27 class GrDrawTargetCaps; |
28 class GrPaint; | 28 class GrPaint; |
29 class GrTexture; | 29 class GrTexture; |
30 | 30 |
31 class GrPipelineBuilder { | 31 class GrPipelineBuilder { |
32 public: | 32 public: |
33 GrPipelineBuilder(); | 33 GrPipelineBuilder(); |
34 | 34 |
35 GrPipelineBuilder(const GrPipelineBuilder& pipelineBuilder) { | 35 GrPipelineBuilder(const GrPipelineBuilder& pipelineBuilder) { |
36 SkDEBUGCODE(fBlockEffectRemovalCnt = 0;) | 36 SkDEBUGCODE(fBlockEffectRemovalCnt = 0;) |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 mutable GrProcOptInfo fCoverageProcInfo; | 434 mutable GrProcOptInfo fCoverageProcInfo; |
435 mutable bool fColorProcInfoValid; | 435 mutable bool fColorProcInfoValid; |
436 mutable bool fCoverageProcInfoValid; | 436 mutable bool fCoverageProcInfoValid; |
437 mutable GrColor fColorCache; | 437 mutable GrColor fColorCache; |
438 mutable GrColor fCoverageCache; | 438 mutable GrColor fCoverageCache; |
439 | 439 |
440 friend class GrPipeline; | 440 friend class GrPipeline; |
441 }; | 441 }; |
442 | 442 |
443 #endif | 443 #endif |
OLD | NEW |