1 /*
2  * Copyright 2011 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 GrMSAAPathRenderer_DEFINED
9 #define GrMSAAPathRenderer_DEFINED
10 
11 #include "GrPathRenderer.h"
12 #include "SkTypes.h"
13 
14 class SK_API GrMSAAPathRenderer : public GrPathRenderer {
15 private:
16     StencilSupport onGetStencilSupport(const GrShape&) const override;
17 
18     CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
19 
20     bool onDrawPath(const DrawPathArgs&) override;
21 
22     void onStencilPath(const StencilPathArgs&) override;
23 
24     bool internalDrawPath(GrRenderTargetContext*,
25                           GrPaint&&,
26                           GrAAType,
27                           const GrUserStencilSettings&,
28                           const GrClip&,
29                           const SkMatrix& viewMatrix,
30                           const GrShape&,
31                           bool stencilOnly);
32 
33     typedef GrPathRenderer INHERITED;
34 };
35 
36 #endif
37