Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: src/gpu/SkGpuDevice.h

Issue 1012143005: Simple patch to have draw path call an internal drawPath (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698