Lines Matching refs:mAllocator
37 : mStdAllocator(mAllocator) in FrameBuilder()
46 auto fbo0 = mAllocator.create<LayerBuilder>(viewportWidth, viewportHeight, Rect(clip)); in FrameBuilder()
56 : mStdAllocator(mAllocator) in FrameBuilder()
66 auto fbo0 = mAllocator.create<LayerBuilder>(1, 1, Rect(1, 1)); in FrameBuilder()
271 mCanvasState.setClippingRoundRect(mAllocator, in deferNodePropsAndOps()
274 mCanvasState.setClippingOutline(mAllocator, &(properties.getOutline())); in deferNodePropsAndOps()
284 LayerOp* drawLayerOp = mAllocator.create_trivial<LayerOp>(node); in deferNodePropsAndOps()
288 currentLayer().deferUnmergeableOp(mAllocator, bakedOpState, OpBatchType::Bitmap); in deferNodePropsAndOps()
295 deferBeginLayerOp(*mAllocator.create_trivial<BeginLayerOp>( in deferNodePropsAndOps()
301 deferEndLayerOp(*mAllocator.create_trivial<EndLayerOp>()); in deferNodePropsAndOps()
457 ShadowOp* shadowOp = mAllocator.create<ShadowOp>(task, casterAlpha); in deferShadow()
459 mAllocator, *mCanvasState.writableSnapshot(), shadowOp); in deferShadow()
461 currentLayer().deferUnmergeableOp(mAllocator, bakedOpState, OpBatchType::Shadow); in deferShadow()
480 mCanvasState.setProjectionPathMask(mAllocator, &transformedMaskPath); in deferProjectedChildren()
565 mAllocator, *mCanvasState.writableSnapshot(), op, strokeBehavior); in deferStrokeableOp()
572 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); in deferStrokeableOp()
616 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::Bitmap, mergeId); in deferBitmapOp()
618 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapOp()
625 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapMeshOp()
631 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferBitmapRectOp()
637 const BitmapRectOp* resolvedOp = mAllocator.create_trivial<BitmapRectOp>(op.unmappedBounds, in deferVectorDrawableOp()
653 const OvalOp* resolvedOp = mAllocator.create_trivial<OvalOp>( in deferCirclePropsOp()
664 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Vertices); in deferColorOp()
670 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Functor); in deferFunctorOp()
693 currentLayer().deferMergeableOp(mAllocator, bakedState, OpBatchType::MergedPatch, mergeId); in deferPatchOp()
696 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Bitmap); in deferPatchOp()
728 const RoundRectOp* resolvedOp = mAllocator.create_trivial<RoundRectOp>( in deferRoundRectPropsOp()
739 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::Vertices); in deferSimpleRectsOp()
749 mAllocator, *mCanvasState.writableSnapshot(), op, in deferTextOp()
758 currentLayer().deferMergeableOp(mAllocator, bakedState, batchId, mergeId); in deferTextOp()
760 currentLayer().deferUnmergeableOp(mAllocator, bakedState, batchId); in deferTextOp()
780 currentLayer().deferUnmergeableOp(mAllocator, bakedState, textBatchId(*(op.paint))); in deferTextOnPathOp()
795 textureLayerOp = mAllocator.create<TextureLayerOp>(op, combinedMatrix); in deferTextureLayerOp()
800 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::TextureLayer); in deferTextureLayerOp()
819 auto newFbo = mAllocator.create<LayerBuilder>(layerWidth, layerHeight, in saveForLayer()
923 LayerOp* drawLayerOp = mAllocator.create_trivial<LayerOp>( in deferEndLayerOp()
933 currentLayer().deferUnmergeableOp(mAllocator, bakedOpState, OpBatchType::Bitmap); in deferEndLayerOp()
957 OffscreenBuffer** layerHandle = mAllocator.create<OffscreenBuffer*>(nullptr); in deferBeginUnclippedLayerOp()
962 auto copyToOp = mAllocator.create_trivial<CopyToLayerOp>(op, layerHandle); in deferBeginUnclippedLayerOp()
963 BakedOpState* bakedState = BakedOpState::directConstruct(mAllocator, in deferBeginUnclippedLayerOp()
965 currentLayer().deferUnmergeableOp(mAllocator, bakedState, OpBatchType::CopyToLayer); in deferBeginUnclippedLayerOp()
977 auto copyFromOp = mAllocator.create_trivial<CopyFromLayerOp>(op, layerHandle); in deferBeginUnclippedLayerOp()
978 bakedState = BakedOpState::directConstruct(mAllocator, in deferBeginUnclippedLayerOp()
990 currentLayer().deferUnmergeableOp(mAllocator, copyFromLayerOp, OpBatchType::CopyFromLayer); in deferEndUnclippedLayerOp()