Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index e4669a25c506fa30baee1349a9d86b1822186ce8..d83ac8ff3c2f7e0eddc11a35d012e54ccfbfa0f1 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -11,6 +11,7 @@ |
#include "GrDrawTarget.h" |
#include "GrClipMaskManager.h" |
#include "GrPathRendering.h" |
+#include "GrProgramDesc.h" |
#include "SkPath.h" |
class GrContext; |
@@ -348,6 +349,12 @@ public: |
GrContext::GPUStats* gpuStats() { return &fGPUStats; } |
+ virtual void buildProgramDesc(const GrOptDrawState&, |
+ const GrProgramDesc::DescInfo&, |
+ GrGpu::DrawType, |
+ const GrDeviceCoordTexture* dstCopy, |
+ GrProgramDesc*) = 0; |
+ |
protected: |
DrawType PrimTypeToDrawType(GrPrimitiveType type) { |
switch (type) { |