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

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

Issue 17620004: Remove bitmap reuse from SkImageDecoder. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Add documentation. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/images/SkImageDecoder_wbmp.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 "SkBitmapFactory.h" 10 #include "SkBitmapFactory.h"
11 #include "SkImage.h" 11 #include "SkImage.h"
12 #include "SkImageDecoder.h" 12 #include "SkImageDecoder.h"
13 #include "SkImageEncoder.h" 13 #include "SkImageEncoder.h"
14 #include "SkMovie.h" 14 #include "SkMovie.h"
15 15
16 class SkColorTable; 16 class SkColorTable;
17 class SkStream; 17 class SkStream;
18 18
19 // Empty implementations for SkImageDecoder. 19 // Empty implementations for SkImageDecoder.
20 20
21 SkImageDecoder* SkImageDecoder::Factory(SkStream*) { 21 SkImageDecoder* SkImageDecoder::Factory(SkStream*) {
22 return NULL; 22 return NULL;
23 } 23 }
24 24
25 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config, 25 bool SkImageDecoder::DecodeFile(const char[], SkBitmap*, SkBitmap::Config,
26 SkImageDecoder::Mode, SkImageDecoder::Format*) { 26 SkImageDecoder::Mode, SkImageDecoder::Format*) {
27 return false; 27 return false;
28 } 28 }
29 29
30 bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkBitmap::Config, Mode, bool) { 30 bool SkImageDecoder::decode(SkStream*, SkBitmap*, SkBitmap::Config, Mode) {
31 return false; 31 return false;
32 } 32 }
33 33
34 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config, 34 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config,
35 SkImageDecoder::Mode, 35 SkImageDecoder::Mode,
36 SkImageDecoder::Format*) { 36 SkImageDecoder::Format*) {
37 return false; 37 return false;
38 } 38 }
39 39
40 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*, 40 bool SkImageDecoder::DecodeMemory(const void*, size_t, SkBitmap*,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 145 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
146 return false; 146 return false;
147 } 147 }
148 ///////////////////////////////////////////////////////////////////////// 148 /////////////////////////////////////////////////////////////////////////
149 149
150 // Empty implementation for SkImages. 150 // Empty implementation for SkImages.
151 151
152 #include "SkImages.h" 152 #include "SkImages.h"
153 153
154 void SkImages::InitializeFlattenables() {} 154 void SkImages::InitializeFlattenables() {}
OLDNEW
« no previous file with comments | « src/images/SkImageDecoder_wbmp.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698