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

Side by Side Diff: tools/filtermain.cpp

Issue 1314483006: Revert of Make SkGraphics::Term a no-op, stop calling it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 | « tools/VisualBench/VisualBench.cpp ('k') | tools/iOSShell.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « tools/VisualBench/VisualBench.cpp ('k') | tools/iOSShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698