MCPcopy Create free account
hub / github.com/bea4dev/ShojiWM / resolveSignals

Function resolveSignals

tools/decoration-runtime.ts:2561–2578  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

2559 });
2560 lastNativeCompositionByWindowId.set(windowId, result.serialized);
2561 if (cache) {
2562 syncCompositionShaderUniformSlots(bridge, windowId, cache);
2563 }
2564 return;
2565 }
2566
2567 const dirtyNodeIds = topLevelDirtyNodeIds(result.dirtyNodeIds ?? []);
2568 const previous = lastNativeCompositionByWindowId.get(windowId);
2569 const uniformPatches =
2570 previous === undefined
2571 ? null
2572 : collectShaderUniformPatches(
2573 previous,
2574 result.serialized,
2575 dirtyNodeIds,
2576 result.dirtyNodeIds ?? [],
2577 );
2578 if (uniformPatches && uniformPatches.length > 0) {
2579 bridge.beginCompositionPatches(requestId, windowId);
2580 for (const patch of uniformPatches) {
2581 if (patch.arrayElementWidth !== undefined) {

Callers 3

evaluateWindowEffectsFunction · 0.85
evaluateLayerEffectFunction · 0.85
evaluatePopupEffectsFunction · 0.85

Calls 2

isSignalFunction · 0.90
readFunction · 0.90

Tested by

no test coverage detected