OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkDumpCanvas.h" | 8 #include "SkDumpCanvas.h" |
9 | 9 |
10 #ifdef SK_DEVELOPER | 10 #ifdef SK_DEBUG |
11 #include "SkData.h" | 11 #include "SkData.h" |
12 #include "SkPatchUtils.h" | 12 #include "SkPatchUtils.h" |
13 #include "SkPicture.h" | 13 #include "SkPicture.h" |
14 #include "SkPixelRef.h" | 14 #include "SkPixelRef.h" |
15 #include "SkRRect.h" | 15 #include "SkRRect.h" |
16 #include "SkString.h" | 16 #include "SkString.h" |
17 #include "SkTextBlob.h" | 17 #include "SkTextBlob.h" |
18 #include <stdarg.h> | 18 #include <stdarg.h> |
19 #include <stdio.h> | 19 #include <stdio.h> |
20 | 20 |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 | 548 |
549 /////////////////////////////////////////////////////////////////////////////// | 549 /////////////////////////////////////////////////////////////////////////////// |
550 | 550 |
551 static void dumpToDebugf(const char text[], void*) { | 551 static void dumpToDebugf(const char text[], void*) { |
552 SkDebugf("%s\n", text); | 552 SkDebugf("%s\n", text); |
553 } | 553 } |
554 | 554 |
555 SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, nullptr) {} | 555 SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, nullptr) {} |
556 | 556 |
557 #endif | 557 #endif |
OLD | NEW |