diff options
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrDrawContext.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index 7a2223f78f..bb16011a46 100644 --- a/include/gpu/GrDrawContext.h +++ b/include/gpu/GrDrawContext.h @@ -259,6 +259,14 @@ public: const GrStrokeInfo& strokeInfo); + /** + * Draws a batch + * + * @param paint describes how to color pixels. + * @param batch the batch to draw + */ + void drawBatch(GrRenderTarget*, const GrClip&, const GrPaint&, GrBatch*); + private: friend class GrAtlasTextContext; // for access to drawBatch friend class GrContext; // for ctor |