Skip to content

feat(transform): capture blink for Glint (0.30.0) - #566

Merged
Maxaubert merged 2 commits into
mainfrom
fix/565-glint-capture-blink
Nov 12, 2026
Merged

Maxaubert merged 2 commits into
mainfrom
fix/565-glint-capture-blink

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Closes #565.

What

While the transform is applied, every capture API returns the zoomed picture (GDI and DXGI, proved 2026-11-12 with Glint's zoomprobe). Glint froze the magnified view, and zooming out inside its overlay showed nothing more.

  • New registered message Wind.CaptureBlink.v1 to WindMagnifierWnd (allowed through UIPI). wParam 1: TransformModel::captureBlink(true) writes identity on the session's channel, two DwmFlush, and the tick pauses writes (pauseWrites). wParam 0: writes the last transform back. 400 ms safety timeout restores it if the tool never ends the blink.
  • glint.exe added to kOverlayExes (engine pick freezes while its overlay is up, like the Snipping Tool).
  • Docs: 05-transform-engine "Capture blink", 03-engines overlay list.

Tests

  • build.bat check: ok
  • build.bat test: 682 test cases, 99630 assertions, 0 failed
  • tools/check_copyright.ps1: all 479 files OK
  • Deployed with tools/uiaccess_setup.ps1: Wind 0.30.0 (uiaccess), input transform AVAILABLE. Hands-on test with Glint 0.2.0 is with the owner.

Version: 0.30.0 (minor, new feature). Companion: Maxaubert/Glint#5.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Kg7JN7LbXNRgNRb4hZBEt6

Maxaubert and others added 2 commits November 12, 2026 08:50
…en capture (#565)

While the transform is applied every capture API returns the zoomed picture, so a snipping
tool froze the magnified view. Wind.CaptureBlink.v1 writes identity and pauses writes until
the tool ends the blink (or 400 ms), then restores the last transform. glint.exe joins
kOverlayExes. Version 0.30.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kg7JN7LbXNRgNRb4hZBEt6
… one frame (#565)

Wind now prepares a warm Desktop Duplication device, writes 1x, flushes one composition, grabs
that frame and writes the zoom straight back, then copies the pixels into the section Glint
created. Replaces the start/end protocol that held 1x for Glint's ~60 ms GDI capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kg7JN7LbXNRgNRb4hZBEt6
@Maxaubert
Maxaubert merged commit b5a2e7f into main Nov 12, 2026
1 check passed
@Maxaubert
Maxaubert deleted the fix/565-glint-capture-blink branch November 12, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Capture blink for Glint: show one unzoomed frame for screen capture

1 participant