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 void drawTiledBitmap(const SkBitmap& bitmap, | 205 void drawTiledBitmap(const SkBitmap& bitmap, |
206 const SkMatrix& viewMatrix, | 206 const SkMatrix& viewMatrix, |
207 const SkRect& srcRect, | 207 const SkRect& srcRect, |
208 const SkIRect& clippedSrcRect, | 208 const SkIRect& clippedSrcRect, |
209 const GrTextureParams& params, | 209 const GrTextureParams& params, |
210 const SkPaint& paint, | 210 const SkPaint& paint, |
211 SkCanvas::DrawBitmapRectFlags flags, | 211 SkCanvas::DrawBitmapRectFlags flags, |
212 int tileSize, | 212 int tileSize, |
213 bool bicubic); | 213 bool bicubic); |
214 | 214 |
215 void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, | |
216 const SkMatrix& origViewMatrix, const SkMatrix* prePat
hMatrix, | |
217 const SkIRect& clipBounds, bool pathIsMutable); | |
218 | |
219 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 215 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
220 | 216 |
221 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, | 217 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, |
222 int sampleCount); | 218 int sampleCount); |
223 | 219 |
224 friend class GrAtlasTextContext; | 220 friend class GrAtlasTextContext; |
225 friend class GrTextContext; | 221 friend class GrTextContext; |
226 typedef SkBaseDevice INHERITED; | 222 typedef SkBaseDevice INHERITED; |
227 }; | 223 }; |
228 | 224 |
229 #endif | 225 #endif |
OLD | NEW |