• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 AALinearizingConvexPathRenderer_DEFINED
9 #define AALinearizingConvexPathRenderer_DEFINED
10 
11 #include "src/gpu/ganesh/PathRenderer.h"
12 
13 namespace skgpu::v1 {
14 
15 class AALinearizingConvexPathRenderer final : public PathRenderer {
16 public:
17     AALinearizingConvexPathRenderer() = default;
18 
name()19     const char* name() const override { return "AALinear"; }
20 
21 private:
22     CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
23 
24     bool onDrawPath(const DrawPathArgs&) override;
25 };
26 
27 } // namespace skgpu::v1
28 
29 #endif // AALinearizingConvexPathRenderer_DEFINED
30