OLD | NEW |
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 #ifndef SKDEBUGGERUI_H | 9 #ifndef SKDEBUGGERUI_H |
10 #define SKDEBUGGERUI_H | 10 #define SKDEBUGGERUI_H |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 Toggles the the overdraw visualization on and off | 145 Toggles the the overdraw visualization on and off |
146 */ | 146 */ |
147 void actionOverdrawVizWidget(bool isToggled); | 147 void actionOverdrawVizWidget(bool isToggled); |
148 | 148 |
149 /** | 149 /** |
150 Toggles the the mega visualization on and off | 150 Toggles the the mega visualization on and off |
151 */ | 151 */ |
152 void actionMegaVizWidget(bool isToggled); | 152 void actionMegaVizWidget(bool isToggled); |
153 | 153 |
154 /** | 154 /** |
| 155 Toggles using path ops to simplify the clip stack |
| 156 */ |
| 157 void actionPathOpsWidget(bool ); |
| 158 |
| 159 /** |
155 Applies the new texture filter override | 160 Applies the new texture filter override |
156 */ | 161 */ |
157 void actionTextureFilter(); | 162 void actionTextureFilter(); |
158 | 163 |
159 /** | 164 /** |
160 Rewinds from the current step back to the start of the commands. | 165 Rewinds from the current step back to the start of the commands. |
161 */ | 166 */ |
162 void actionRewind(); | 167 void actionRewind(); |
163 | 168 |
164 /** | 169 /** |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 Populates the combo box widget with the vector of strings passed in. | 342 Populates the combo box widget with the vector of strings passed in. |
338 */ | 343 */ |
339 void setupComboBox(SkTArray<SkString>* command); | 344 void setupComboBox(SkTArray<SkString>* command); |
340 | 345 |
341 /** | 346 /** |
342 Fills in the overview pane with text | 347 Fills in the overview pane with text |
343 */ | 348 */ |
344 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i
nt numRuns); | 349 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i
nt numRuns); |
345 | 350 |
346 /** | 351 /** |
| 352 Fills in the clip stack pane with text |
| 353 */ |
| 354 void setupClipStackText(); |
| 355 |
| 356 /** |
347 Render the supplied picture several times tracking the time consumed | 357 Render the supplied picture several times tracking the time consumed |
348 by each command. | 358 by each command. |
349 */ | 359 */ |
350 void run(SkTimedPicture* pict, | 360 void run(SkTimedPicture* pict, |
351 sk_tools::PictureRenderer* renderer, | 361 sk_tools::PictureRenderer* renderer, |
352 int repeats); | 362 int repeats); |
353 }; | 363 }; |
354 | 364 |
355 #endif // SKDEBUGGERUI_H | 365 #endif // SKDEBUGGERUI_H |
OLD | NEW |