| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 void drawTiledBitmap(const SkBitmap& bitmap, | 192 void drawTiledBitmap(const SkBitmap& bitmap, |
| 193 const SkMatrix& viewMatrix, | 193 const SkMatrix& viewMatrix, |
| 194 const SkRect& srcRect, | 194 const SkRect& srcRect, |
| 195 const SkIRect& clippedSrcRect, | 195 const SkIRect& clippedSrcRect, |
| 196 const GrTextureParams& params, | 196 const GrTextureParams& params, |
| 197 const SkPaint& paint, | 197 const SkPaint& paint, |
| 198 SkCanvas::DrawBitmapRectFlags flags, | 198 SkCanvas::DrawBitmapRectFlags flags, |
| 199 int tileSize, | 199 int tileSize, |
| 200 bool bicubic); | 200 bool bicubic); |
| 201 | 201 |
| 202 void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, |
| 203 const SkMatrix& origViewMatrix, const SkMatrix* prePat
hMatrix, |
| 204 const SkIRect& clipBounds, bool pathIsMutable); |
| 205 |
| 202 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 206 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
| 203 | 207 |
| 204 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 208 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
| 205 | 209 |
| 206 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, | 210 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, |
| 207 int sampleCount); | 211 int sampleCount); |
| 208 | 212 |
| 209 typedef SkBaseDevice INHERITED; | 213 typedef SkBaseDevice INHERITED; |
| 210 }; | 214 }; |
| 211 | 215 |
| 212 #endif | 216 #endif |
| OLD | NEW |