Lines Matching full:snapshot
33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix);
53 clipState = snapshot.serializeIntersectedClip(allocator,
54 recordedOp.localClip, *(snapshot.transform));
70 if (CC_UNLIKELY(snapshot.projectionPathMask)) {
79 snapshot.projectionPathMask->transform(skInverseTransform, localMask);
85 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot,
87 transform.loadMultiply(*snapshot.transform, localTransform);
88 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform));
94 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot)
95 : transform(*snapshot.transform)
96 , clipState(snapshot.mutateClipArea().serializeClip(allocator))
111 Snapshot& snapshot, const RecordedOp& recordedOp) {
112 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
114 allocator, snapshot, recordedOp, false);
124 Snapshot& snapshot, const RecordedOp& recordedOp) {
125 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
126 return allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp);
130 Snapshot& snapshot, const RecordedOp& recordedOp, StrokeBehavior strokeBehavior) {
131 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
137 allocator, snapshot, recordedOp, expandForStroke);
148 Snapshot& snapshot, const ShadowOp* shadowOpPtr) {
149 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr;
152 return allocator.create_trivial<BakedOpState>(allocator, snapshot, shadowOpPtr);