Index: src/gpu/gl/GrGLPathProcessor.h |
diff --git a/src/gpu/gl/GrGLPathProcessor.h b/src/gpu/gl/GrGLPathProcessor.h |
index d6fc1706d7ff636978be79f22541cfffdcc1bc75..0f5cad2013a8e520d690a8d71a546ad960d51b0e 100644 |
--- a/src/gpu/gl/GrGLPathProcessor.h |
+++ b/src/gpu/gl/GrGLPathProcessor.h |
@@ -13,6 +13,7 @@ |
class GrPathProcessor; |
class GrGLPathRendering; |
class GrGLGpu; |
+class GrGLPathProgramDataManager; |
class GrGLPathProcessor : public GrGLPrimitiveProcessor { |
public: |
@@ -27,6 +28,7 @@ public: |
void emitTransforms(GrGLGPBuilder*, const TransformsIn&, TransformsOut*); |
+ void bindSeparableVaryings(GrGLGpu* gpu, GrGLuint programID); |
void resolveSeparableVaryings(GrGLGpu* gpu, GrGLuint programId); |
void setData(const GrGLProgramDataManager&, |
@@ -34,25 +36,15 @@ public: |
const GrBatchTracker&) override; |
void setTransformData(const GrPrimitiveProcessor&, |
+ const GrGLPathProgramDataManager&, |
int index, |
- const SkTArray<const GrCoordTransform*, true>& transforms, |
- GrGLPathRendering*, |
- GrGLuint programID); |
+ const SkTArray<const GrCoordTransform*, true>& transforms); |
virtual void didSetData(GrGLPathRendering*) {} |
private: |
UniformHandle fColorUniform; |
GrColor fColor; |
- struct SeparableVaryingInfo { |
- GrSLType fType; |
- GrGLShaderVar fVariable; |
- GrGLint fLocation; |
- }; |
- |
- typedef SkSTArray<8, SeparableVaryingInfo, true> SeparableVaryingInfoArray; |
- |
- SeparableVaryingInfoArray fSeparableVaryingInfos; |
typedef GrGLPrimitiveProcessor INHERITED; |
}; |