Skip to content

cube: roundtrip to ensure all globals are processed - #1268

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
mahkoh:jorth/registry-roundtrip
Oct 12, 2026
Merged

charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
mahkoh:jorth/registry-roundtrip

Conversation

@mahkoh

@mahkoh mahkoh commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

wl_display_dispatch() may not process all events.

See f993f97

Copilot AI balanced review requested due to automatic review settings October 11, 2026 21:19
@ci-tester-lunarg

Copy link
Copy Markdown

User mahkoh not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

User mahkoh not on autobuild list. Waiting for curator authorization before starting CI build.

@CLAassistant

CLAassistant commented Oct 11, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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 focused change correctly ensures Wayland globals are processed and matches the existing C implementation.

0 open findings

What changed in this PR

Updates the C++ cube Wayland initialization to mirror the earlier C implementation fix in f993f97.

Changes:

  • Uses a Wayland roundtrip to ensure registry globals are processed before initialization continues.
File Description
cube/​cube.cpp Replaces initial event dispatch with a synchronous registry roundtrip.

🧠 Review effort: Balanced


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

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Tools build queued with queue ID 152990.

@charles-lunarg charles-lunarg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The change is fine, but I cannot accept this PR until the CLA has been signed.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Tools build # 2060 running.

@mahkoh

mahkoh commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor Author

The change is fine, but I cannot accept this PR until the CLA has been signed.

It's not working even though it redirects me back to this PR. I have, however, already signed the CLA in other repos: KhronosGroup/Vulkan-ValidationLayers#11791 (comment)

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Tools build # 2060 passed.

@mahkoh

mahkoh commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Could it be because I've reused the author from the original commit? Maybe the bot can't handle that. I can update the commit if so.

@charles-lunarg

Copy link
Copy Markdown
Contributor

Yes, it is worth trying.

wl_display_dispatch() may not process all events.

See f993f97
@mahkoh
mahkoh force-pushed the jorth/registry-roundtrip branch from 6dfacef to 8a7210c Compare October 12, 2026 00:11
@ci-tester-lunarg

Copy link
Copy Markdown

User mahkoh not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

User mahkoh not on autobuild list. Waiting for curator authorization before starting CI build.

@mahkoh

mahkoh commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Looks like that was it.

@charles-lunarg
charles-lunarg merged commit a967170 into KhronosGroup:main Oct 12, 2026
19 checks passed
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.

5 participants