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

Side by Side Diff: src/ports/SkImageDecoder_empty.cpp

Issue 332453002: remove GetDeviceConfig/SetDeviceConfig (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 6 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 | « src/images/SkImageDecoder.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 "SkBitmap.h" 9 #include "SkBitmap.h"
10 #include "SkImage.h" 10 #include "SkImage.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return NULL; 78 return NULL;
79 } 79 }
80 #endif 80 #endif
81 81
82 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { 82 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) {
83 return NULL; 83 return NULL;
84 } 84 }
85 85
86 void SkImageDecoder::setSampleSize(int) {} 86 void SkImageDecoder::setSampleSize(int) {}
87 87
88 SkBitmap::Config SkImageDecoder::GetDeviceConfig() {
89 return SkBitmap::kNo_Config;
90 }
91
92 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {}
93
94 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, 88 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int,
95 int, int) { 89 int, int) {
96 return false; 90 return false;
97 } 91 }
98 92
99 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER 93 #ifdef SK_SUPPORT_LEGACY_IMAGEDECODER_CHOOSER
100 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const { 94 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const {
101 return false; 95 return false;
102 } 96 }
103 #endif 97 #endif
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 133 }
140 134
141 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { 135 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) {
142 return NULL; 136 return NULL;
143 } 137 }
144 138
145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 139 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
146 return false; 140 return false;
147 } 141 }
148 ///////////////////////////////////////////////////////////////////////// 142 /////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « src/images/SkImageDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698