Home | History | Annotate | Download | only in gpu

Lines Matching refs:drawState

411 void GrDrawState::AutoViewMatrixRestore::set(GrDrawState* drawState,
416 if (NULL == drawState || preconcatMatrix.isIdentity()) {
419 fDrawState = drawState;
421 fViewMatrix = drawState->getViewMatrix();
422 drawState->fCommon.fViewMatrix.preConcat(preconcatMatrix);
428 bool GrDrawState::AutoViewMatrixRestore::setIdentity(GrDrawState* drawState) {
431 if (NULL == drawState) {
435 if (drawState->getViewMatrix().isIdentity()) {
439 fViewMatrix = drawState->getViewMatrix();
440 if (0 == drawState->numTotalStages()) {
441 drawState->fCommon.fViewMatrix.reset();
442 fDrawState = drawState;
452 drawState->fCommon.fViewMatrix.reset();
453 fDrawState = drawState;