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

Side by Side Diff: tools/skpdiff/SkDiffContext.cpp

Issue 656503003: Move SkImage::encode to SkImageEncoder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/skhello.cpp ('k') | no next file » | 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 2013 Google Inc. 2 * Copyright 2013 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 "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkImageDecoder.h" 9 #include "SkImageDecoder.h"
10 #include "SkImageEncoder.h"
10 #include "SkOSFile.h" 11 #include "SkOSFile.h"
11 #include "SkRunnable.h" 12 #include "SkRunnable.h"
12 #include "SkSize.h" 13 #include "SkSize.h"
13 #include "SkStream.h" 14 #include "SkStream.h"
14 #include "SkTDict.h" 15 #include "SkTDict.h"
15 #include "SkTaskGroup.h" 16 #include "SkTaskGroup.h"
16 17
17 // from the tools directory for replace_char(...) 18 // from the tools directory for replace_char(...)
18 #include "picture_utils.h" 19 #include "picture_utils.h"
19 20
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 for (int i = 0; i < cntColumns; i++) { 453 for (int i = 0; i < cntColumns; i++) {
453 SkString str; 454 SkString str;
454 str.printf(", %f", values[i]); 455 str.printf(", %f", values[i]);
455 stream.writeText(str.c_str()); 456 stream.writeText(str.c_str());
456 } 457 }
457 stream.writeText("\n"); 458 stream.writeText("\n");
458 459
459 currentRecord = iter2.next(); 460 currentRecord = iter2.next();
460 } 461 }
461 } 462 }
OLDNEW
« no previous file with comments | « tools/skhello.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698