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

Side by Side Diff: gm/imagefiltersscaled.cpp

Issue 867963004: remove unused GM flags (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: guarded flags Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « gm/imagefiltersgraph.cpp ('k') | gm/imagemagnifier.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "gm.h" 8 #include "gm.h"
9 #include "SkColor.h" 9 #include "SkColor.h"
10 #include "SkBitmapSource.h" 10 #include "SkBitmapSource.h"
(...skipping 13 matching lines...) Expand all
24 24
25 namespace skiagm { 25 namespace skiagm {
26 26
27 class ImageFiltersScaledGM : public GM { 27 class ImageFiltersScaledGM : public GM {
28 public: 28 public:
29 ImageFiltersScaledGM() : fInitialized(false) { 29 ImageFiltersScaledGM() : fInitialized(false) {
30 this->setBGColor(0x00000000); 30 this->setBGColor(0x00000000);
31 } 31 }
32 32
33 protected: 33 protected:
34 uint32_t onGetFlags() const SK_OVERRIDE {
35 return kSkipTiled_Flag;
36 }
37 34
38 virtual SkString onShortName() { 35 virtual SkString onShortName() {
39 return SkString("imagefiltersscaled"); 36 return SkString("imagefiltersscaled");
40 } 37 }
41 38
42 virtual SkISize onISize() { 39 virtual SkISize onISize() {
43 return SkISize::Make(1428, 500); 40 return SkISize::Make(1428, 500);
44 } 41 }
45 42
46 void make_checkerboard() { 43 void make_checkerboard() {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 SkBitmap fGradientCircle; 172 SkBitmap fGradientCircle;
176 typedef GM INHERITED; 173 typedef GM INHERITED;
177 }; 174 };
178 175
179 ////////////////////////////////////////////////////////////////////////////// 176 //////////////////////////////////////////////////////////////////////////////
180 177
181 static GM* MyFactory(void*) { return new ImageFiltersScaledGM; } 178 static GM* MyFactory(void*) { return new ImageFiltersScaledGM; }
182 static GMRegistry reg(MyFactory); 179 static GMRegistry reg(MyFactory);
183 180
184 } 181 }
OLDNEW
« no previous file with comments | « gm/imagefiltersgraph.cpp ('k') | gm/imagemagnifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698