diff options
Diffstat (limited to 'include/gpu/GrProgramStageFactory.h')
-rw-r--r-- | include/gpu/GrProgramStageFactory.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gpu/GrProgramStageFactory.h b/include/gpu/GrProgramStageFactory.h index 1ce0393bb9..2795deb85e 100644 --- a/include/gpu/GrProgramStageFactory.h +++ b/include/gpu/GrProgramStageFactory.h @@ -26,7 +26,7 @@ public: kProgramStageKeyBits = 10, }; - virtual StageKey stageKey(const GrCustomStage* stage) const = 0; + virtual StageKey glStageKey(const GrCustomStage* stage) const = 0; virtual GrGLProgramStage* createGLInstance( const GrCustomStage* stage) const = 0; @@ -74,12 +74,12 @@ public: */ virtual const char* name() const SK_OVERRIDE { return StageClass::Name(); } - /** Returns an value that idenitifes the shader code generated by + /** Returns a value that idenitifes the GLSL shader code generated by a GrCustomStage. This enables caching of generated shaders. Part of the id identifies the GrCustomShader subclass. The remainder is based on the aspects of the GrCustomStage object's configuration that affect - code generation. */ - virtual StageKey stageKey(const GrCustomStage* stage) const SK_OVERRIDE { + GLSL code generation. */ + virtual StageKey glStageKey(const GrCustomStage* stage) const SK_OVERRIDE { GrAssert(kIllegalStageClassID != fStageClassID); StageKey stageID = GLProgramStage::GenKey(stage); #if GR_DEBUG |