( events: CompositorEventController, event: PointerMoveEvent, )
| 3024 | } |
| 3025 | if (!firstCommittedWindowIds.has(snapshot.id)) { |
| 3026 | firstCommittedWindowIds.add(snapshot.id); |
| 3027 | debugSSD("runtime-emit-first-commit", { |
| 3028 | windowId: snapshot.id, |
| 3029 | phase: "evaluate-existing", |
| 3030 | wasPreconfigured, |
| 3031 | }); |
| 3032 | events.emitFirstCommit(existing.cache.window); |
| 3033 | dirtyWindowIds.add(snapshot.id); |
| 3034 | } |
| 3035 | |
| 3036 | const wasDirty = dirtyWindowIds.delete(snapshot.id); |
| 3037 | if (wasDirty) { |
| 3038 | const dirtyNodeIds = takeDirtyCompositionNodeIds( |
| 3039 | snapshot.id, |
| 3040 | existing.cache, |
| 3041 | ); |
| 3042 | debugSSD("runtime-evaluate-existing-dirty", { |
| 3043 | windowId: snapshot.id, |
| 3044 | wasPreconfigured, |
| 3045 | dirtyNodeIds, |
| 3046 | }); |
| 3047 | return { |
| 3048 | serialized: existing.cache.reevaluate(dirtyNodeIds).serialized, |
| 3049 | windowEffects: evaluateWindowEffects(effectConfig, snapshot.id, existing), |
| 3050 | }; |
| 3051 | } |
| 3052 | |
| 3053 | debugSSD("runtime-evaluate-existing-clean", { |
| 3054 | windowId: snapshot.id, |
| 3055 | wasPreconfigured, |
no test coverage detected