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

Unified Diff: src/gpu/GrBatchTest.cpp

Issue 1108403005: Add batch unit tests for ovals (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 8 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/GrBatch.h ('k') | src/gpu/GrOvalRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrBatchTest.cpp
diff --git a/src/gpu/GrBatchTest.cpp b/src/gpu/GrBatchTest.cpp
index 4a368311a2c61963b5fad5cd4e31f8c28c95c1d2..fa8333d3c2d2584ec5c1a437a9ef9f2e00fa4950 100644
--- a/src/gpu/GrBatchTest.cpp
+++ b/src/gpu/GrBatchTest.cpp
@@ -13,10 +13,21 @@
BATCH_TEST_EXTERN(AAFillRectBatch);
BATCH_TEST_EXTERN(AAStrokeRectBatch);
+BATCH_TEST_EXTERN(DashBatch);
+BATCH_TEST_EXTERN(CircleBatch);
+BATCH_TEST_EXTERN(DIEllipseBatch);
+BATCH_TEST_EXTERN(EllipseBatch);
+BATCH_TEST_EXTERN(RRectBatch);
static BatchTestFunc gTestBatches[] = {
BATCH_TEST_ENTRY(AAFillRectBatch),
BATCH_TEST_ENTRY(AAStrokeRectBatch),
+ BATCH_TEST_ENTRY(DashBatch),
+ BATCH_TEST_ENTRY(CircleBatch),
+ BATCH_TEST_ENTRY(DIEllipseBatch),
+ BATCH_TEST_ENTRY(EllipseBatch),
+ BATCH_TEST_ENTRY(RRectBatch)
+
};
GrBatch* GrRandomBatch(SkRandom* random, GrContext* context) {
« no previous file with comments | « src/gpu/GrBatch.h ('k') | src/gpu/GrOvalRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698