This CL wires up the backend portion necessary for sending transformed coords via vertex attributes.
BUG=skia:
Review URL: https://codereview.chromium.org/1243583002
diff --git a/src/gpu/GrPrimitiveProcessor.h b/src/gpu/GrPrimitiveProcessor.h
index e5635a8..54d7d8d 100644
--- a/src/gpu/GrPrimitiveProcessor.h
+++ b/src/gpu/GrPrimitiveProcessor.h
@@ -220,6 +220,12 @@
bool isPathRendering() const { return fIsPathRendering; }
+ /**
+ * No Local Coord Transformation is needed in the shader, instead transformed local coords will
+ * be provided via vertex attribute.
+ */
+ virtual bool hasTransformedLocalCoords() const = 0;
+
protected:
GrPrimitiveProcessor(bool isPathRendering)
: fNumAttribs(0)