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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 /** | 327 /** |
328 Populates the combo box widget with with the debugger draw command info. | 328 Populates the combo box widget with with the debugger draw command info. |
329 */ | 329 */ |
330 void setupComboBox(); | 330 void setupComboBox(); |
331 | 331 |
332 /** | 332 /** |
333 Fills in the overview pane with text | 333 Fills in the overview pane with text |
334 */ | 334 */ |
335 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i
nt numRuns); | 335 void setupOverviewText(const SkTDArray<double>* typeTimes, double totTime, i
nt numRuns); |
336 | 336 |
337 | |
338 /** | |
339 Render the supplied picture several times tracking the time consumed | |
340 by each command. | |
341 */ | |
342 void run(const SkPicture* pict, | |
343 sk_tools::PictureRenderer* renderer, | |
344 int repeats); | |
345 | |
346 bool isPaused() const { | 337 bool isPaused() const { |
347 return fActionPause.isChecked(); | 338 return fActionPause.isChecked(); |
348 } | 339 } |
349 }; | 340 }; |
350 | 341 |
351 #endif // SKDEBUGGERUI_H | 342 #endif // SKDEBUGGERUI_H |
OLD | NEW |