Skip to content

disable non working vis tests macOS#1772

Merged
CedricGuillemet merged 1 commit into
BabylonJS:masterfrom
CedricGuillemet:vtmac
Jul 8, 2026
Merged

disable non working vis tests macOS#1772
CedricGuillemet merged 1 commit into
BabylonJS:masterfrom
CedricGuillemet:vtmac

Conversation

@CedricGuillemet

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI 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.

Pull request overview

Adjusts Babylon Native’s macOS visual-test harness and Playground validation configuration to avoid known-failing/crashing visual tests when running with Metal on macOS, while also correcting the test window sizing behavior on Retina displays to better match reference-image dimensions.

Changes:

  • Update macOS TestUtils::UpdateSize to set the NSWindow content size directly (in logical points) instead of dividing by backingScaleFactor, preventing half-resolution backbuffers on Retina.
  • Mark a set of known-problematic validation tests as excluded for the Metal graphics API (with reasons) in the Playground config.json.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Plugins/TestUtils/Source/TestUtils_macOS.mm Fixes macOS test window sizing so the produced backbuffer resolution matches expected reference-image dimensions on Retina.
Apps/Playground/Scripts/config.json Excludes specific visual tests from running under Metal (macOS) due to crashes or pixel-diff mismatches, with documented reasons.

@CedricGuillemet CedricGuillemet merged commit 6d74ee3 into BabylonJS:master Jul 8, 2026
29 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.

3 participants