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

Side by Side Diff: src/gpu/batches/GrAAStrokeRectBatch.h

Issue 2125663003: Add gm that tests shaded stroked rectangles. (Closed) Base URL: https://skia.googlesource.com/skia.git@fixgmwidth
Patch Set: fix windows double->scalar warning Created 4 years, 5 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 | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrAAStrokeRectBatch.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 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrAAStrokeRectBatch_DEFINED 8 #ifndef GrAAStrokeRectBatch_DEFINED
9 #define GrAAStrokeRectBatch_DEFINED 9 #define GrAAStrokeRectBatch_DEFINED
10 10
(...skipping 11 matching lines...) Expand all
22 GrDrawBatch* CreateFillBetweenRects(GrColor color, 22 GrDrawBatch* CreateFillBetweenRects(GrColor color,
23 const SkMatrix& viewMatrix, 23 const SkMatrix& viewMatrix,
24 const SkRect& devOutside, 24 const SkRect& devOutside,
25 const SkRect& devInside); 25 const SkRect& devInside);
26 26
27 GrDrawBatch* Create(GrColor color, 27 GrDrawBatch* Create(GrColor color,
28 const SkMatrix& viewMatrix, 28 const SkMatrix& viewMatrix,
29 const SkRect& rect, 29 const SkRect& rect,
30 const SkStrokeRec& stroke); 30 const SkStrokeRec& stroke);
31 31
32 bool Append(GrBatch*, 32 }
33 GrColor color,
34 const SkMatrix& viewMatrix,
35 const SkRect& rect,
36 const SkStrokeRec& stroke);
37
38 };
39 33
40 #endif 34 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrAAStrokeRectBatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698