epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 1 | |
senorblanco@chromium.org | 9d18b78 | 2011-03-28 20:47:09 +0000 | [diff] [blame] | 2 | /* |
epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 3 | * 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.org | 9d18b78 | 2011-03-28 20:47:09 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 9 | |
senorblanco@chromium.org | 9d18b78 | 2011-03-28 20:47:09 +0000 | [diff] [blame] | 10 | #ifndef GrTesselatedPathRenderer_DEFINED |
| 11 | #define GrTesselatedPathRenderer_DEFINED |
| 12 | |
| 13 | #include "GrPathRenderer.h" |
| 14 | |
| 15 | class GrTesselatedPathRenderer : public GrPathRenderer { |
| 16 | public: |
| 17 | GrTesselatedPathRenderer(); |
| 18 | |
bsalomon@google.com | 39ee0ff | 2011-12-06 15:32:52 +0000 | [diff] [blame] | 19 | virtual void drawPath(GrDrawState::StageMask stageMask); |
bsalomon@google.com | 289533a | 2011-10-27 12:34:25 +0000 | [diff] [blame] | 20 | virtual bool canDrawPath(const GrDrawTarget::Caps& targetCaps, |
bsalomon@google.com | aeb2160 | 2011-08-30 18:13:44 +0000 | [diff] [blame] | 21 | const GrPath& path, |
bsalomon@google.com | 289533a | 2011-10-27 12:34:25 +0000 | [diff] [blame] | 22 | GrPathFill fill, |
| 23 | bool antiAlias) const SK_OVERRIDE; |
| 24 | virtual void drawPathToStencil() SK_OVERRIDE; |
senorblanco@chromium.org | 9d18b78 | 2011-03-28 20:47:09 +0000 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | #endif |