aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2015-03-05 06:33:54 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-05 06:33:54 -0800
commita9baa652bb329b5a286e1638938f63433701efca (patch)
tree87c72a3ef72d9e5ba9024f44b9a788c0db3b23ca /tools
parentfa77eb1e51b9317ff993d1be504ada173b561e5f (diff)
Revert of Add image as a draw type that can be filtered (patchset #4 id:60001 of https://codereview.chromium.org/960783003/)
Reason for revert: Fails on mac for some reason. Also is a bit wrong, but this should not be reason for the failure.. Original issue's description: > Add image as a draw type that can be filtered > > Add image as a draw type that can be filtered. > > This is needed when SkImage is added as an object to be drawn so that > the draw is forwarded to SkBaseDevice. This would be used in making > filters use SkImages. > > BUG=skia:3388 > > Committed: https://skia.googlesource.com/skia/+/fa77eb1e51b9317ff993d1be504ada173b561e5f TBR=reed@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:3388 Review URL: https://codereview.chromium.org/980273002
Diffstat (limited to 'tools')
-rw-r--r--tools/bench_pictures_main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
index f6d6dea88a..f919812d13 100644
--- a/tools/bench_pictures_main.cpp
+++ b/tools/bench_pictures_main.cpp
@@ -75,19 +75,14 @@ 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",