blob: b6b01dc7257cfa245afe4f78c9e875d66d8aa114 [file] [log] [blame]
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +00001/*
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
george9eb182a2014-06-20 12:01:06 -07008#ifndef GrAAConvexPathRenderer_DEFINED
9#define GrAAConvexPathRenderer_DEFINED
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +000010
Mike Kleinc0bd9f92019-04-23 12:05:21 -050011#include "src/gpu/GrPathRenderer.h"
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +000012
13class GrAAConvexPathRenderer : public GrPathRenderer {
14public:
15 GrAAConvexPathRenderer();
bsalomon@google.comc2099d22012-03-02 21:26:50 +000016
bsalomon0aff2fa2015-07-31 06:48:27 -070017private:
Chris Dalton5ed44232017-09-07 13:22:46 -060018 CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
robertphillips@google.comfa662942012-05-17 12:20:22 +000019
bsalomon0aff2fa2015-07-31 06:48:27 -070020 bool onDrawPath(const DrawPathArgs&) override;
bsalomon@google.com69cc6ad2012-01-17 14:25:10 +000021};
george9eb182a2014-06-20 12:01:06 -070022
23#endif