| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 #include "SkDumpCanvas.h" | 9 #include "SkDumpCanvas.h" |
| 10 | 10 |
| 11 #ifdef SK_DEVELOPER | 11 #ifdef SK_DEVELOPER |
| 12 #include "SkPicture.h" | 12 #include "SkPicture.h" |
| 13 #include "SkPixelRef.h" | 13 #include "SkPixelRef.h" |
| 14 #include "SkRRect.h" | 14 #include "SkRRect.h" |
| 15 #include "SkString.h" | 15 #include "SkString.h" |
| 16 #include <stdarg.h> | 16 #include <stdarg.h> |
| 17 #include <stdio.h> |
| 17 | 18 |
| 18 // needed just to know that these are all subclassed from SkFlattenable | 19 // needed just to know that these are all subclassed from SkFlattenable |
| 19 #include "SkShader.h" | 20 #include "SkShader.h" |
| 20 #include "SkPathEffect.h" | 21 #include "SkPathEffect.h" |
| 21 #include "SkXfermode.h" | 22 #include "SkXfermode.h" |
| 22 #include "SkColorFilter.h" | 23 #include "SkColorFilter.h" |
| 23 #include "SkPathEffect.h" | 24 #include "SkPathEffect.h" |
| 24 #include "SkMaskFilter.h" | 25 #include "SkMaskFilter.h" |
| 25 | 26 |
| 26 SK_DEFINE_INST_COUNT(SkDumpCanvas::Dumper) | 27 SK_DEFINE_INST_COUNT(SkDumpCanvas::Dumper) |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 | 518 |
| 518 /////////////////////////////////////////////////////////////////////////////// | 519 /////////////////////////////////////////////////////////////////////////////// |
| 519 | 520 |
| 520 static void dumpToDebugf(const char text[], void*) { | 521 static void dumpToDebugf(const char text[], void*) { |
| 521 SkDebugf("%s\n", text); | 522 SkDebugf("%s\n", text); |
| 522 } | 523 } |
| 523 | 524 |
| 524 SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, NULL) {} | 525 SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, NULL) {} |
| 525 | 526 |
| 526 #endif | 527 #endif |
| OLD | NEW |