Skip to content

VS: GLon12 renderer option, -DOF_USE_GLON12=1 sets the OF_USE_GLON12 MSBuild property - #678

Merged
danoli3 merged 5 commits into
openframeworks:masterfrom
danoli3:vs-glon12
Oct 25, 2026
Merged

danoli3 merged 5 commits into
openframeworks:masterfrom
danoli3:vs-glon12

Conversation

@danoli3

@danoli3 danoli3 commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Needs openframeworks/openFrameworks#8601 (openFrameworksCommon.props copies the GLon12 DLLs next to the exe when OF_USE_GLON12=1).

  • visualStudioProject: -DOF_USE_GLON12[=1] also writes <OF_USE_GLON12>1</OF_USE_GLON12> to the vcxproj Globals PropertyGroup (still added to PreprocessorDefinitions / config.make like any define). Once per project on regenerate
  • GUI: Renderer dropdown shows for vs with GLon12 - OpenGL to Direct3D 12 (Mesa); ANGLE / Dawn only listed for osx / ios / macos, a choice that no longer applies resets to Default; GLon12 - WARP software (no GPU driver) adds OF_USE_GLON12=1,OF_USE_GLON12_WARP=1 (app sets LIBGL_ALWAYS_SOFTWARE=true before the window under OF_USE_GLON12_WARP)
  • scripts/vs/test_cmdline.sh: -DOF_USE_GLON12=1 -> property in the vcxproj
  • OF_USE_GLON12_WARP[=1] also written as an MSBuild property (#8601 props: WARP define)
  • no GLon12 files in `libs/glon12/bin/vs/{x64,ARM64,ARM64EC

Tested on macOS: -pvs -DOF_USE_GLON12=1 -> property + define for Debug and Release, regenerate doesn't duplicate, other defines don't add it.withOF_USE_GLON12=1->no GLon12 files found in ...` error at generate (and the build fails with the same message from the props)

  • commandLine 0.114.0, GUI 0.107.0}

…penFrameworksCommon.props copies the GLon12 DLLs next to the exe); GLon12 renderer option for vs (angle / dawn only for Apple targets); CI check; bump version
@danoli3

danoli3 commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

Screenshot 2026-10-25 at 4 06 18 pm

@danoli3
danoli3 merged commit af96c27 into openframeworks:master Oct 25, 2026
5 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.

1 participant