• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef GrAAConvexPathRenderer_DEFINED
9 #define GrAAConvexPathRenderer_DEFINED
10 
11 #include "src/gpu/GrPathRenderer.h"
12 
13 class GrAAConvexPathRenderer : public GrPathRenderer {
14 public:
name()15     const char* name() const final { return "AAConvex"; }
16 
17     GrAAConvexPathRenderer();
18 
19 private:
20     CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
21 
22     bool onDrawPath(const DrawPathArgs&) override;
23 };
24 
25 #endif
26