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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 SkBitmap*, SkIPoint*) SK_OVERRIDE; | 145 SkBitmap*, SkIPoint*) SK_OVERRIDE; |
146 | 146 |
147 class SkAutoCachedTexture; // used internally | 147 class SkAutoCachedTexture; // used internally |
148 | 148 |
149 | 149 |
150 protected: | 150 protected: |
151 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; | 151 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; |
152 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 152 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
153 | 153 |
154 /** PRIVATE / EXPERIMENTAL -- do not call */ | 154 /** PRIVATE / EXPERIMENTAL -- do not call */ |
155 virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; | 155 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; |
156 /** PRIVATE / EXPERIMENTAL -- do not call */ | 156 /** PRIVATE / EXPERIMENTAL -- do not call */ |
157 virtual void EXPERIMENTAL_purge(SkPicture* picture) SK_OVERRIDE; | 157 virtual void EXPERIMENTAL_purge(const SkPicture* picture) SK_OVERRIDE; |
158 /** PRIVATE / EXPERIMENTAL -- do not call */ | 158 /** PRIVATE / EXPERIMENTAL -- do not call */ |
159 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, SkPicture* picture)
SK_OVERRIDE; | 159 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture) SK_OVERRIDE; |
160 | 160 |
161 private: | 161 private: |
162 GrContext* fContext; | 162 GrContext* fContext; |
163 | 163 |
164 GrSkDrawProcs* fDrawProcs; | 164 GrSkDrawProcs* fDrawProcs; |
165 | 165 |
166 GrClipData fClipData; | 166 GrClipData fClipData; |
167 | 167 |
168 GrTextContext* fMainTextContext; | 168 GrTextContext* fMainTextContext; |
169 GrTextContext* fFallbackTextContext; | 169 GrTextContext* fFallbackTextContext; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 bool bicubic); | 222 bool bicubic); |
223 | 223 |
224 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 224 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
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 |