Index: include/gpu/GrEffectStage.h |
diff --git a/include/gpu/GrEffectStage.h b/include/gpu/GrEffectStage.h |
index f4cee514176201c8516d00e8b73398f3f44d1c39..a3ae9a8c516e55762d4dc2e925767ed6a2df32ad 100644 |
--- a/include/gpu/GrEffectStage.h |
+++ b/include/gpu/GrEffectStage.h |
@@ -13,9 +13,8 @@ |
#include "GrBackendEffectFactory.h" |
#include "GrEffect.h" |
+#include "GrProgramElementRef.h" |
#include "SkMatrix.h" |
-#include "GrTypes.h" |
- |
#include "SkShader.h" |
class GrEffectStage { |
@@ -136,10 +135,12 @@ public: |
const int* getVertexAttribIndices() const { return fVertexAttribIndices; } |
int getVertexAttribIndexCount() const { return fEffect->numVertexAttribs(); } |
+ void convertToPendingExec() { fEffect.convertToPendingExec(); } |
+ |
private: |
bool fCoordChangeMatrixSet; |
SkMatrix fCoordChangeMatrix; |
- SkAutoTUnref<const GrEffect> fEffect; |
+ GrProgramElementRef<const GrEffect> fEffect; |
int fVertexAttribIndices[2]; |
}; |