Lines Matching refs:bakedState
564 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( in deferStrokeableOp() local
566 if (!bakedState) return nullptr; // quick rejected in deferStrokeableOp()
569 bakedState->setupOpacity(op.paint); in deferStrokeableOp()
572 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); in deferStrokeableOp()
573 return bakedState; in deferStrokeableOp()
599 BakedOpState* bakedState = tryBakeOpState(op); in deferBitmapOp() local
600 if (!bakedState) return; // quick rejected in deferBitmapOp()
603 bakedState->setupOpacity(op.paint); in deferBitmapOp()
609 if (bakedState->computedState.transform.isSimple() in deferBitmapOp()
610 && bakedState->computedState.transform.positiveScale() in deferBitmapOp()
613 && hasMergeableClip(*bakedState)) { in deferBitmapOp()
616 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::Bitmap, mergeId); in deferBitmapOp()
618 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapOp()
623 BakedOpState* bakedState = tryBakeOpState(op); in deferBitmapMeshOp() local
624 if (!bakedState) return; // quick rejected in deferBitmapMeshOp()
625 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapMeshOp()
629 BakedOpState* bakedState = tryBakeOpState(op); in deferBitmapRectOp() local
630 if (!bakedState) return; // quick rejected in deferBitmapRectOp()
631 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapRectOp()
662 BakedOpState* bakedState = tryBakeUnboundedOpState(op); in deferColorOp() local
663 if (!bakedState) return; // quick rejected in deferColorOp()
664 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Vertices); in deferColorOp()
668 BakedOpState* bakedState = tryBakeUnboundedOpState(op); in deferFunctorOp() local
669 if (!bakedState) return; // quick rejected in deferFunctorOp()
670 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Functor); in deferFunctorOp()
683 BakedOpState* bakedState = tryBakeOpState(op); in deferPatchOp() local
684 if (!bakedState) return; // quick rejected in deferPatchOp()
686 if (bakedState->computedState.transform.isPureTranslate() in deferPatchOp()
688 && hasMergeableClip(*bakedState)) { in deferPatchOp()
693 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::MergedPatch, mergeId); in deferPatchOp()
696 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferPatchOp()
737 BakedOpState* bakedState = tryBakeOpState(op); in deferSimpleRectsOp() local
738 if (!bakedState) return; // quick rejected in deferSimpleRectsOp()
739 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Vertices); in deferSimpleRectsOp()
748 BakedOpState* bakedState = BakedOpState::tryStrokeableOpConstruct( in deferTextOp() local
751 if (!bakedState) return; // quick rejected in deferTextOp()
754 if (bakedState->computedState.transform.isPureTranslate() in deferTextOp()
756 && hasMergeableClip(*bakedState)) { in deferTextOp()
758 currentLayer().deferMergeableOp(mAllocator, bakedState, batchId, mergeId); in deferTextOp()
760 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); in deferTextOp()
764 auto& totalTransform = bakedState->computedState.transform; in deferTextOp()
778 BakedOpState* bakedState = tryBakeUnboundedOpState(op); in deferTextOnPathOp() local
779 if (!bakedState) return; // quick rejected in deferTextOnPathOp()
780 currentLayer().deferUnmergeableOp(mAllocator, bakedState, textBatchId(*(op.paint))); in deferTextOnPathOp()
797 BakedOpState* bakedState = tryBakeOpState(*textureLayerOp); in deferTextureLayerOp() local
799 if (!bakedState) return; // quick rejected in deferTextureLayerOp()
800 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::TextureLayer); in deferTextureLayerOp()
963 BakedOpState* bakedState = BakedOpState::directConstruct(mAllocator, in deferBeginUnclippedLayerOp() local
965 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::CopyToLayer); in deferBeginUnclippedLayerOp()
978 bakedState = BakedOpState::directConstruct(mAllocator, in deferBeginUnclippedLayerOp()
980 currentLayer().activeUnclippedSaveLayers.push_back(bakedState); in deferBeginUnclippedLayerOp()