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

Side by Side Diff: src/image/SkImage_Base.h

Issue 345463009: Deleted SkImage::newShaderClamp: not used, not implemented. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Organizing includes of SkImage.h Created 6 years, 5 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/image/SkImage.cpp ('k') | src/image/SkImage_Gpu.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkImage_Base_DEFINED 8 #ifndef SkImage_Base_DEFINED
9 #define SkImage_Base_DEFINED 9 #define SkImage_Base_DEFINED
10 10
(...skipping 13 matching lines...) Expand all
24 virtual const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const { 24 virtual const void* onPeekPixels(SkImageInfo*, size_t* /*rowBytes*/) const {
25 return NULL; 25 return NULL;
26 } 26 }
27 27
28 virtual GrTexture* onGetTexture() { return NULL; } 28 virtual GrTexture* onGetTexture() { return NULL; }
29 29
30 // return a read-only copy of the pixels. We promise to not modify them, 30 // return a read-only copy of the pixels. We promise to not modify them,
31 // but only inspect them (or encode them). 31 // but only inspect them (or encode them).
32 virtual bool getROPixels(SkBitmap*) const { return false; } 32 virtual bool getROPixels(SkBitmap*) const { return false; }
33 33
34 virtual SkShader* onNewShader(SkShader::TileMode, SkShader::TileMode) const { return NULL; };
34 private: 35 private:
35 typedef SkImage INHERITED; 36 typedef SkImage INHERITED;
36 }; 37 };
37 38
38 #endif 39 #endif
OLDNEW
« no previous file with comments | « src/image/SkImage.cpp ('k') | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698