Move edgeAA shader gen code to its own function
Review URL: http://codereview.appspot.com/5015048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2271 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGLProgram.h b/gpu/src/GrGLProgram.h
index 78d25b5..90e515f 100644
--- a/gpu/src/GrGLProgram.h
+++ b/gpu/src/GrGLProgram.h
@@ -286,6 +286,13 @@
const char* vsInCoord,
ShaderCodeSegments* segments,
StageUniLocations* locations) const;
+
+ // generates code to compute coverage based on edge AA.
+ void genEdgeCoverage(const GrGLInterface* gl,
+ GrVertexLayout layout,
+ CachedData* programData,
+ GrStringBuilder* coverageVar,
+ ShaderCodeSegments* segments) const;
static bool CompileFSAndVS(const GrGLInterface* gl,
const ShaderCodeSegments& segments,