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

Unified Diff: gm/lcdtext.cpp

Issue 722153004: Disable GM:lcdtextprops on 565 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixed onGetFlags signature Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/lcdtext.cpp
diff --git a/gm/lcdtext.cpp b/gm/lcdtext.cpp
index 1e45f3c4d8d30284864bc2de910e39476da158c6..5c725cb0503ad8494d189372539d6b64e3e05686 100644
--- a/gm/lcdtext.cpp
+++ b/gm/lcdtext.cpp
@@ -137,13 +137,17 @@ class LcdTextProps : public skiagm::GM {
canvas->restore();
}
-public:
+protected:
SkString onShortName() SK_OVERRIDE {
return SkString("lcdtextprops");
}
SkISize onISize() SK_OVERRIDE { return SkISize::Make(230, 120); }
+ uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkip565_Flag;
+ }
+
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
const SkPixelGeometry geos[] = {
kRGB_H_SkPixelGeometry,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698