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

Side by Side Diff: src/gpu/GrTessellatingPathRenderer.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
« no previous file with comments | « src/gpu/GrStencilAndCoverPathRenderer.cpp ('k') | src/gpu/GrTessellatingPathRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef GrTessellatingPathRenderer_DEFINED
9 #define GrTessellatingPathRenderer_DEFINED
10
11 #include "GrPathRenderer.h"
12
13 /**
14 * Subclass that renders the path by converting to screen-space trapezoids plus
15 * extra 1-pixel geometry for AA.
16 */
17 class SK_API GrTessellatingPathRenderer : public GrPathRenderer {
18 public:
19 GrTessellatingPathRenderer();
20
21 private:
22 bool onCanDrawPath(const CanDrawPathArgs& ) const override;
23
24 StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override {
25 return GrPathRenderer::kNoSupport_StencilSupport;
26 }
27
28 bool onDrawPath(const DrawPathArgs&) override;
29
30 typedef GrPathRenderer INHERITED;
31 };
32
33 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrStencilAndCoverPathRenderer.cpp ('k') | src/gpu/GrTessellatingPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698