| 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 bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture) SK_OVERRIDE; | 146 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, |
| 147 const SkMatrix*, const SkPaint*) SK_OV
ERRIDE; |
| 147 | 148 |
| 148 private: | 149 private: |
| 149 GrContext* fContext; | 150 GrContext* fContext; |
| 150 | 151 |
| 151 GrSkDrawProcs* fDrawProcs; | 152 GrSkDrawProcs* fDrawProcs; |
| 152 | 153 |
| 153 GrClipData fClipData; | 154 GrClipData fClipData; |
| 154 | 155 |
| 155 GrTextContext* fMainTextContext; | 156 GrTextContext* fMainTextContext; |
| 156 GrTextContext* fFallbackTextContext; | 157 GrTextContext* fFallbackTextContext; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 bool bicubic); | 215 bool bicubic); |
| 215 | 216 |
| 216 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 217 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
| 217 | 218 |
| 218 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 219 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
| 219 | 220 |
| 220 typedef SkBaseDevice INHERITED; | 221 typedef SkBaseDevice INHERITED; |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 #endif | 224 #endif |
| OLD | NEW |