Lines Matching refs:bakedState
554 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( in deferStrokeableOp() local
556 if (!bakedState) return nullptr; // quick rejected in deferStrokeableOp()
559 bakedState->setupOpacity(op.paint); in deferStrokeableOp()
562 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); in deferStrokeableOp()
563 return bakedState; in deferStrokeableOp()
592 BakedOpState* bakedState = tryBakeOpState(op); in deferBitmapOp() local
593 if (!bakedState) return; // quick rejected in deferBitmapOp()
596 bakedState->setupOpacity(op.paint); in deferBitmapOp()
602 if (bakedState->computedState.transform.isSimple() && in deferBitmapOp()
603 bakedState->computedState.transform.positiveScale() && in deferBitmapOp()
605 op.bitmap->colorType() != kAlpha_8_SkColorType && hasMergeableClip(*bakedState)) { in deferBitmapOp()
607 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::Bitmap, mergeId); in deferBitmapOp()
609 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapOp()
614 BakedOpState* bakedState = tryBakeOpState(op); in deferBitmapMeshOp() local
615 if (!bakedState) return; // quick rejected in deferBitmapMeshOp()
616 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapMeshOp()
620 BakedOpState* bakedState = tryBakeOpState(op); in deferBitmapRectOp() local
621 if (!bakedState) return; // quick rejected in deferBitmapRectOp()
622 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapRectOp()
647 BakedOpState* bakedState = tryBakeUnboundedOpState(op); in deferColorOp() local
648 if (!bakedState) return; // quick rejected in deferColorOp()
649 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Vertices); in deferColorOp()
653 BakedOpState* bakedState = tryBakeUnboundedOpState(op); in deferFunctorOp() local
654 if (!bakedState) return; // quick rejected in deferFunctorOp()
655 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Functor); in deferFunctorOp()
668 BakedOpState* bakedState = tryBakeOpState(op); in deferPatchOp() local
669 if (!bakedState) return; // quick rejected in deferPatchOp()
671 if (bakedState->computedState.transform.isPureTranslate() && in deferPatchOp()
673 hasMergeableClip(*bakedState)) { in deferPatchOp()
677 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::MergedPatch, mergeId); in deferPatchOp()
680 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferPatchOp()
720 BakedOpState* bakedState = tryBakeOpState(op); in deferSimpleRectsOp() local
721 if (!bakedState) return; // quick rejected in deferSimpleRectsOp()
722 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Vertices); in deferSimpleRectsOp()
731 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( in deferTextOp() local
734 if (!bakedState) return; // quick rejected in deferTextOp()
737 if (bakedState->computedState.transform.isPureTranslate() && in deferTextOp()
739 hasMergeableClip(*bakedState)) { in deferTextOp()
741 currentLayer().deferMergeableOp(mAllocator, bakedState, batchId, mergeId); in deferTextOp()
743 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); in deferTextOp()
747 auto& totalTransform = bakedState->computedState.transform; in deferTextOp()
761 BakedOpState* bakedState = tryBakeUnboundedOpState(op); in deferTextOnPathOp() local
762 if (!bakedState) return; // quick rejected in deferTextOnPathOp()
763 currentLayer().deferUnmergeableOp(mAllocator, bakedState, textBatchId(*(op.paint))); in deferTextOnPathOp()
781 BakedOpState* bakedState = tryBakeOpState(*textureLayerOp); in deferTextureLayerOp() local
783 if (!bakedState) return; // quick rejected in deferTextureLayerOp()
784 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::TextureLayer); in deferTextureLayerOp()
940 BakedOpState* bakedState = BakedOpState::directConstruct( in deferBeginUnclippedLayerOp() local
942 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::CopyToLayer); in deferBeginUnclippedLayerOp()
955 bakedState = BakedOpState::directConstruct(mAllocator, &(currentLayer().repaintClip), in deferBeginUnclippedLayerOp()
957 currentLayer().activeUnclippedSaveLayers.push_back(bakedState); in deferBeginUnclippedLayerOp()