Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
index 31b4ad4cd92ebf338809e9a6a88d70c57b64d1e2..3b02ab286c54ec35be1bea714a52d2843b9ddd67 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h |
@@ -16,6 +16,8 @@ class GrGLVertexBuilder : public GrGLShaderBuilder { |
public: |
GrGLVertexBuilder(GrGLProgramBuilder* program); |
+ void transformPositionToDeviceSpace(const char* pos3); |
+ |
/** |
* Are explicit local coordinates provided as input to the vertex shader. |
*/ |
@@ -41,10 +43,8 @@ private: |
* private helpers for compilation by GrGLProgramBuilder |
*/ |
void setupLocalCoords(); |
- void transformGLToSkiaCoords(); |
void setupBuiltinVertexAttribute(const char* inName, GrGLSLExpr4* out); |
void emitAttributes(const GrGeometryProcessor& gp); |
- void transformSkiaToGLCoords(); |
void bindVertexAttributes(GrGLuint programID); |
bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const; |
@@ -60,6 +60,7 @@ private: |
GrGLShaderVar* fPositionVar; |
GrGLShaderVar* fLocalCoordsVar; |
+ const char* fRtAdjustName; |
int fEffectAttribOffset; |
friend class GrGLProgramBuilder; |