| 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 | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 29 class GrPipelineBuilder : public SkNoncopyable { | 29 class GrPipelineBuilder : public SkNoncopyable { | 
| 30 public: | 30 public: | 
| 31     GrPipelineBuilder(); | 31     GrPipelineBuilder(); | 
| 32 | 32 | 
| 33     /** | 33     /** | 
| 34      * Initializes the GrPipelineBuilder based on a GrPaint and MSAA availabilit
     y. Note | 34      * Initializes the GrPipelineBuilder based on a GrPaint and MSAA availabilit
     y. Note | 
| 35      * that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipeli
     neBuilder that have | 35      * that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipeli
     neBuilder that have | 
| 36      * no GrPaint equivalents are set to default values with the exception of ve
     rtex attribute state | 36      * no GrPaint equivalents are set to default values with the exception of ve
     rtex attribute state | 
| 37      * which is unmodified by this function and clipping which will be enabled. | 37      * which is unmodified by this function and clipping which will be enabled. | 
| 38      */ | 38      */ | 
| 39     GrPipelineBuilder(const GrPaint&, bool targetHasUnifiedMultisampling); | 39     GrPipelineBuilder(const GrPaint&, bool useHWAA = false); | 
| 40 | 40 | 
| 41     virtual ~GrPipelineBuilder(); | 41     virtual ~GrPipelineBuilder(); | 
| 42 | 42 | 
| 43     /////////////////////////////////////////////////////////////////////////// | 43     /////////////////////////////////////////////////////////////////////////// | 
| 44     /// @name Fragment Processors | 44     /// @name Fragment Processors | 
| 45     /// | 45     /// | 
| 46     /// GrFragmentProcessors are used to compute per-pixel color and per-pixel f
     ractional coverage. | 46     /// GrFragmentProcessors are used to compute per-pixel color and per-pixel f
     ractional coverage. | 
| 47     /// There are two chains of FPs, one for color and one for coverage. The fir
     st FP in each | 47     /// There are two chains of FPs, one for color and one for coverage. The fir
     st FP in each | 
| 48     /// chain gets the initial color/coverage from the GrPrimitiveProcessor. It 
     computes an output | 48     /// chain gets the initial color/coverage from the GrPrimitiveProcessor. It 
     computes an output | 
| 49     /// color/coverage which is fed to the next FP in the chain. The last color 
     and coverage FPs | 49     /// color/coverage which is fed to the next FP in the chain. The last color 
     and coverage FPs | 
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 311     DrawFace                                fDrawFace; | 311     DrawFace                                fDrawFace; | 
| 312     mutable SkAutoTUnref<const GrXPFactory> fXPFactory; | 312     mutable SkAutoTUnref<const GrXPFactory> fXPFactory; | 
| 313     FragmentProcessorArray                  fColorFragmentProcessors; | 313     FragmentProcessorArray                  fColorFragmentProcessors; | 
| 314     FragmentProcessorArray                  fCoverageFragmentProcessors; | 314     FragmentProcessorArray                  fCoverageFragmentProcessors; | 
| 315 | 315 | 
| 316     friend class GrPipeline; | 316     friend class GrPipeline; | 
| 317     friend class GrDrawTarget; | 317     friend class GrDrawTarget; | 
| 318 }; | 318 }; | 
| 319 | 319 | 
| 320 #endif | 320 #endif | 
| OLD | NEW | 
|---|