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

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

Issue 1132093004: Move DstCoordTexture to GrXP, rename and remove the word "copy" from dstcopytexture names. (Closed) Base URL: https://skia.googlesource.com/skia.git@copy
Patch Set: remove asserts Created 5 years, 6 months 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 } 170 }
171 171
172 const GrXPFactory* getXPFactory() const { 172 const GrXPFactory* getXPFactory() const {
173 if (!fXPFactory) { 173 if (!fXPFactory) {
174 fXPFactory.reset(GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode )); 174 fXPFactory.reset(GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode ));
175 } 175 }
176 return fXPFactory.get(); 176 return fXPFactory.get();
177 } 177 }
178 178
179 /** 179 /**
180 * Checks whether the xp will need a copy of the destination to correctly bl end. 180 * Checks whether the xp will need destination in a texture to correctly ble nd.
181 */ 181 */
182 bool willXPNeedDstCopy(const GrCaps& caps, const GrProcOptInfo& colorPOI, 182 bool willXPNeedDstTexture(const GrCaps& caps, const GrProcOptInfo& colorPOI,
183 const GrProcOptInfo& coveragePOI) const; 183 const GrProcOptInfo& coveragePOI) const;
184 184
185 /// @} 185 /// @}
186 186
187 187
188 /////////////////////////////////////////////////////////////////////////// 188 ///////////////////////////////////////////////////////////////////////////
189 /// @name Render Target 189 /// @name Render Target
190 //// 190 ////
191 191
192 /** 192 /**
193 * Retrieves the currently set render-target. 193 * Retrieves the currently set render-target.
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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