OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2014 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 #ifndef DumpRecord_DEFINED |
| 8 #define DumpRecord_DEFINED |
| 9 |
| 10 class SkRecord; |
| 11 class SkCanvas; |
| 12 |
| 13 /** |
| 14 * Draw the record to the supplied canvas via SkRecords::Draw, while |
| 15 * printing each draw command and run time in microseconds to stdout. |
| 16 * |
| 17 * @param timeWithCommand If true, print time next to command, else in |
| 18 * first column. |
| 19 */ |
| 20 void DumpRecord(const SkRecord& record, |
| 21 SkCanvas* canvas, |
| 22 bool timeWithCommand); |
| 23 |
| 24 #endif // DumpRecord_DEFINED |
OLD | NEW |