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

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

Issue 1294553003: Move GrRectBatch to GrBWFillRectBatch and make internal (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
Index: src/gpu/batches/GrBWFillRectBatch.h
diff --git a/src/gpu/batches/GrAAFillRectBatch.h b/src/gpu/batches/GrBWFillRectBatch.h
similarity index 50%
copy from src/gpu/batches/GrAAFillRectBatch.h
copy to src/gpu/batches/GrBWFillRectBatch.h
index 3fc1e3480c60704d5272a483dc338a30c7511fee..ff1533caa211b29534b4ca4b4671cb11f5b1a245 100644
--- a/src/gpu/batches/GrAAFillRectBatch.h
+++ b/src/gpu/batches/GrBWFillRectBatch.h
@@ -5,8 +5,8 @@
* found in the LICENSE file.
*/
-#ifndef GrAAFillRectBatch_DEFINED
-#define GrAAFillRectBatch_DEFINED
+#ifndef GrBWFillRectBatch_DEFINED
+#define GrBWFillRectBatch_DEFINED
#include "GrColor.h"
@@ -14,17 +14,12 @@ class GrBatch;
class SkMatrix;
struct SkRect;
-namespace GrAAFillRectBatch {
+namespace GrBWFillRectBatch {
GrBatch* Create(GrColor color,
const SkMatrix& viewMatrix,
const SkRect& rect,
- const SkRect& devRect);
-
-GrBatch* Create(GrColor color,
- const SkMatrix& viewMatrix,
- const SkMatrix& localMatrix,
- const SkRect& rect,
- const SkRect& devRect);
+ const SkRect* localRect,
+ const SkMatrix* localMatrix);
};
#endif

Powered by Google App Engine
This is Rietveld 408576698