| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 fXPFactory.reset(GrDisableColorXPFactory::Create()); | 170 fXPFactory.reset(GrDisableColorXPFactory::Create()); |
| 171 } | 171 } |
| 172 | 172 |
| 173 const GrXPFactory* getXPFactory() const { | 173 const GrXPFactory* getXPFactory() const { |
| 174 return fXPFactory; | 174 return fXPFactory; |
| 175 } | 175 } |
| 176 | 176 |
| 177 /** | 177 /** |
| 178 * Checks whether the xp will need destination in a texture to correctly ble
nd. | 178 * Checks whether the xp will need destination in a texture to correctly ble
nd. |
| 179 */ | 179 */ |
| 180 bool willXPNeedDstTexture(const GrCaps& caps, const GrProcOptInfo& colorPOI, | 180 bool willXPNeedDstTexture(const GrCaps& caps, |
| 181 const GrProcOptInfo& coveragePOI) const; | 181 const GrPipelineOptimizations& optimizations) cons
t; |
| 182 | 182 |
| 183 /// @} | 183 /// @} |
| 184 | 184 |
| 185 | 185 |
| 186 /////////////////////////////////////////////////////////////////////////// | 186 /////////////////////////////////////////////////////////////////////////// |
| 187 /// @name Render Target | 187 /// @name Render Target |
| 188 //// | 188 //// |
| 189 | 189 |
| 190 /** | 190 /** |
| 191 * Retrieves the currently set render-target. | 191 * Retrieves the currently set render-target. |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 mutable SkAutoTUnref<const GrXPFactory> fXPFactory; | 379 mutable SkAutoTUnref<const GrXPFactory> fXPFactory; |
| 380 FragmentProcessorArray fColorFragmentProcessors; | 380 FragmentProcessorArray fColorFragmentProcessors; |
| 381 FragmentProcessorArray fCoverageFragmentProcessors; | 381 FragmentProcessorArray fCoverageFragmentProcessors; |
| 382 GrClip fClip; | 382 GrClip fClip; |
| 383 | 383 |
| 384 friend class GrPipeline; | 384 friend class GrPipeline; |
| 385 friend class GrDrawTarget; | 385 friend class GrDrawTarget; |
| 386 }; | 386 }; |
| 387 | 387 |
| 388 #endif | 388 #endif |
| OLD | NEW |