Towards NV path rendering

Review URL: http://codereview.appspot.com/6302049/



git-svn-id: http://skia.googlecode.com/svn/trunk@4219 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
index bc373ba..148dd19 100644
--- a/src/gpu/GrDrawTarget.cpp
+++ b/src/gpu/GrDrawTarget.cpp
@@ -830,6 +830,14 @@
     }
 }
 
+void GrDrawTarget::stencilPath(const GrPath& path, GrPathFill fill) {
+    // TODO: extract portions of checkDraw that are relevant to path stenciling.
+    GrAssert(fCaps.fPathStencilingSupport);
+    GrAssert(kHairLine_GrPathFill != fill);
+    GrAssert(!GrIsFillInverted(fill));
+    this->onStencilPath(path, fill);
+}
+
 ////////////////////////////////////////////////////////////////////////////////
 
 // Some blend modes allow folding a partial coverage value into the color's