Home | History | Annotate | Download | only in gpu

Lines Matching defs:fDrawState

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