| Index: src/gpu/glsl/GrGLSLVertexShaderBuilder.h
|
| diff --git a/src/gpu/glsl/GrGLSLVertexShaderBuilder.h b/src/gpu/glsl/GrGLSLVertexShaderBuilder.h
|
| index 92edd9ae81df5d84531dc6fe5e0451fccedffeb0..b76721fd00b82cf3e4f5b0e0ddbb707f13693129 100644
|
| --- a/src/gpu/glsl/GrGLSLVertexShaderBuilder.h
|
| +++ b/src/gpu/glsl/GrGLSLVertexShaderBuilder.h
|
| @@ -18,26 +18,8 @@ public:
|
| GrGLSLVertexBuilder(GrGLSLProgramBuilder* program);
|
|
|
| void transformToNormalizedDeviceSpace(const GrShaderVar& posVar);
|
| - void emitAttributes(const GrGeometryProcessor& gp);
|
| -
|
| - void addAttribute(const GrGeometryProcessor::Attribute* attr) {
|
| - this->addAttribute(GrShaderVar(attr->fName,
|
| - GrVertexAttribTypeToSLType(attr->fType),
|
| - GrShaderVar::kAttribute_TypeModifier,
|
| - GrShaderVar::kNonArray,
|
| - attr->fPrecision));
|
| - }
|
| -
|
| private:
|
| - /*
|
| - * Internal call for GrGLProgramBuilder.addVarying
|
| - */
|
| - void addVarying(const char* name, GrSLPrecision, GrGLSLVarying*);
|
| -
|
| - // an internal call which checks for uniquness of a var before adding it to the list of inputs
|
| - bool addAttribute(const GrShaderVar& var);
|
| -
|
| - void onFinalize() override {}
|
| + void onFinalize() override;
|
|
|
| const char* fRtAdjustName;
|
|
|
|
|