/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef GrAALinearizingConvexPathRenderer_DEFINED
#define GrAALinearizingConvexPathRenderer_DEFINED

#include "src/gpu/GrPathRenderer.h"

class GrAALinearizingConvexPathRenderer : public GrPathRenderer {
public:
    const char* name() const final { return "AALinear"; }

    GrAALinearizingConvexPathRenderer();

private:
    CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;

    bool onDrawPath(const DrawPathArgs&) override;
};

#endif
