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

Side by Side Diff: include/gpu/GrXferProcessor.h

Issue 1315923004: Convert child FPs from refs to pending executions when parent converts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update comments Created 5 years, 3 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 | « include/gpu/GrProgramElement.h ('k') | src/gpu/GrPrimitiveProcessor.h » ('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 2014 Google Inc. 2 * Copyright 2014 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 GrXferProcessor_DEFINED 8 #ifndef GrXferProcessor_DEFINED
9 #define GrXferProcessor_DEFINED 9 #define GrXferProcessor_DEFINED
10 10
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 return false; 236 return false;
237 } 237 }
238 return this->onIsEqual(that); 238 return this->onIsEqual(that);
239 } 239 }
240 240
241 protected: 241 protected:
242 GrXferProcessor(); 242 GrXferProcessor();
243 GrXferProcessor(const DstTexture*, bool willReadDstColor, bool hasMixedSampl es); 243 GrXferProcessor(const DstTexture*, bool willReadDstColor, bool hasMixedSampl es);
244 244
245 private: 245 private:
246 void notifyRefCntIsZero() const final {}
247
246 virtual OptFlags onGetOptimizations(const GrProcOptInfo& colorPOI, 248 virtual OptFlags onGetOptimizations(const GrProcOptInfo& colorPOI,
247 const GrProcOptInfo& coveragePOI, 249 const GrProcOptInfo& coveragePOI,
248 bool doesStencilWrite, 250 bool doesStencilWrite,
249 GrColor* overrideColor, 251 GrColor* overrideColor,
250 const GrCaps& caps) = 0; 252 const GrCaps& caps) = 0;
251 253
252 /** 254 /**
253 * Sets a unique key on the GrProcessorKeyBuilder that is directly associate d with this xfer 255 * Sets a unique key on the GrProcessorKeyBuilder that is directly associate d with this xfer
254 * processor's GL backend implementation. 256 * processor's GL backend implementation.
255 */ 257 */
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 enum { 400 enum {
399 kIllegalXPFClassID = 0, 401 kIllegalXPFClassID = 0,
400 }; 402 };
401 static int32_t gCurrXPFClassID; 403 static int32_t gCurrXPFClassID;
402 404
403 typedef GrProgramElement INHERITED; 405 typedef GrProgramElement INHERITED;
404 }; 406 };
405 407
406 #endif 408 #endif
407 409
OLDNEW
« no previous file with comments | « include/gpu/GrProgramElement.h ('k') | src/gpu/GrPrimitiveProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698