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

Side by Side Diff: experimental/StrokePathRenderer/GrStrokePathRenderer.h

Issue 1160863006: delete experimental path renderers (Closed) Base URL: https://skia.googlesource.com/skia.git@map-buffer-option
Patch Set: Created 5 years, 6 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
(Empty)
1 /*
2 * Copyright 2012 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 #include "GrPathRenderer.h"
9
10 // This path renderer is made to create geometry (i.e. primitives) from the orig inal path (before
11 // the path is stroked) and render using the GPU directly rather than using any software rendering
12 // step. It can be rendered in a single pass for simple cases and use multiple p asses for features
13 // like AA or opacity support.
14
15 class GrStrokePathRenderer : public GrPathRenderer {
16
17 public:
18 GrStrokePathRenderer();
19
20 virtual bool canDrawPath(const SkPath& path,
21 const SkStrokeRec& stroke,
22 const GrDrawTarget* target,
23 bool antiAlias) const override;
24
25 protected:
26 virtual bool onDrawPath(const SkPath& path,
27 const SkStrokeRec& stroke,
28 GrDrawTarget* target,
29 bool antiAlias) override;
30 };
OLDNEW
« no previous file with comments | « experimental/AndroidPathRenderer/cutils/compiler.h ('k') | experimental/StrokePathRenderer/GrStrokePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698