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

Side by Side Diff: debugger/SkDebugger.h

Issue 185293007: Add visualization of clips to debugger (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 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 | 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 setMegaViz(bool megaViz) {
111 if (NULL != fDebugCanvas) {
112 fDebugCanvas->setMegaVizMode(megaViz);
113 }
114 }
115
110 void setTexFilterOverride(bool texFilterOverride, SkPaint::FilterLevel level ) { 116 void setTexFilterOverride(bool texFilterOverride, SkPaint::FilterLevel level ) {
111 if (NULL != fDebugCanvas) { 117 if (NULL != fDebugCanvas) {
112 fDebugCanvas->overrideTexFiltering(texFilterOverride, level); 118 fDebugCanvas->overrideTexFiltering(texFilterOverride, level);
113 } 119 }
114 } 120 }
115 121
116 void getOverviewText(const SkTDArray<double>* typeTimes, double totTime, 122 void getOverviewText(const SkTDArray<double>* typeTimes, double totTime,
117 SkString* overview, int numRuns); 123 SkString* overview, int numRuns);
118 124
119 private: 125 private:
120 SkDebugCanvas* fDebugCanvas; 126 SkDebugCanvas* fDebugCanvas;
121 SkPicture* fPicture; 127 SkPicture* fPicture;
122 128
123 int fPictureWidth; 129 int fPictureWidth;
124 int fPictureHeight; 130 int fPictureHeight;
125 int fIndex; 131 int fIndex;
126 }; 132 };
127 133
128 134
129 #endif /* SKDEBUGGER_H_ */ 135 #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