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

Side by Side Diff: src/gpu/effects/GrCoverageSetOpXP.h

Issue 789343003: Cleanup: More override fixes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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/GrGeometryProcessor.h ('k') | no next file » | 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 GrCoverageSetOpXP_DEFINED 8 #ifndef GrCoverageSetOpXP_DEFINED
9 #define GrCoverageSetOpXP_DEFINED 9 #define GrCoverageSetOpXP_DEFINED
10 10
(...skipping 10 matching lines...) Expand all
21 * applying the set operator. 21 * applying the set operator.
22 * */ 22 * */
23 class GrCoverageSetOpXP : public GrXferProcessor { 23 class GrCoverageSetOpXP : public GrXferProcessor {
24 public: 24 public:
25 static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) { 25 static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) {
26 return SkNEW_ARGS(GrCoverageSetOpXP, (regionOp, invertCoverage)); 26 return SkNEW_ARGS(GrCoverageSetOpXP, (regionOp, invertCoverage));
27 } 27 }
28 28
29 ~GrCoverageSetOpXP() SK_OVERRIDE; 29 ~GrCoverageSetOpXP() SK_OVERRIDE;
30 30
31 virtual const char* name() const { return "Coverage Set Op"; } 31 virtual const char* name() const SK_OVERRIDE { return "Coverage Set Op"; }
32 32
33 void getGLProcessorKey(const GrGLCaps& caps, GrProcessorKeyBuilder* b) const SK_OVERRIDE; 33 void getGLProcessorKey(const GrGLCaps& caps, GrProcessorKeyBuilder* b) const SK_OVERRIDE;
34 34
35 GrGLXferProcessor* createGLInstance() const SK_OVERRIDE; 35 GrGLXferProcessor* createGLInstance() const SK_OVERRIDE;
36 36
37 bool hasSecondaryOutput() const SK_OVERRIDE { return false; } 37 bool hasSecondaryOutput() const SK_OVERRIDE { return false; }
38 38
39 GrXferProcessor::OptFlags getOptimizations(const GrProcOptInfo& colorPOI, 39 GrXferProcessor::OptFlags getOptimizations(const GrProcOptInfo& colorPOI,
40 const GrProcOptInfo& coveragePOI, 40 const GrProcOptInfo& coveragePOI,
41 bool colorWriteDisabled, 41 bool colorWriteDisabled,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 GR_DECLARE_XP_FACTORY_TEST; 101 GR_DECLARE_XP_FACTORY_TEST;
102 102
103 SkRegion::Op fRegionOp; 103 SkRegion::Op fRegionOp;
104 bool fInvertCoverage; 104 bool fInvertCoverage;
105 105
106 typedef GrXPFactory INHERITED; 106 typedef GrXPFactory INHERITED;
107 }; 107 };
108 #endif 108 #endif
109 109
OLDNEW
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698