Index: src/gpu/gl/GrGLProgramEffects.h |
diff --git a/src/gpu/gl/GrGLProgramEffects.h b/src/gpu/gl/GrGLProgramEffects.h |
index 0eaff53b76894f4c5da12b6c5f2eb2b4f699c99e..daaebd6b37d8265313d4f5da6c4f2bf7d3d75f99 100644 |
--- a/src/gpu/gl/GrGLProgramEffects.h |
+++ b/src/gpu/gl/GrGLProgramEffects.h |
@@ -57,6 +57,11 @@ public: |
const GrGLProgramDataManager&, |
const GrEffectStage* effectStages[]) = 0; |
+ virtual void setData(GrGpuGL*, |
+ GrGpu::DrawType, |
+ const GrGLProgramDataManager&, |
+ const GrEffectStage* effectStages) { SkFAIL("DO NOT USE"); } |
+ |
void addEffect(GrGLEffect* effect) { fGLEffects.push_back(effect); } |
/** |
@@ -140,7 +145,6 @@ protected: |
SkTArray<SkSTArray<4, Sampler, true> > fSamplers; |
private: |
- friend class GrGLFragmentO; |
typedef SkRefCnt INHERITED; |
}; |
@@ -172,6 +176,11 @@ public: |
const GrGLProgramDataManager&, |
const GrEffectStage* effectStages[]) SK_OVERRIDE; |
+ virtual void setData(GrGpuGL*, |
+ GrGpu::DrawType, |
+ const GrGLProgramDataManager&, |
+ const GrEffectStage* effectStages) SK_OVERRIDE; |
+ |
private: |
friend class GrGLFullProgramBuilder; |