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

Unified Diff: src/gpu/batches/GrNonAAFillRectBatch.h

Issue 1355353002: Create GrDraw and start fast pathing src over rects (Closed) Base URL: https://skia.googlesource.com/skia.git@strokerect2
Patch Set: tweaks Created 5 years, 3 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 | « src/gpu/batches/GrBatch.cpp ('k') | src/gpu/batches/GrNonAAFillRectBatch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/batches/GrNonAAFillRectBatch.h
diff --git a/src/gpu/batches/GrNonAAFillRectBatch.h b/src/gpu/batches/GrNonAAFillRectBatch.h
index aeb388f51056d9ed995d6bf1303348fd09731ab4..6f1ba86fceeb9b8cc4f54dc17dfc392047a16090 100644
--- a/src/gpu/batches/GrNonAAFillRectBatch.h
+++ b/src/gpu/batches/GrNonAAFillRectBatch.h
@@ -10,6 +10,7 @@
#include "GrColor.h"
+class GrBatch;
class GrDrawBatch;
class SkMatrix;
struct SkRect;
@@ -28,7 +29,8 @@ GrDrawBatch* CreateWithPerspective(GrColor color,
const SkRect* localRect,
const SkMatrix* localMatrix);
-bool Append(GrColor color,
+bool Append(GrBatch*,
+ GrColor color,
const SkMatrix& viewMatrix,
const SkRect& rect,
const SkRect* localRect,
« no previous file with comments | « src/gpu/batches/GrBatch.cpp ('k') | src/gpu/batches/GrNonAAFillRectBatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698