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

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

Issue 2267273006: GPU implementation of drawRegion() (Closed) Base URL: https://skia.googlesource.com/skia.git@drawregion
Patch Set: Response to comments Created 4 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
bsalomon 2016/08/25 21:19:50 2016
msarett 2016/08/25 21:26:35 Done.
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 GrNonAAStrokeRectBatch_DEFINED 8 #ifndef GrRegionBatch_DEFINED
9 #define GrNonAAStrokeRectBatch_DEFINED 9 #define GrRegionBatch_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 12
13 #include "SkTypes.h" 13 class GrDrawBatch;
14 class SkMatrix;
15 class SkRegion;
14 16
15 class GrDrawBatch; 17 namespace GrRegionBatch {
16 struct SkRect;
17 class SkStrokeRec;
18 class SkMatrix;
19
20 namespace GrNonAAStrokeRectBatch {
21 18
22 GrDrawBatch* Create(GrColor color, 19 GrDrawBatch* Create(GrColor color,
23 const SkMatrix& viewMatrix, 20 const SkMatrix& viewMatrix,
24 const SkRect& rect, 21 const SkRegion& region);
25 const SkStrokeRec&,
26 bool snapToPixelCenters);
27 22
28 } 23 };
29 24
30 #endif 25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698