OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "SkDebugCanvas.h" | 8 #include "SkDebugCanvas.h" |
9 #include "SkDevice.h" | 9 #include "SkDevice.h" |
10 #include "SkForceLinking.h" | 10 #include "SkForceLinking.h" |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 filter_picture(inFile, outFile); | 787 filter_picture(inFile, outFile); |
788 } else { | 788 } else { |
789 usage(); | 789 usage(); |
790 return -1; | 790 return -1; |
791 } | 791 } |
792 | 792 |
793 for (size_t opt = 0; opt < SK_ARRAY_COUNT(gOptTable); ++opt) { | 793 for (size_t opt = 0; opt < SK_ARRAY_COUNT(gOptTable); ++opt) { |
794 SkDebugf("opt %d: %d\n", opt, gOptTable[opt].fNumTimesApplied); | 794 SkDebugf("opt %d: %d\n", opt, gOptTable[opt].fNumTimesApplied); |
795 } | 795 } |
796 | 796 |
| 797 SkGraphics::Term(); |
797 return 0; | 798 return 0; |
798 } | 799 } |
799 | 800 |
800 #if !defined SK_BUILD_FOR_IOS | 801 #if !defined SK_BUILD_FOR_IOS |
801 int main(int argc, char * const argv[]) { | 802 int main(int argc, char * const argv[]) { |
802 return tool_main(argc, (char**) argv); | 803 return tool_main(argc, (char**) argv); |
803 } | 804 } |
804 #endif | 805 #endif |
OLD | NEW |