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