()
| 3011 | snapshot: snapshotForDebug(snapshot), |
| 3012 | }); |
| 3013 | existing.preconfigured = false; |
| 3014 | reanchorAnimationEntries(existing.animationEntries, nowMs); |
| 3015 | dirtyWindowIds.add(snapshot.id); |
| 3016 | } |
| 3017 | existing.cache.setContext(RENDER_COMPOSITION_CONTEXT); |
| 3018 | |
| 3019 | const focusChanged = existing.latestSnapshot.isFocused !== snapshot.isFocused; |
| 3020 | existing.latestSnapshot = snapshot; |
| 3021 | const updated = existing.cache.update(snapshot); |
| 3022 | if (focusChanged) { |
| 3023 | events.emitFocus(existing.cache.window, snapshot.isFocused); |
| 3024 | } |
| 3025 | if (!firstCommittedWindowIds.has(snapshot.id)) { |
| 3026 | firstCommittedWindowIds.add(snapshot.id); |
| 3027 | debugSSD("runtime-emit-first-commit", { |
no test coverage detected