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

Side by Side Diff: debugger/SkDebugger.h

Issue 1010023002: FilterLevel -> SkFilterQuality (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « debugger/QT/SkSettingsWidget.h ('k') | include/core/SkGraphics.h » ('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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SKDEBUGGER_H_ 10 #ifndef SKDEBUGGER_H_
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 fDebugCanvas->setAllowSimplifyClip(pathOps); 104 fDebugCanvas->setAllowSimplifyClip(pathOps);
105 } 105 }
106 } 106 }
107 107
108 void setMegaViz(bool megaViz) { 108 void setMegaViz(bool megaViz) {
109 if (fDebugCanvas) { 109 if (fDebugCanvas) {
110 fDebugCanvas->setMegaVizMode(megaViz); 110 fDebugCanvas->setMegaVizMode(megaViz);
111 } 111 }
112 } 112 }
113 113
114 void setTexFilterOverride(bool texFilterOverride, SkPaint::FilterLevel level ) { 114 void setTexFilterOverride(bool texFilterOverride, SkFilterQuality quality) {
115 if (fDebugCanvas) { 115 if (fDebugCanvas) {
116 fDebugCanvas->overrideTexFiltering(texFilterOverride, level); 116 fDebugCanvas->overrideTexFiltering(texFilterOverride, quality);
117 } 117 }
118 } 118 }
119 119
120 void getOverviewText(const SkTDArray<double>* typeTimes, double totTime, 120 void getOverviewText(const SkTDArray<double>* typeTimes, double totTime,
121 SkString* overview, int numRuns); 121 SkString* overview, int numRuns);
122 122
123 void getClipStackText(SkString* clipStack); 123 void getClipStackText(SkString* clipStack);
124 124
125 private: 125 private:
126 SkDebugCanvas* fDebugCanvas; 126 SkDebugCanvas* fDebugCanvas;
127 SkPicture* fPicture; 127 SkPicture* fPicture;
128 128
129 int fIndex; 129 int fIndex;
130 }; 130 };
131 131
132 132
133 #endif /* SKDEBUGGER_H_ */ 133 #endif /* SKDEBUGGER_H_ */
OLDNEW
« no previous file with comments | « debugger/QT/SkSettingsWidget.h ('k') | include/core/SkGraphics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698