aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/fontmgr.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-28 15:03:22 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-28 15:03:22 +0000
commit6518daf8156c9d2a154676f7f3436cf70f7caa1d (patch)
tree567652fc3b7a797584e4985dc5b8ec6f49fab6d6 /gm/fontmgr.cpp
parentd6f1d1e8deab790038f8b3f38875e0b8ed482569 (diff)
disable tests that exercise serialization of fonts here, since we are experimentally
creating typeface styles that don't know how to serialize yet. git-svn-id: http://skia.googlecode.com/svn/trunk@8433 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/fontmgr.cpp')
-rw-r--r--gm/fontmgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gm/fontmgr.cpp b/gm/fontmgr.cpp
index d3ab256524..25848ed11b 100644
--- a/gm/fontmgr.cpp
+++ b/gm/fontmgr.cpp
@@ -66,6 +66,12 @@ protected:
}
}
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ // fontdescriptors (and therefore serialization) don't yet understand
+ // these new styles, so skip tests that exercise that for now.
+ return kSkipPicture_Flag | kSkipPipe_Flag;
+ }
+
private:
typedef GM INHERITED;
};