Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index 97cb72a7f2e530166874b8998dd132b5a95653d1..3205f2ba53513ec62ff519a0c68d67cc037f1ac3 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -14,6 +14,7 @@ |
class GrClip; |
class GrContext; |
+class GrDraw; |
class GrDrawBatch; |
class GrDrawTarget; |
class GrPaint; |
@@ -259,6 +260,11 @@ public: |
*/ |
void drawBatch(GrRenderTarget*, const GrClip&, const GrPaint&, GrDrawBatch*); |
+ /** |
+ * Experimental draw interface |
+ */ |
+ void draw(const GrDraw&); |
+ |
private: |
friend class GrAtlasTextContext; // for access to drawBatch |
friend class GrContext; // for ctor |