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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 const SkMatrix& origViewMatrix, const SkMatrix* prePat
hMatrix, | 212 const SkMatrix& origViewMatrix, const SkMatrix* prePat
hMatrix, |
213 const SkIRect& clipBounds, bool pathIsMutable); | 213 const SkIRect& clipBounds, bool pathIsMutable); |
214 | 214 |
215 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 215 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
216 | 216 |
217 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 217 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
218 | 218 |
219 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, | 219 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, |
220 int sampleCount); | 220 int sampleCount); |
221 | 221 |
222 friend class GrBitmapTextContextB; | |
223 friend class GrTextContext; | 222 friend class GrTextContext; |
224 typedef SkBaseDevice INHERITED; | 223 typedef SkBaseDevice INHERITED; |
225 }; | 224 }; |
226 | 225 |
227 #endif | 226 #endif |
OLD | NEW |