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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 class SkAutoCachedTexture; // used internally | 144 class SkAutoCachedTexture; // used internally |
145 | 145 |
146 | 146 |
147 protected: | 147 protected: |
148 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; | 148 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; |
149 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 149 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
150 | 150 |
151 /** PRIVATE / EXPERIMENTAL -- do not call */ | 151 /** PRIVATE / EXPERIMENTAL -- do not call */ |
152 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; | 152 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; |
153 /** PRIVATE / EXPERIMENTAL -- do not call */ | 153 /** PRIVATE / EXPERIMENTAL -- do not call */ |
154 virtual bool EXPERIMENTAL_drawPicture(SkPicture* picture) SK_OVERRIDE; | 154 virtual void EXPERIMENTAL_purge(SkPicture* picture) SK_OVERRIDE; |
| 155 /** PRIVATE / EXPERIMENTAL -- do not call */ |
| 156 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, SkPicture* picture)
SK_OVERRIDE; |
155 | 157 |
156 private: | 158 private: |
157 GrContext* fContext; | 159 GrContext* fContext; |
158 | 160 |
159 GrSkDrawProcs* fDrawProcs; | 161 GrSkDrawProcs* fDrawProcs; |
160 | 162 |
161 GrClipData fClipData; | 163 GrClipData fClipData; |
162 | 164 |
163 GrTextContext* fMainTextContext; | 165 GrTextContext* fMainTextContext; |
164 GrTextContext* fFallbackTextContext; | 166 GrTextContext* fFallbackTextContext; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 SkCanvas::DrawBitmapRectFlags flags, | 216 SkCanvas::DrawBitmapRectFlags flags, |
215 int tileSize, | 217 int tileSize, |
216 bool bicubic); | 218 bool bicubic); |
217 | 219 |
218 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 220 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
219 | 221 |
220 typedef SkBitmapDevice INHERITED; | 222 typedef SkBitmapDevice INHERITED; |
221 }; | 223 }; |
222 | 224 |
223 #endif | 225 #endif |
OLD | NEW |