Rename some processor functions from GL to GLSL
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1443743002
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp
index 3c438d4..fde9ba7 100644
--- a/src/gpu/GrOvalRenderer.cpp
+++ b/src/gpu/GrOvalRenderer.cpp
@@ -90,9 +90,9 @@
inline bool isStroked() const { return fStroke; }
- class GLProcessor : public GrGLSLGeometryProcessor {
+ class GLSLProcessor : public GrGLSLGeometryProcessor {
public:
- GLProcessor()
+ GLSLProcessor()
: fColor(GrColor_ILLEGAL) {}
void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{
@@ -165,12 +165,12 @@
typedef GrGLSLGeometryProcessor INHERITED;
};
- void getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {
- GLProcessor::GenKey(*this, caps, b);
+ void getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {
+ GLSLProcessor::GenKey(*this, caps, b);
}
- GrGLSLPrimitiveProcessor* createGLInstance(const GrGLSLCaps&) const override {
- return new GLProcessor();
+ GrGLSLPrimitiveProcessor* createGLSLInstance(const GrGLSLCaps&) const override {
+ return new GLSLProcessor();
}
private:
@@ -238,9 +238,9 @@
inline bool isStroked() const { return fStroke; }
- class GLProcessor : public GrGLSLGeometryProcessor {
+ class GLSLProcessor : public GrGLSLGeometryProcessor {
public:
- GLProcessor()
+ GLSLProcessor()
: fColor(GrColor_ILLEGAL) {}
void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{
@@ -334,12 +334,12 @@
typedef GrGLSLGeometryProcessor INHERITED;
};
- void getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {
- GLProcessor::GenKey(*this, caps, b);
+ void getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {
+ GLSLProcessor::GenKey(*this, caps, b);
}
- GrGLSLPrimitiveProcessor* createGLInstance(const GrGLSLCaps&) const override {
- return new GLProcessor();
+ GrGLSLPrimitiveProcessor* createGLSLInstance(const GrGLSLCaps&) const override {
+ return new GLSLProcessor();
}
private:
@@ -413,9 +413,9 @@
inline Mode getMode() const { return fMode; }
- class GLProcessor : public GrGLSLGeometryProcessor {
+ class GLSLProcessor : public GrGLSLGeometryProcessor {
public:
- GLProcessor()
+ GLSLProcessor()
: fViewMatrix(SkMatrix::InvalidMatrix()), fColor(GrColor_ILLEGAL) {}
void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override {
@@ -528,12 +528,12 @@
typedef GrGLSLGeometryProcessor INHERITED;
};
- void getGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {
- GLProcessor::GenKey(*this, caps, b);
+ void getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {
+ GLSLProcessor::GenKey(*this, caps, b);
}
- GrGLSLPrimitiveProcessor* createGLInstance(const GrGLSLCaps&) const override {
- return new GLProcessor();
+ GrGLSLPrimitiveProcessor* createGLSLInstance(const GrGLSLCaps&) const override {
+ return new GLSLProcessor();
}
private: