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

Unified Diff: src/gpu/gl/GrGLProgramEffects.h

Issue 25645006: Allow gradient optimization with perspective (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: updated skipped tests Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrEffect.cpp ('k') | src/gpu/gl/GrGLProgramEffects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLProgramEffects.h
diff --git a/src/gpu/gl/GrGLProgramEffects.h b/src/gpu/gl/GrGLProgramEffects.h
index c2c21042b08d9ac153ac2f52be3b9ec3333b5542..b74dc96c4b80f3f24eefed30fad9ec795a610a5d 100644
--- a/src/gpu/gl/GrGLProgramEffects.h
+++ b/src/gpu/gl/GrGLProgramEffects.h
@@ -54,20 +54,17 @@ public:
*/
class TransformedCoords {
public:
- TransformedCoords(const char* name, GrSLType type, const char* vsName)
- : fName(name), fType(type), fVSName(vsName) {
+ TransformedCoords(const char* name, GrSLType type)
+ : fName(name), fType(type) {
}
const char* c_str() const { return fName.c_str(); }
GrSLType type() const { return fType; }
const SkString& getName() const { return fName; }
- // TODO: Remove the VS name when we have vertexless shaders, and gradients are reworked.
- const SkString& getVSName() const { return fVSName; }
private:
SkString fName;
GrSLType fType;
- SkString fVSName;
};
typedef SkTArray<TransformedCoords> TransformedCoordsArray;
« no previous file with comments | « src/gpu/GrEffect.cpp ('k') | src/gpu/gl/GrGLProgramEffects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698