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

Side by Side Diff: src/android/SkBitmapRegionCanvas.cpp

Issue 1438873002: Move SkBitmapRegionDecoder to include/android and src/android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (header guards) Created 5 years, 1 month 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 | « src/android/SkBitmapRegionCanvas.h ('k') | src/android/SkBitmapRegionCodec.h » ('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 2015 Google Inc. 2 * Copyright 2015 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 "SkBitmapRegionCanvas.h" 8 #include "SkBitmapRegionCanvas.h"
9 #include "SkBitmapRegionDecoderPriv.h" 9 #include "SkBitmapRegionDecoderPriv.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // SkCanvas does not draw to these color types. 131 // SkCanvas does not draw to these color types.
132 if (kIndex_8_SkColorType == colorType || kGray_8_SkColorType == colorType) { 132 if (kIndex_8_SkColorType == colorType || kGray_8_SkColorType == colorType) {
133 return false; 133 return false;
134 } 134 }
135 135
136 // FIXME: Call virtual function when it lands. 136 // FIXME: Call virtual function when it lands.
137 SkImageInfo info = SkImageInfo::Make(0, 0, colorType, fDecoder->getInfo().al phaType(), 137 SkImageInfo info = SkImageInfo::Make(0, 0, colorType, fDecoder->getInfo().al phaType(),
138 fDecoder->getInfo().profileType()); 138 fDecoder->getInfo().profileType());
139 return conversion_possible(info, fDecoder->getInfo()); 139 return conversion_possible(info, fDecoder->getInfo());
140 } 140 }
OLDNEW
« no previous file with comments | « src/android/SkBitmapRegionCanvas.h ('k') | src/android/SkBitmapRegionCodec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698