| 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 GrPipeline_DEFINED | 8 #ifndef GrPipeline_DEFINED |
| 9 #define GrPipeline_DEFINED | 9 #define GrPipeline_DEFINED |
| 10 | 10 |
| 11 #include "GrColor.h" | 11 #include "GrColor.h" |
| 12 #include "GrFragmentProcessor.h" | 12 #include "GrFragmentProcessor.h" |
| 13 #include "GrGpu.h" | 13 #include "GrGpu.h" |
| 14 #include "GrNonAtomicRef.h" | 14 #include "GrNonAtomicRef.h" |
| 15 #include "GrPendingProgramElement.h" | 15 #include "GrPendingProgramElement.h" |
| 16 #include "GrPrimitiveProcessor.h" | 16 #include "GrPrimitiveProcessor.h" |
| 17 #include "GrProgramDesc.h" | 17 #include "GrProgramDesc.h" |
| 18 #include "GrStencil.h" | 18 #include "GrStencil.h" |
| 19 #include "GrTypesPriv.h" | 19 #include "GrTypesPriv.h" |
| 20 #include "SkMatrix.h" | 20 #include "SkMatrix.h" |
| 21 #include "SkRefCnt.h" | 21 #include "SkRefCnt.h" |
| 22 | 22 |
| 23 class GrBatch; | 23 class GrBatch; |
| 24 class GrDeviceCoordTexture; | 24 class GrDeviceCoordTexture; |
| 25 class GrPipelineBuilder; | 25 class GrPipelineBuilder; |
| 26 | 26 |
| 27 struct GrBatchToXPOverrides { | 27 struct GrBatchToXPOverrides { |
| 28 GrBatchToXPOverrides() |
| 29 : fUsePLSDstRead(false) {} |
| 30 |
| 28 bool fUsePLSDstRead; | 31 bool fUsePLSDstRead; |
| 29 }; | 32 }; |
| 30 | 33 |
| 31 struct GrPipelineOptimizations { | 34 struct GrPipelineOptimizations { |
| 32 GrProcOptInfo fColorPOI; | 35 GrProcOptInfo fColorPOI; |
| 33 GrProcOptInfo fCoveragePOI; | 36 GrProcOptInfo fCoveragePOI; |
| 34 GrBatchToXPOverrides fOverrides; | 37 GrBatchToXPOverrides fOverrides; |
| 35 }; | 38 }; |
| 36 | 39 |
| 37 /** | 40 /** |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 bool fReadsFragPosition; | 203 bool fReadsFragPosition; |
| 201 bool fIgnoresCoverage; | 204 bool fIgnoresCoverage; |
| 202 | 205 |
| 203 // This value is also the index in fFragmentProcessors where coverage proces
sors begin. | 206 // This value is also the index in fFragmentProcessors where coverage proces
sors begin. |
| 204 int fNumColorProcessors; | 207 int fNumColorProcessors; |
| 205 | 208 |
| 206 typedef SkRefCnt INHERITED; | 209 typedef SkRefCnt INHERITED; |
| 207 }; | 210 }; |
| 208 | 211 |
| 209 #endif | 212 #endif |
| OLD | NEW |