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 #ifndef SkGpuDevice_DEFINED | 9 #ifndef SkGpuDevice_DEFINED |
10 #define SkGpuDevice_DEFINED | 10 #define SkGpuDevice_DEFINED |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 const SkMatrix& origViewMatrix, const SkMatrix* prePat
hMatrix, | 205 const SkMatrix& origViewMatrix, const SkMatrix* prePat
hMatrix, |
206 const SkIRect& clipBounds, bool pathIsMutable); | 206 const SkIRect& clipBounds, bool pathIsMutable); |
207 | 207 |
208 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 208 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
209 | 209 |
210 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 210 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
211 | 211 |
212 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, | 212 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, |
213 int sampleCount); | 213 int sampleCount); |
214 | 214 |
| 215 friend class GrBitmapTextContextB; |
215 friend class GrTextContext; | 216 friend class GrTextContext; |
216 typedef SkBaseDevice INHERITED; | 217 typedef SkBaseDevice INHERITED; |
217 }; | 218 }; |
218 | 219 |
219 #endif | 220 #endif |
OLD | NEW |