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

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

Issue 274673004: Add Dashing gpu effect for simple dashed lines (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move DrawDashLine into namespace Created 6 years, 7 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 | « gyp/gpu.gypi ('k') | samplecode/SampleApp.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 9
10 10
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 bool needsTextureDomain); 212 bool needsTextureDomain);
213 void drawTiledBitmap(const SkBitmap& bitmap, 213 void drawTiledBitmap(const SkBitmap& bitmap,
214 const SkRect& srcRect, 214 const SkRect& srcRect,
215 const SkIRect& clippedSrcRect, 215 const SkIRect& clippedSrcRect,
216 const GrTextureParams& params, 216 const GrTextureParams& params,
217 const SkPaint& paint, 217 const SkPaint& paint,
218 SkCanvas::DrawBitmapRectFlags flags, 218 SkCanvas::DrawBitmapRectFlags flags,
219 int tileSize, 219 int tileSize,
220 bool bicubic); 220 bool bicubic);
221 221
222 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
223
222 static SkPicture::AccelData::Key ComputeAccelDataKey(); 224 static SkPicture::AccelData::Key ComputeAccelDataKey();
223 225
224 typedef SkBitmapDevice INHERITED; 226 typedef SkBitmapDevice INHERITED;
225 }; 227 };
226 228
227 #endif 229 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698