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

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

Issue 322963002: hide SkBitmap::setConfig (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/ports/SkImageDecoder_CG.cpp ('k') | tests/ARGBImageEncoderTest.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 /* 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 return SkBitmap::kNo_Config; 87 return SkBitmap::kNo_Config;
88 } 88 }
89 89
90 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} 90 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {}
91 91
92 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, 92 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int,
93 int, int) { 93 int, int) {
94 return false; 94 return false;
95 } 95 }
96 96
97 bool SkImageDecoder::chooseFromOneChoice(SkBitmap::Config, int, int) const { 97 bool SkImageDecoder::chooseFromOneChoice(SkColorType, int, int) const {
98 return false; 98 return false;
99 } 99 }
100 100
101 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const { 101 bool SkImageDecoder::allocPixelRef(SkBitmap*, SkColorTable*) const {
102 return false; 102 return false;
103 } 103 }
104 104
105 SkBitmap::Config SkImageDecoder::getPrefConfig(SrcDepth, bool) const {
106 return SkBitmap::kNo_Config;
107 }
108
109
110 ///////////////////////////////////////////////////////////////////////// 105 /////////////////////////////////////////////////////////////////////////
111 106
112 // Empty implementation for SkMovie. 107 // Empty implementation for SkMovie.
113 108
114 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { 109 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) {
115 return NULL; 110 return NULL;
116 } 111 }
117 112
118 ///////////////////////////////////////////////////////////////////////// 113 /////////////////////////////////////////////////////////////////////////
119 114
(...skipping 20 matching lines...) Expand all
140 } 135 }
141 136
142 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) { 137 SkData* SkImageEncoder::encodeData(const SkBitmap&, int) {
143 return NULL; 138 return NULL;
144 } 139 }
145 140
146 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 141 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
147 return false; 142 return false;
148 } 143 }
149 ///////////////////////////////////////////////////////////////////////// 144 /////////////////////////////////////////////////////////////////////////
OLDNEW
« no previous file with comments | « src/ports/SkImageDecoder_CG.cpp ('k') | tests/ARGBImageEncoderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698