| Index: src/gpu/GrGpu.h
|
| diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
|
| index 9478530bb839ed2ac141e436e8009aaf19ab1ed6..6814ae979b681757b92755a3b59842a4566c3965 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;
|
| @@ -324,6 +325,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) {
|
|
|