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

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

Issue 101973005: SkDecodingImageGenerator now uses SkStreamRewindable (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebased again Created 7 years 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 | Annotate | Revision Log
« 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { 76 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) {
77 return NULL; 77 return NULL;
78 } 78 }
79 79
80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { 80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) {
81 return NULL; 81 return NULL;
82 } 82 }
83 83
84 void SkImageDecoder::setSampleSize(int) {} 84 void SkImageDecoder::setSampleSize(int) {}
85 85
86 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*,
87 const SkImageDecoder::Target*) {
88 return false;
89 }
90
91 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { 86 SkBitmap::Config SkImageDecoder::GetDeviceConfig() {
92 return SkBitmap::kNo_Config; 87 return SkBitmap::kNo_Config;
93 } 88 }
94 89
95 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} 90 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {}
96 91
97 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, 92 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int,
98 int, int) { 93 int, int) {
99 return false; 94 return false;
100 } 95 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 146 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
152 return false; 147 return false;
153 } 148 }
154 ///////////////////////////////////////////////////////////////////////// 149 /////////////////////////////////////////////////////////////////////////
155 150
156 // Empty implementation for SkImages. 151 // Empty implementation for SkImages.
157 152
158 #include "SkImages.h" 153 #include "SkImages.h"
159 154
160 void SkImages::InitializeFlattenables() {} 155 void SkImages::InitializeFlattenables() {}
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