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

Unified Diff: src/gpu/GrOvalRenderer.cpp

Issue 1443743002: Rename some processor functions from GL to GLSL (Closed) Base URL: https://skia.googlesource.com/skia.git@primProcs
Patch Set: nits Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrFragmentProcessor.cpp ('k') | src/gpu/GrPathProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrOvalRenderer.cpp
diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp
index 3c438d455e4bbf865eea120d1212d064ac118246..fde9ba712e2c7f3469e332d8e92c407ad113dbec 100644
--- a/src/gpu/GrOvalRenderer.cpp
+++ b/src/gpu/GrOvalRenderer.cpp
@@ -90,9 +90,9 @@ public:
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 @@ public:
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 @@ public:
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 @@ public:
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 @@ public:
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 @@ public:
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:
« no previous file with comments | « src/gpu/GrFragmentProcessor.cpp ('k') | src/gpu/GrPathProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698