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