Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
index ba978a8bebef9c6c93ecee048b8e8e5addcbb3e5..da094b507f85f27234951eff180bb4c3853d7bc7 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
@@ -16,10 +16,8 @@ class GrGLVertexBuilder : public GrGLShaderBuilder { |
public: |
GrGLVertexBuilder(GrGLProgramBuilder* program); |
- /** returns the expected position output */ |
- const char* glPosition() const { return "pos3"; } |
- const char* positionCoords() const { return "position"; } |
- const char* localCoords() const { return "localCoords"; } |
+ void transformToNormalizedDeviceSpace(const char* pos3); |
+ void emitAttributes(const GrGeometryProcessor& gp); |
void addAttribute(const GrGeometryProcessor::GrAttribute* attr) { |
this->addAttribute(GrShaderVar(attr->fName, |
@@ -36,8 +34,6 @@ private: |
/* |
* private helpers for compilation by GrGLProgramBuilder |
*/ |
- void transformToNormalizedDeviceSpace(); |
- void emitAttributes(const GrGeometryProcessor& gp); |
void bindVertexAttributes(GrGLuint programID); |
bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const; |