Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Side by Side Diff: src/gpu/GrPipelineBuilder.h

Issue 1480353002: APIs which took colorPOI / coveragePOI pairs updated to take a GrPipelineOptimizations struct (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrPipeline.cpp ('k') | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/gpu/GrPipeline.cpp ('k') | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698