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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 class SkAutoCachedTexture; // used internally | 136 class SkAutoCachedTexture; // used internally |
137 | 137 |
138 | 138 |
139 protected: | 139 protected: |
140 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; | 140 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; |
141 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 141 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
142 | 142 |
143 /** PRIVATE / EXPERIMENTAL -- do not call */ | 143 /** PRIVATE / EXPERIMENTAL -- do not call */ |
144 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; | 144 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; |
145 /** PRIVATE / EXPERIMENTAL -- do not call */ | 145 /** PRIVATE / EXPERIMENTAL -- do not call */ |
146 virtual void EXPERIMENTAL_purge(const SkPicture* picture) SK_OVERRIDE; | |
147 /** PRIVATE / EXPERIMENTAL -- do not call */ | |
148 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture) SK_OVERRIDE; | 146 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture) SK_OVERRIDE; |
149 | 147 |
150 private: | 148 private: |
151 GrContext* fContext; | 149 GrContext* fContext; |
152 | 150 |
153 GrSkDrawProcs* fDrawProcs; | 151 GrSkDrawProcs* fDrawProcs; |
154 | 152 |
155 GrClipData fClipData; | 153 GrClipData fClipData; |
156 | 154 |
157 GrTextContext* fMainTextContext; | 155 GrTextContext* fMainTextContext; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 bool bicubic); | 212 bool bicubic); |
215 | 213 |
216 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 214 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
217 | 215 |
218 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 216 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
219 | 217 |
220 typedef SkBaseDevice INHERITED; | 218 typedef SkBaseDevice INHERITED; |
221 }; | 219 }; |
222 | 220 |
223 #endif | 221 #endif |
OLD | NEW |