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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 class SkAutoCachedTexture; // used internally | 152 class SkAutoCachedTexture; // used internally |
153 | 153 |
154 | 154 |
155 protected: | 155 protected: |
156 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; |
157 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; |
158 | 158 |
159 /** PRIVATE / EXPERIMENTAL -- do not call */ | 159 /** PRIVATE / EXPERIMENTAL -- do not call */ |
160 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; | 160 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; |
161 /** PRIVATE / EXPERIMENTAL -- do not call */ | 161 /** PRIVATE / EXPERIMENTAL -- do not call */ |
162 virtual bool EXPERIMENTAL_drawPicture(const SkPicture& picture) SK_OVERRIDE; | 162 virtual bool EXPERIMENTAL_drawPicture(SkPicture* picture) SK_OVERRIDE; |
163 | 163 |
164 private: | 164 private: |
165 GrContext* fContext; | 165 GrContext* fContext; |
166 | 166 |
167 GrSkDrawProcs* fDrawProcs; | 167 GrSkDrawProcs* fDrawProcs; |
168 | 168 |
169 GrClipData fClipData; | 169 GrClipData fClipData; |
170 | 170 |
171 GrTextContext* fMainTextContext; | 171 GrTextContext* fMainTextContext; |
172 GrTextContext* fFallbackTextContext; | 172 GrTextContext* fFallbackTextContext; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 SkCanvas::DrawBitmapRectFlags flags, | 222 SkCanvas::DrawBitmapRectFlags flags, |
223 int tileSize, | 223 int tileSize, |
224 bool bicubic); | 224 bool bicubic); |
225 | 225 |
226 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 226 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
227 | 227 |
228 typedef SkBitmapDevice INHERITED; | 228 typedef SkBitmapDevice INHERITED; |
229 }; | 229 }; |
230 | 230 |
231 #endif | 231 #endif |
OLD | NEW |