Skip to content

reset frame index on device loss - #95

Open
Ikreb1 wants to merge 2 commits into
mainfrom
EF-19053-pick-device-loss-handling
Open

Ikreb1 wants to merge 2 commits into
mainfrom
EF-19053-pick-device-loss-handling

Conversation

@Ikreb1

@Ikreb1 Ikreb1 commented Sep 17, 2026

Copy link
Copy Markdown
Member

if device loss happens and a picking readback is bound the frame index doesnt get reset with the main frame causing the readback to be blocked until client catches up to previous latest frame during picking

Copilot AI lite review requested due to automatic review settings September 17, 2026 16:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The reviewed change addresses stale frame tracking after device loss.

Pull request overview

Resets pending picking readback frame tracking during initialization and device resource release, preventing stale frame indices after device loss.

Changes:

  • Initializes m_frameIndex to zero.
  • Clears m_frameIndex when resources are released.
File summaries
File Description
trinity/Eve/EvePicking.cpp Resets picking readback frame state during initialization and resource release.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants