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

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

Issue 1287433003: Create GrRectBatchFactory (Closed) Base URL: https://skia.googlesource.com/skia.git@batchfactory1
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
« no previous file with comments | « src/gpu/batches/GrRectBatch.cpp ('k') | src/gpu/batches/GrRectBatchFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/batches/GrRectBatchFactory.h
diff --git a/src/gpu/batches/GrRectBatch.h b/src/gpu/batches/GrRectBatchFactory.h
similarity index 84%
copy from src/gpu/batches/GrRectBatch.h
copy to src/gpu/batches/GrRectBatchFactory.h
index 5844cc3b011601eb48b1264d0965eb53f4cd21b2..33ecf917d044aa23fbe4717ed25533b131feaa97 100644
--- a/src/gpu/batches/GrRectBatch.h
+++ b/src/gpu/batches/GrRectBatchFactory.h
@@ -5,8 +5,8 @@
* found in the LICENSE file.
*/
-#ifndef GrRectBatch_DEFINED
-#define GrRectBatch_DEFINED
+#ifndef GrRectBatchFactory_DEFINED
+#define GrRectBatchFactory_DEFINED
#include "GrColor.h"
@@ -18,7 +18,7 @@ struct SkRect;
* A factory for returning batches which can draw rectangles. Right now this only handles non-AA
* rects
*/
-namespace GrRectBatch {
+namespace GrRectBatchFactory {
GrBatch* Create(GrColor color,
const SkMatrix& viewMatrix,
« no previous file with comments | « src/gpu/batches/GrRectBatch.cpp ('k') | src/gpu/batches/GrRectBatchFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698