blob: e1cf4a3cf314e5eab109f26bc964a82f5e4bc446 [file] [log] [blame]
ethannicholas6536ae52016-05-02 12:16:49 -07001/*
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
14class SK_API GrMSAAPathRenderer : public GrPathRenderer {
15private:
bsalomon8acedde2016-06-24 10:42:16 -070016 StencilSupport onGetStencilSupport(const GrShape&) const override;
ethannicholas6536ae52016-05-02 12:16:49 -070017
18 bool onCanDrawPath(const CanDrawPathArgs&) const override;
19
20 bool onDrawPath(const DrawPathArgs&) override;
21
22 void onStencilPath(const StencilPathArgs&) override;
23
robertphillips976f5f02016-06-03 10:59:20 -070024 bool internalDrawPath(GrDrawContext*,
25 const GrPaint&,
26 const GrUserStencilSettings*,
cdalton862cff32016-05-12 15:09:48 -070027 const GrClip&,
ethannicholas6536ae52016-05-02 12:16:49 -070028 GrColor,
29 const SkMatrix& viewMatrix,
bsalomon8acedde2016-06-24 10:42:16 -070030 const GrShape&,
ethannicholas6536ae52016-05-02 12:16:49 -070031 bool stencilOnly);
32
33 typedef GrPathRenderer INHERITED;
34};
35
36#endif