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

Side by Side Diff: tools/DumpRecord.h

Issue 282233003: Factor out DumpRecord method from dump_record tool for later use (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: AnotherPatchSet Created 6 years, 7 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
« no previous file with comments | « gyp/tools.gyp ('k') | tools/DumpRecord.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « gyp/tools.gyp ('k') | tools/DumpRecord.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698