Lines Matching refs:currentEntry
258 GraphicStateEntry* currentEntry() { return &fEntries[fStackDepth]; } in currentEntry() function in GraphicStackState
429 if (clipStack == currentEntry()->fClipStack) { in updateClip()
435 if (clipStack == currentEntry()->fClipStack) { in updateClip()
441 currentEntry()->fClipStack = clipStack; in updateClip()
442 currentEntry()->fClipRegion = clipRegion; in updateClip()
506 if (matrix == currentEntry()->fMatrix) { in updateMatrix()
510 if (currentEntry()->fMatrix.getType() != SkMatrix::kIdentity_Mask) { in updateMatrix()
516 SkASSERT(currentEntry()->fMatrix.getType() == SkMatrix::kIdentity_Mask); in updateMatrix()
524 currentEntry()->fMatrix = matrix; in updateMatrix()
530 if (state.fShaderIndex != currentEntry()->fShaderIndex) { in updateDrawingState()
532 currentEntry()->fShaderIndex = state.fShaderIndex; in updateDrawingState()
535 if (state.fColor != currentEntry()->fColor || in updateDrawingState()
536 currentEntry()->fShaderIndex >= 0) { in updateDrawingState()
541 currentEntry()->fColor = state.fColor; in updateDrawingState()
542 currentEntry()->fShaderIndex = -1; in updateDrawingState()
546 if (state.fGraphicStateIndex != currentEntry()->fGraphicStateIndex) { in updateDrawingState()
548 currentEntry()->fGraphicStateIndex = state.fGraphicStateIndex; in updateDrawingState()
552 if (state.fTextScaleX != currentEntry()->fTextScaleX) { in updateDrawingState()
557 currentEntry()->fTextScaleX = state.fTextScaleX; in updateDrawingState()
559 if (state.fTextFill != currentEntry()->fTextFill) { in updateDrawingState()
565 currentEntry()->fTextFill = state.fTextFill; in updateDrawingState()