Searched refs:codeStage (Results 1 – 2 of 2) sorted by relevance
210 AutoStageRestore(CodeStage* codeStage, const GrProcessorStage* newStage) { in AutoStageRestore() argument211 SkASSERT(codeStage); in AutoStageRestore()212 fSavedIndex = codeStage->fCurrentIndex; in AutoStageRestore()213 fSavedEffectStage = codeStage->fEffectStage; in AutoStageRestore()216 codeStage->fCurrentIndex = -1; in AutoStageRestore()218 codeStage->fCurrentIndex = codeStage->fNextIndex++; in AutoStageRestore()220 codeStage->fEffectStage = newStage; in AutoStageRestore()222 fCodeStage = codeStage; in AutoStageRestore()
298 AutoStageRestore(CodeStage* codeStage, const GrEffectStage* newStage) { in AutoStageRestore() argument299 SkASSERT(NULL != codeStage); in AutoStageRestore()300 fSavedIndex = codeStage->fCurrentIndex; in AutoStageRestore()301 fSavedEffectStage = codeStage->fEffectStage; in AutoStageRestore()304 codeStage->fCurrentIndex = -1; in AutoStageRestore()306 codeStage->fCurrentIndex = codeStage->fNextIndex++; in AutoStageRestore()308 codeStage->fEffectStage = newStage; in AutoStageRestore()310 fCodeStage = codeStage; in AutoStageRestore()