Index: src/gpu/gl/GrGLPrimitiveProcessor.h |
diff --git a/src/gpu/gl/GrGLPrimitiveProcessor.h b/src/gpu/gl/GrGLPrimitiveProcessor.h |
index ce413f33386a7f2b4ed6745e8ba313cb4ddcdd9b..bf1c38869859eba153e683b6b3e10f75d4ba4c4c 100644 |
--- a/src/gpu/gl/GrGLPrimitiveProcessor.h |
+++ b/src/gpu/gl/GrGLPrimitiveProcessor.h |
@@ -10,7 +10,6 @@ |
#include "GrPrimitiveProcessor.h" |
#include "GrGLProcessor.h" |
-#include "GrGLPathProgramDataManager.h" |
class GrBatchTracker; |
class GrPrimitiveProcessor; |
@@ -21,7 +20,6 @@ public: |
virtual ~GrGLPrimitiveProcessor() {} |
typedef GrGLProgramDataManager::UniformHandle UniformHandle; |
- typedef GrGLPathProgramDataManager::SeparableVaryingHandle SeparableVaryingHandle; |
typedef GrGLProcessor::TextureSamplerArray TextureSamplerArray; |
typedef SkSTArray<2, const GrCoordTransform*, true> ProcCoords; |
@@ -69,6 +67,11 @@ public: |
static SkMatrix GetTransformMatrix(const SkMatrix& localMatrix, const GrCoordTransform&); |
+ virtual void setTransformData(const GrPrimitiveProcessor&, |
+ const GrGLProgramDataManager& pdman, |
+ int index, |
+ const SkTArray<const GrCoordTransform*, true>& transforms) = 0; |
+ |
protected: |
void setupUniformColor(GrGLGPBuilder* pb, const char* outputName, UniformHandle* colorUniform); |