Index: tools/bench_pictures_main.cpp |
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp |
index f919812d13acd193cfdfb8b0cb4fcbcc6da98f9d..f6d6dea88ae0d822c0234be400a3162138653038 100644 |
--- a/tools/bench_pictures_main.cpp |
+++ b/tools/bench_pictures_main.cpp |
@@ -75,14 +75,19 @@ static char const * const gFilterTypes[] = { |
"line", |
"bitmap", |
"rect", |
+ "rrect", |
"oval", |
"path", |
"text", |
+ "image", |
"all", |
}; |
static const size_t kFilterTypesCount = sizeof(gFilterTypes) / sizeof(gFilterTypes[0]); |
+SK_COMPILE_ASSERT(kFilterTypesCount - 1u == SkDrawFilter::kTypeCount, |
+ filter_types_list_is_not_exact); |
+ |
static char const * const gFilterFlags[] = { |
"antiAlias", |
"filterBitmap", |