blob: e783958ca73a77ed9a131a188cb4db37f5cf41d5 [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
senorblanco@chromium.org9d18b782011-03-28 20:47:09 +00002/*
epoger@google.comec3ed6a2011-07-28 14:26:00 +00003 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
senorblanco@chromium.org9d18b782011-03-28 20:47:09 +00007 */
8
epoger@google.comec3ed6a2011-07-28 14:26:00 +00009
senorblanco@chromium.org9d18b782011-03-28 20:47:09 +000010#ifndef GrTesselatedPathRenderer_DEFINED
11#define GrTesselatedPathRenderer_DEFINED
12
13#include "GrPathRenderer.h"
14
15class GrTesselatedPathRenderer : public GrPathRenderer {
16public:
17 GrTesselatedPathRenderer();
18
bsalomon@google.com39ee0ff2011-12-06 15:32:52 +000019 virtual void drawPath(GrDrawState::StageMask stageMask);
bsalomon@google.com289533a2011-10-27 12:34:25 +000020 virtual bool canDrawPath(const GrDrawTarget::Caps& targetCaps,
bsalomon@google.comaeb21602011-08-30 18:13:44 +000021 const GrPath& path,
bsalomon@google.com289533a2011-10-27 12:34:25 +000022 GrPathFill fill,
23 bool antiAlias) const SK_OVERRIDE;
24 virtual void drawPathToStencil() SK_OVERRIDE;
senorblanco@chromium.org9d18b782011-03-28 20:47:09 +000025};
26
27#endif