• Home
  • Raw
  • Download

Lines Matching refs:fDrawState

156              fDrawState = drawState;  in AutoVertexAttribRestore()
159 fDrawState->setDefaultVertexAttribs(); in AutoVertexAttribRestore()
163 fDrawState->setVertexAttribs(fVAPtr, fVACount); in ~AutoVertexAttribRestore()
167 GrDrawState* fDrawState;
272 AutoColorRestore() : fDrawState(NULL), fOldColor(0) {} in AutoColorRestore()
275 fDrawState = NULL; in AutoColorRestore()
280 if (NULL != fDrawState) { in reset()
281 fDrawState->setColor(fOldColor); in reset()
282 fDrawState = NULL; in reset()
288 fDrawState = drawState; in set()
289 fOldColor = fDrawState->getColor(); in set()
290 fDrawState->setColor(color); in set()
295 GrDrawState* fDrawState;
389 AutoRestoreEffects() : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) {} in AutoRestoreEffects()
391 …AutoRestoreEffects(GrDrawState* ds) : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) { in AutoRestoreEffects()
398 if (NULL != fDrawState) { in set()
399 int n = fDrawState->fColorStages.count() - fColorEffectCnt; in set()
401 fDrawState->fColorStages.pop_back_n(n); in set()
402 n = fDrawState->fCoverageStages.count() - fCoverageEffectCnt; in set()
404 fDrawState->fCoverageStages.pop_back_n(n); in set()
405 SkDEBUGCODE(--fDrawState->fBlockEffectRemovalCnt;) in set()
407 fDrawState = ds; in set()
416 GrDrawState* fDrawState;
594 AutoViewMatrixRestore() : fDrawState(NULL) {} in AutoViewMatrixRestore()
597 fDrawState = NULL; in AutoViewMatrixRestore()
617 GrDrawState* fDrawState; variable
648 AutoRenderTargetRestore() : fDrawState(NULL), fSavedTarget(NULL) {} in AutoRenderTargetRestore()
650 fDrawState = NULL; in AutoRenderTargetRestore()
657 if (NULL != fDrawState) { in restore()
658 fDrawState->setRenderTarget(fSavedTarget); in restore()
659 fDrawState = NULL; in restore()
672 fDrawState = ds; in set()
676 GrDrawState* fDrawState;