blob: 127f8e062b4c2b759b860d5eac8adcfeb93ce604 [file] [log] [blame]
/*
* 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 AALinearizingConvexPathRenderer_DEFINED
#define AALinearizingConvexPathRenderer_DEFINED
#include "src/gpu/ganesh/PathRenderer.h"
namespace skgpu::v1 {
class AALinearizingConvexPathRenderer final : public PathRenderer {
public:
AALinearizingConvexPathRenderer() = default;
const char* name() const override { return "AALinear"; }
private:
CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
bool onDrawPath(const DrawPathArgs&) override;
};
} // namespace skgpu::v1
#endif // AALinearizingConvexPathRenderer_DEFINED