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

Side by Side Diff: debugger/SkDebugger.h

Issue 27716003: Add texture filtering override to debugger (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Cleaned up Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « debugger/QT/SkSettingsWidget.cpp ('k') | src/utils/debugger/SkDebugCanvas.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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 int index() { 100 int index() {
101 return fIndex; 101 return fIndex;
102 } 102 }
103 103
104 void setOverdrawViz(bool overDrawViz) { 104 void setOverdrawViz(bool overDrawViz) {
105 if (NULL != fDebugCanvas) { 105 if (NULL != fDebugCanvas) {
106 fDebugCanvas->setOverdrawViz(overDrawViz); 106 fDebugCanvas->setOverdrawViz(overDrawViz);
107 } 107 }
108 } 108 }
109 109
110 void setTexFilterOverride(bool texFilterOverride, SkPaint::FilterLevel level ) {
111 if (NULL != fDebugCanvas) {
112 fDebugCanvas->overrideTexFiltering(texFilterOverride, level);
113 }
114 }
115
110 void getOverviewText(const SkTDArray<double>* typeTimes, double totTime, 116 void getOverviewText(const SkTDArray<double>* typeTimes, double totTime,
111 SkString* overview, int numRuns); 117 SkString* overview, int numRuns);
112 118
113 private: 119 private:
114 SkDebugCanvas* fDebugCanvas; 120 SkDebugCanvas* fDebugCanvas;
115 SkPicture* fPicture; 121 SkPicture* fPicture;
116 122
117 int fPictureWidth; 123 int fPictureWidth;
118 int fPictureHeight; 124 int fPictureHeight;
119 int fIndex; 125 int fIndex;
120 }; 126 };
121 127
122 128
123 #endif /* SKDEBUGGER_H_ */ 129 #endif /* SKDEBUGGER_H_ */
OLDNEW
« no previous file with comments | « debugger/QT/SkSettingsWidget.cpp ('k') | src/utils/debugger/SkDebugCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698