Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: include/gpu/GrDrawContext.h

Issue 1282883002: trivial CL to add drawBatch to GrDrawContext (Closed) Base URL: https://skia.googlesource.com/skia.git@batchfactory4
Patch Set: tidy Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrDrawContext.h
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 7a2223f78f8030575c1fd7847dfa9b4ecc8b6484..bb16011a462f9243d8a812e8a7860bef6e96bdf8 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
« no previous file with comments | « no previous file | src/gpu/GrDrawContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698