Lines Matching refs:snapshot
33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix);
55 clipState = snapshot.serializeIntersectedClip(allocator,
56 recordedOp.localClip, *(snapshot.transform));
72 if (CC_UNLIKELY(snapshot.projectionPathMask)) {
81 snapshot.projectionPathMask->transform(skInverseTransform, localMask);
87 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
89 transform.loadMultiply(*snapshot.transform, localTransform);
90 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform));
96 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot)
97 : transform(*snapshot.transform)
98 , clipState(snapshot.mutateClipArea().serializeClip(allocator))
113 Snapshot& snapshot, const RecordedOp& recordedOp) {
114 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
116 allocator, snapshot, recordedOp, false, false);
126 Snapshot& snapshot, const RecordedOp& recordedOp) {
127 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
128 return allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp);
132 Snapshot& snapshot, const RecordedOp& recordedOp, StrokeBehavior strokeBehavior,
134 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
139 allocator, snapshot, recordedOp, expandForStroke, expandForPathTexture);
150 Snapshot& snapshot, const ShadowOp* shadowOpPtr) {
151 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
154 return allocator.create_trivial<BakedOpState>(allocator, snapshot, shadowOpPtr);