OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
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 | 9 |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; | 147 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; |
148 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, | 148 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, |
149 const SkImageFilter::Context&, | 149 const SkImageFilter::Context&, |
150 SkBitmap*, SkIPoint*) SK_OVERRIDE; | 150 SkBitmap*, SkIPoint*) SK_OVERRIDE; |
151 | 151 |
152 class SkAutoCachedTexture; // used internally | 152 class SkAutoCachedTexture; // used internally |
153 | 153 |
154 | 154 |
155 protected: | 155 protected: |
156 #ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG | |
157 virtual bool onReadPixels(const SkBitmap&, int x, int y, SkCanvas::Config888
8) SK_OVERRIDE; | |
158 #endif | |
159 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; | 156 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; |
160 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 157 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
161 | 158 |
162 /** PRIVATE / EXPERIMENTAL -- do not call */ | 159 /** PRIVATE / EXPERIMENTAL -- do not call */ |
163 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; | 160 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; |
164 /** PRIVATE / EXPERIMENTAL -- do not call */ | 161 /** PRIVATE / EXPERIMENTAL -- do not call */ |
165 virtual bool EXPERIMENTAL_drawPicture(const SkPicture& picture) SK_OVERRIDE; | 162 virtual bool EXPERIMENTAL_drawPicture(const SkPicture& picture) SK_OVERRIDE; |
166 | 163 |
167 private: | 164 private: |
168 GrContext* fContext; | 165 GrContext* fContext; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 SkCanvas::DrawBitmapRectFlags flags, | 222 SkCanvas::DrawBitmapRectFlags flags, |
226 int tileSize, | 223 int tileSize, |
227 bool bicubic); | 224 bool bicubic); |
228 | 225 |
229 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 226 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
230 | 227 |
231 typedef SkBitmapDevice INHERITED; | 228 typedef SkBitmapDevice INHERITED; |
232 }; | 229 }; |
233 | 230 |
234 #endif | 231 #endif |
OLD | NEW |