Index: src/gpu/gl/builders/GrGLFragmentShaderBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h |
index 912de0a6452b970c7cba7c936448eb49af00158a..4f17b68ae6f99359dc4e3d8260282fbb8b5fac5a 100644 |
--- a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h |
+++ b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.h |
@@ -57,26 +57,8 @@ public: |
void onBeforeChildProcEmitCode(); |
void onAfterChildProcEmitCode(); |
- int getChildNumberThisLevel() const { |
- if (fSubstageIndices.count() > 1) { |
- // second-to-last value in the fSubstageIndices stack is the index of the child proc |
- // at that level which is currently emitting code. |
- return fSubstageIndices[fSubstageIndices.count() - 2]; |
- } |
- return -1; |
- } |
- |
const SkString& getMangleString() const { return fMangleString; } |
- SkString getMangleStringThisLevel() const { |
- SkString ret; |
- int childNumber = this->getChildNumberThisLevel(); |
- if (childNumber >= 0) { |
- ret.printf("_c%d", childNumber); |
- } |
- return ret; |
- } |
- |
private: |
/* |
* State that tracks which child proc in the proc tree is currently emitting code. This is |