Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index 317f9a0f8d037c93755b631ff9a0c15b4fa02ef1..1813803d8ad7ea41a7556ee1d32b01c366be8f60 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -513,7 +513,7 @@ public: |
virtual ~QuadEdgeEffect() {} |
- const char* name() const SK_OVERRIDE { return "QuadEdge"; } |
+ const char* name() const override { return "QuadEdge"; } |
const Attribute* inPosition() const { return fInPosition; } |
const Attribute* inQuadEdge() const { return fInQuadEdge; } |
@@ -524,7 +524,7 @@ public: |
const GrBatchTracker&) |
: fColor(GrColor_ILLEGAL) {} |
- void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) SK_OVERRIDE { |
+ void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { |
const QuadEdgeEffect& qe = args.fGP.cast<QuadEdgeEffect>(); |
GrGLGPBuilder* pb = args.fPB; |
GrGLVertexBuilder* vsBuilder = pb->getVertexShaderBuilder(); |
@@ -587,7 +587,7 @@ public: |
virtual void setData(const GrGLProgramDataManager& pdman, |
const GrPrimitiveProcessor& gp, |
- const GrBatchTracker& bt) SK_OVERRIDE { |
+ const GrBatchTracker& bt) override { |
this->setUniformViewMatrix(pdman, gp.viewMatrix()); |
const BatchTracker& local = bt.cast<BatchTracker>(); |
@@ -608,16 +608,16 @@ public: |
virtual void getGLProcessorKey(const GrBatchTracker& bt, |
const GrGLCaps& caps, |
- GrProcessorKeyBuilder* b) const SK_OVERRIDE { |
+ GrProcessorKeyBuilder* b) const override { |
GLProcessor::GenKey(*this, bt, caps, b); |
} |
virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, |
- const GrGLCaps&) const SK_OVERRIDE { |
+ const GrGLCaps&) const override { |
return SkNEW_ARGS(GLProcessor, (*this, bt)); |
} |
- void initBatchTracker(GrBatchTracker* bt, const GrPipelineInfo& init) const SK_OVERRIDE { |
+ void initBatchTracker(GrBatchTracker* bt, const GrPipelineInfo& init) const override { |
BatchTracker* local = bt->cast<BatchTracker>(); |
local->fInputColorType = GetColorInputType(&local->fColor, this->color(), init, false); |
local->fUsesLocalCoords = init.fUsesLocalCoords; |
@@ -625,7 +625,7 @@ public: |
bool onCanMakeEqual(const GrBatchTracker& m, |
const GrGeometryProcessor& that, |
- const GrBatchTracker& t) const SK_OVERRIDE { |
+ const GrBatchTracker& t) const override { |
const BatchTracker& mine = m.cast<BatchTracker>(); |
const BatchTracker& theirs = t.cast<BatchTracker>(); |
return CanCombineLocalMatrices(*this, mine.fUsesLocalCoords, |
@@ -642,11 +642,11 @@ private: |
fInQuadEdge = &this->addVertexAttrib(Attribute("inQuadEdge", kVec4f_GrVertexAttribType)); |
} |
- bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE { |
+ bool onIsEqual(const GrGeometryProcessor& other) const override { |
return true; |
} |
- void onGetInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRIDE { |
+ void onGetInvariantOutputCoverage(GrInitInvariantOutput* out) const override { |
out->setUnknownSingleComponent(); |
} |
@@ -700,17 +700,17 @@ public: |
return SkNEW_ARGS(AAConvexPathBatch, (geometry)); |
} |
- const char* name() const SK_OVERRIDE { return "AAConvexBatch"; } |
+ const char* name() const override { return "AAConvexBatch"; } |
- void getInvariantOutputColor(GrInitInvariantOutput* out) const SK_OVERRIDE { |
+ void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
// When this is called on a batch, there is only one geometry bundle |
out->setKnownFourComponents(fGeoData[0].fColor); |
} |
- void getInvariantOutputCoverage(GrInitInvariantOutput* out) const SK_OVERRIDE { |
+ void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override { |
out->setUnknownSingleComponent(); |
} |
- void initBatchTracker(const GrPipelineInfo& init) SK_OVERRIDE { |
+ void initBatchTracker(const GrPipelineInfo& init) override { |
// Handle any color overrides |
if (init.fColorIgnored) { |
fGeoData[0].fColor = GrColor_ILLEGAL; |
@@ -725,7 +725,7 @@ public: |
fBatch.fCoverageIgnored = init.fCoverageIgnored; |
} |
- void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) SK_OVERRIDE { |
+ void generateGeometry(GrBatchTarget* batchTarget, const GrPipeline* pipeline) override { |
int instanceCount = fGeoData.count(); |
SkMatrix invert; |
@@ -833,7 +833,7 @@ private: |
fGeoData.push_back(geometry); |
} |
- bool onCombineIfPossible(GrBatch* t) SK_OVERRIDE { |
+ bool onCombineIfPossible(GrBatch* t) override { |
AAConvexPathBatch* that = t->cast<AAConvexPathBatch>(); |
if (this->color() != that->color()) { |