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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, | 126 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, |
127 const SkMatrix*, const SkPaint*) SK_OV
ERRIDE; | 127 const SkMatrix*, const SkPaint*) SK_OV
ERRIDE; |
128 | 128 |
129 private: | 129 private: |
130 GrContext* fContext; | 130 GrContext* fContext; |
131 | 131 |
132 GrSkDrawProcs* fDrawProcs; | 132 GrSkDrawProcs* fDrawProcs; |
133 | 133 |
134 GrClipData fClipData; | 134 GrClipData fClipData; |
135 | 135 |
136 GrTextContext* fMainTextContext; | 136 GrTextContext* fTextContext; |
137 GrTextContext* fFallbackTextContext; | |
138 | 137 |
139 // state for our render-target | 138 // state for our render-target |
140 GrRenderTarget* fRenderTarget; | 139 GrRenderTarget* fRenderTarget; |
141 bool fNeedClear; | 140 bool fNeedClear; |
142 | 141 |
143 // remove when our clients don't rely on accessBitmap() | 142 // remove when our clients don't rely on accessBitmap() |
144 SkBitmap fLegacyBitmap; | 143 SkBitmap fLegacyBitmap; |
145 | 144 |
146 SkGpuDevice(GrSurface*, const SkSurfaceProps&, unsigned flags = 0); | 145 SkGpuDevice(GrSurface*, const SkSurfaceProps&, unsigned flags = 0); |
147 | 146 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 bool bicubic); | 196 bool bicubic); |
198 | 197 |
199 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 198 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
200 | 199 |
201 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 200 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
202 | 201 |
203 typedef SkBaseDevice INHERITED; | 202 typedef SkBaseDevice INHERITED; |
204 }; | 203 }; |
205 | 204 |
206 #endif | 205 #endif |
OLD | NEW |