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

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

Issue 54363008: move SkImage::ColorType into SkColorType (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/lazy/SkLazyPixelRef.cpp ('k') | tests/CachedDecodingPixelRefTest.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 "SkBitmapFactory.h" 10 #include "SkBitmapFactory.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { 77 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) {
78 return NULL; 78 return NULL;
79 } 79 }
80 80
81 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { 81 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) {
82 return NULL; 82 return NULL;
83 } 83 }
84 84
85 void SkImageDecoder::setSampleSize(int) {} 85 void SkImageDecoder::setSampleSize(int) {}
86 86
87 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImage::Info*, 87 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*,
88 const SkBitmapFactory::Target*) { 88 const SkBitmapFactory::Target*) {
89 return false; 89 return false;
90 } 90 }
91 91
92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { 92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() {
93 return SkBitmap::kNo_Config; 93 return SkBitmap::kNo_Config;
94 } 94 }
95 95
96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} 96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {}
97 97
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) { 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali ty) {
153 return false; 153 return false;
154 } 154 }
155 ///////////////////////////////////////////////////////////////////////// 155 /////////////////////////////////////////////////////////////////////////
156 156
157 // Empty implementation for SkImages. 157 // Empty implementation for SkImages.
158 158
159 #include "SkImages.h" 159 #include "SkImages.h"
160 160
161 void SkImages::InitializeFlattenables() {} 161 void SkImages::InitializeFlattenables() {}
OLDNEW
« no previous file with comments | « src/lazy/SkLazyPixelRef.cpp ('k') | tests/CachedDecodingPixelRefTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698