| Index: include/gpu/GrDrawContext.h
|
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
|
| index 29a70f9b14c19f50676e9952cce62092241e2522..72de15deae60cb5f8b01298a87250c1675f46e92 100644
|
| --- a/include/gpu/GrDrawContext.h
|
| +++ b/include/gpu/GrDrawContext.h
|
| @@ -9,6 +9,7 @@
|
| #define GrDrawContext_DEFINED
|
|
|
| #include "GrColor.h"
|
| +#include "GrContext.h"
|
| #include "GrPaint.h"
|
| #include "GrRenderTarget.h"
|
| #include "SkRefCnt.h"
|
| @@ -19,7 +20,6 @@
|
|
|
| class GrAuditTrail;
|
| class GrClip;
|
| -class GrContext;
|
| class GrDrawBatch;
|
| class GrDrawContextPriv;
|
| class GrDrawPathBatchBase;
|
| @@ -323,6 +323,7 @@ public:
|
| return paint.isAntiAlias() && fRenderTarget->isUnifiedMultisampled();
|
| }
|
|
|
| + const GrCaps* caps() const { return fContext->caps(); }
|
| const GrSurfaceDesc& desc() const { return fRenderTarget->desc(); }
|
| int width() const { return fRenderTarget->width(); }
|
| int height() const { return fRenderTarget->height(); }
|
|
|