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

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

Issue 1306143005: Move Pathrenderers to batches folder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 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 /* 2 /*
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 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 GrDashLinePathRenderer_DEFINED 9 #ifndef GrDashLinePathRenderer_DEFINED
10 #define GrDashLinePathRenderer_DEFINED 10 #define GrDashLinePathRenderer_DEFINED
11 11
12 #include "GrPathRenderer.h" 12 #include "GrPathRenderer.h"
13 13
14 class GrDashLinePathRenderer : public GrPathRenderer { 14 class GrDashLinePathRenderer : public GrPathRenderer {
15 private: 15 private:
16 bool onCanDrawPath(const CanDrawPathArgs&) const override; 16 bool onCanDrawPath(const CanDrawPathArgs&) const override;
17 17
18 StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override { 18 StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override {
19 return kNoSupport_StencilSupport; 19 return kNoSupport_StencilSupport;
20 } 20 }
21 21
22 bool onDrawPath(const DrawPathArgs&) override; 22 bool onDrawPath(const DrawPathArgs&) override;
23 23
24 SkAutoTUnref<GrGpu> fGpu; 24 SkAutoTUnref<GrGpu> fGpu;
25 typedef GrPathRenderer INHERITED; 25 typedef GrPathRenderer INHERITED;
26 }; 26 };
27 27
28 28
29 #endif 29 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp ('k') | src/gpu/batches/GrDashLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698