Chromium Code Reviews| 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 out each draw command and timing information. */ | |
|
mtklein
2014/05/15 15:44:08
... printing each draw command and runtime in us t
hal.canary
2014/05/15 15:59:27
Done.
| |
| 16 void DumpRecord(const SkRecord& record, | |
| 17 SkCanvas* canvas, | |
| 18 bool timeWithCommand); | |
|
mtklein
2014/05/15 15:44:08
Explain timeWithCommand?
hal.canary
2014/05/15 15:59:27
Done.
| |
| 19 | |
| 20 #endif // DumpRecord_DEFINED | |
| OLD | NEW |