markGridOrTextureUpdated static method

void markGridOrTextureUpdated(
  1. int generation
)

PTY echo applied: pair the next MirrorGrid / texture generation bump.

Implementation

static void markGridOrTextureUpdated(int generation) {
  if (!active || pendingStartUs == null) return;
  if (pendingEchoGeneration != null) return;
  pendingEchoGeneration = generation;
  TerminalScrollTrace.log(
    'latency',
    'echo gen=$generation us=${_nowUs()}',
  );
}