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

Side by Side Diff: gm/gm.h

Issue 377373003: Merge Replay and Quilt tasks, adding in all BBH implementations. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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 | « dm/DMSKPTask.cpp ('k') | gm/imageresizetiled.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 2011 Google Inc. 2 * Copyright 2011 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 #ifndef skiagm_DEFINED 8 #ifndef skiagm_DEFINED
9 #define skiagm_DEFINED 9 #define skiagm_DEFINED
10 10
(...skipping 27 matching lines...) Expand all
38 kSkipPipeCrossProcess_Flag = 1 << 3, 38 kSkipPipeCrossProcess_Flag = 1 << 3,
39 kSkipTiled_Flag = 1 << 4, 39 kSkipTiled_Flag = 1 << 4,
40 kSkip565_Flag = 1 << 5, 40 kSkip565_Flag = 1 << 5,
41 kSkipScaledReplay_Flag = 1 << 6, 41 kSkipScaledReplay_Flag = 1 << 6,
42 kSkipGPU_Flag = 1 << 7, 42 kSkipGPU_Flag = 1 << 7,
43 kSkipPDFRasterization_Flag = 1 << 8, 43 kSkipPDFRasterization_Flag = 1 << 8,
44 44
45 kGPUOnly_Flag = 1 << 9, 45 kGPUOnly_Flag = 1 << 9,
46 46
47 kAsBench_Flag = 1 << 10, // Run the GM as a benchmark in the bench tool 47 kAsBench_Flag = 1 << 10, // Run the GM as a benchmark in the bench tool
48
49 kNoBBH_Flag = 1 << 11, // May draw wrong using a bou nding-box hierarchy
48 }; 50 };
49 51
50 enum Mode { 52 enum Mode {
51 kGM_Mode, 53 kGM_Mode,
52 kSample_Mode, 54 kSample_Mode,
53 kBench_Mode, 55 kBench_Mode,
54 }; 56 };
55 57
56 void setMode(Mode mode) { fMode = mode; } 58 void setMode(Mode mode) { fMode = mode; }
57 Mode getMode() const { return fMode; } 59 Mode getMode() const { return fMode; }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 SkColor fBGColor; 118 SkColor fBGColor;
117 bool fCanvasIsDeferred; // work-around problem in srcmode.cpp 119 bool fCanvasIsDeferred; // work-around problem in srcmode.cpp
118 bool fHaveCalledOnceBeforeDraw; 120 bool fHaveCalledOnceBeforeDraw;
119 SkMatrix fStarterMatrix; 121 SkMatrix fStarterMatrix;
120 }; 122 };
121 123
122 typedef SkTRegistry<GM*(*)(void*)> GMRegistry; 124 typedef SkTRegistry<GM*(*)(void*)> GMRegistry;
123 } 125 }
124 126
125 #endif 127 #endif
OLDNEW
« no previous file with comments | « dm/DMSKPTask.cpp ('k') | gm/imageresizetiled.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698